diff options
author | ale <ale@FreeBSD.org> | 2004-02-12 06:16:16 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2004-02-12 06:16:16 +0800 |
commit | 744171759092932c7cdab9f9155e661407a05b81 (patch) | |
tree | 93a47e410f8a5b035b4befcdecd10c181618a635 | |
parent | d2914406a757a3812acec2baf13bac87d43ada3a (diff) | |
download | freebsd-ports-gnome-744171759092932c7cdab9f9155e661407a05b81.tar.gz freebsd-ports-gnome-744171759092932c7cdab9f9155e661407a05b81.tar.zst freebsd-ports-gnome-744171759092932c7cdab9f9155e661407a05b81.zip |
- 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)
-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> |