2001-01-19 15:00:39 +00:00
|
|
|
# New ports collection makefile for: phpPgAdmin
|
|
|
|
# Date created: 19 Jan 2001
|
|
|
|
# Whom: nbm
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= phppgadmin
|
2002-08-04 19:09:51 +00:00
|
|
|
PORTVERSION= 2.4.2
|
2001-01-19 15:00:39 +00:00
|
|
|
CATEGORIES= databases www
|
2002-03-23 10:48:04 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
DISTNAME= phpPgAdmin_${PORTVERSION:S/./-/g}
|
2001-01-19 15:00:39 +00:00
|
|
|
|
|
|
|
MAINTAINER= nbm@FreeBSD.org
|
|
|
|
|
2001-09-11 10:32:48 +00:00
|
|
|
.if !defined(WITH_PHP3)
|
2003-01-09 15:10:06 +00:00
|
|
|
.if defined(WITH_APACHE2)
|
2003-01-09 14:39:14 +00:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
|
|
|
|
.else
|
2001-01-19 15:00:39 +00:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
|
2003-01-09 14:39:14 +00:00
|
|
|
.endif
|
2001-01-19 15:00:39 +00:00
|
|
|
.else
|
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/www/mod_php3
|
|
|
|
.endif
|
2003-01-04 15:53:39 +00:00
|
|
|
POSTGRESQL_PORT?= databases/postgresql7
|
|
|
|
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
2001-01-19 15:00:39 +00:00
|
|
|
|
|
|
|
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>
|