freebsd-ports/databases/phppgadmin/Makefile
Neil Blakey-Milner 349ee38edd Upgrade phppgadmin port to 3.0
PR:		54089
Submitted by:	Dmitry Morozovsky <marck@rinet.ru>
2003-08-13 12:01:31 +00:00

34 lines
846 B
Makefile

# New ports collection makefile for: phpPgAdmin
# Date created: 19 Jan 2001
# Whom: nbm
#
# $FreeBSD$
#
PORTNAME= phppgadmin
PORTVERSION= 3.0
CATEGORIES= databases www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= phpPgAdmin-${PORTVERSION}
MAINTAINER= nbm@FreeBSD.org
COMMENT= Web Based Postgres Administration
.if defined(WITH_APACHE2)
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
.else
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
.endif
POSTGRESQL_PORT?= databases/postgresql7
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
USE_BZIP2= yes
WRKSRC= ${WRKDIR}/phpPgAdmin
NO_BUILD= YES
do-install:
${MKDIR} ${PREFIX}/www/data.default/phpPgAdmin/
${CP} -R ${WRKSRC}/* ${PREFIX}/www/data.default/phpPgAdmin/
.include <bsd.port.mk>