diff options
author | nbm <nbm@FreeBSD.org> | 2003-08-23 03:41:39 +0800 |
---|---|---|
committer | nbm <nbm@FreeBSD.org> | 2003-08-23 03:41:39 +0800 |
commit | f6c80e2c8271d1b6d20106be867c3f1c967e05e4 (patch) | |
tree | 640ae5605649432d70ff8f327a2530fbe5f74b01 /databases | |
parent | ee3825922277a0d196ddf071eb36da965ea174ab (diff) | |
download | freebsd-ports-graphics-f6c80e2c8271d1b6d20106be867c3f1c967e05e4.tar.gz freebsd-ports-graphics-f6c80e2c8271d1b6d20106be867c3f1c967e05e4.tar.zst freebsd-ports-graphics-f6c80e2c8271d1b6d20106be867c3f1c967e05e4.zip |
Fix plist problem identified by bento
Use the same method as phpmyadmin for PHP4 dependency.
Submitted by: kris
Diffstat (limited to 'databases')
-rw-r--r-- | databases/phppgadmin/Makefile | 10 | ||||
-rw-r--r-- | databases/phppgadmin/pkg-plist | 2 |
2 files changed, 5 insertions, 7 deletions
diff --git a/databases/phppgadmin/Makefile b/databases/phppgadmin/Makefile index b1bf91eac85..8c03d32bba8 100644 --- a/databases/phppgadmin/Makefile +++ b/databases/phppgadmin/Makefile @@ -15,11 +15,6 @@ 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} @@ -27,8 +22,11 @@ USE_BZIP2= yes WRKSRC= ${WRKDIR}/phpPgAdmin NO_BUILD= YES +.include <bsd.port.pre.mk> +.include "${.CURDIR}/../../lang/php4/bsd.php.mk" + do-install: ${MKDIR} ${PREFIX}/www/data.default/phpPgAdmin/ ${CP} -R ${WRKSRC}/* ${PREFIX}/www/data.default/phpPgAdmin/ -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/databases/phppgadmin/pkg-plist b/databases/phppgadmin/pkg-plist index 15c556da18c..413906a2ab2 100644 --- a/databases/phppgadmin/pkg-plist +++ b/databases/phppgadmin/pkg-plist @@ -37,7 +37,7 @@ www/data.default/phpPgAdmin/classes/database/Postgres72.php www/data.default/phpPgAdmin/classes/database/Postgres73.php www/data.default/phpPgAdmin/classes/database/Postgres74.php www/data.default/phpPgAdmin/conf/.cvsignore -@unexec if cmp -s %D/www/data.default/phpPgAdmin3/conf/config.inc.php %D/www/data.default/phpPgAdmin3/conf/config.inc.php-dist; then rm -f %D/www/data.default/phpPgAdmin3/conf/config.inc.php; fi +@unexec if cmp -s %D/www/data.default/phpPgAdmin/conf/config.inc.php %D/www/data.default/phpPgAdmin/conf/config.inc.php-dist; then rm -f %D/www/data.default/phpPgAdmin/conf/config.inc.php; fi www/data.default/phpPgAdmin3/conf/config.inc.php-dist @exec [ -f %B/config.inc.php ] || cp %B/%f %B/config.inc.php www/data.default/phpPgAdmin/constraints.php |