diff options
author | Alex Dupre <ale@FreeBSD.org> | 2004-02-11 22:16:16 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2004-02-11 22:16:16 +0000 |
commit | f57d9a5b81d80f5e46e5ba88999f828ed95dacbf (patch) | |
tree | 8fb66e71ebc15a0d03a7b6010f14d641723e74f5 /www/phpnuke | |
parent | We don't need to use "touch" to make an empty PLIST file. (diff) |
- phpnuke doesn't depend on apache, but on php
- since depends on php, use USE_PHP
- s/sort/${SORT}/
- put USE_MYSQL before bsd.port.pre.mk
Approved by: nork (mentor/implicitly)
Diffstat (limited to 'www/phpnuke')
-rw-r--r-- | www/phpnuke/Makefile | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/www/phpnuke/Makefile b/www/phpnuke/Makefile index 2bd9cfbce76a..6aa0e19d6215 100644 --- a/www/phpnuke/Makefile +++ b/www/phpnuke/Makefile @@ -15,18 +15,11 @@ DISTNAME= PHP-Nuke-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= An automated website package to distribute and manage content -.include <bsd.port.pre.mk> - -.if exists(${LOCALBASE}/include/apache2/apr.h) -APACHE_LIBPHP= ${LOCALBASE}/libexec/apache2 -.else -APACHE_LIBPHP= ${LOCALBASE}/libexec/apache -.endif - .if defined(WITH_PHP3) -RUN_DEPENDS+= ${APACHE_LIBPHP}/libphp3.so:${PORTSDIR}/www/mod_php3 +RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/www/mod_php3 .else -RUN_DEPENDS+= ${APACHE_LIBPHP}/libphp4.so:${PORTSDIR}/www/mod_php4 +USE_PHP= yes +WANT_PHP_WEB= yes .endif USE_MYSQL= yes @@ -56,6 +49,6 @@ do-install: post-install: @cd ${PREFIX}; ${FIND} ${PHPNUKEWWW:S/^${PREFIX}\///} -type f -o -type l | \ ${SED} -e 's,^\.,${PHPNUKEWWW:S|${PREFIX}/||},' >>${TMPPLIST} - @cd ${PREFIX}; ${FIND} ${PHPNUKEWWW:S/^${PREFIX}\///} -type d | sort -r | ${SED} -e 's/^/@dirrm /g' >>${TMPPLIST} + @cd ${PREFIX}; ${FIND} ${PHPNUKEWWW:S/^${PREFIX}\///} -type d | ${SORT} -r | ${SED} -e 's/^/@dirrm /g' >>${TMPPLIST} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |