diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2007-03-24 14:04:36 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2007-03-24 14:04:36 +0000 |
commit | 47649f7033a40f88bdbb902b00bb10fde1c82e2a (patch) | |
tree | c9128f0ea50cfa1c45671f3e7a79326f4cf05185 /www/phpsysinfo | |
parent | 9088b943cdeebf10b988b4cdfd82808eb70aa550 (diff) | |
download | ports-47649f7033a40f88bdbb902b00bb10fde1c82e2a.tar.gz ports-47649f7033a40f88bdbb902b00bb10fde1c82e2a.zip |
Notes
Diffstat (limited to 'www/phpsysinfo')
-rw-r--r-- | www/phpsysinfo/Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/www/phpsysinfo/Makefile b/www/phpsysinfo/Makefile index cdfb91e3c9ea..53e055e2854e 100644 --- a/www/phpsysinfo/Makefile +++ b/www/phpsysinfo/Makefile @@ -19,26 +19,22 @@ USE_PHP= pcre xml WANT_PHP_WEB= yes WRKSRC= ${WRKDIR}/${PORTNAME:L} -WWWOWN?= www -WWWGRP?= www -WWWDIR?= www/${PORTNAME} -DATADIR= ${PREFIX}/${WWWDIR} NO_BUILD= yes PLIST= ${WRKDIR}/plist post-patch: ${RM} -f ${PLIST} cd ${WRKSRC};\ - ${FIND} . ! -type d | ${SORT} | ${SED} "s|^\.|${WWWDIR}|"\ + ${FIND} . ! -type d | ${SORT} | ${SED} "s|^\.|${WWWDIR_REL}|"\ >${PLIST};\ - ${FIND} . -type d | ${SORT} -r | ${SED} "s|^\.|@dirrm ${WWWDIR}|"\ + ${FIND} . -type d | ${SORT} -r | ${SED} "s|^\.|@dirrm ${WWWDIR_REL}|"\ >>${PLIST} do-install: - ${MKDIR} ${DATADIR} + ${MKDIR} ${WWWDIR} cd ${WRKSRC}; ${FIND} . \ - | ${CPIO} -pdm -R ${WWWOWN}:${WWWGRP} ${DATADIR} - ${CHMOD} -R ${BINMODE} ${DATADIR} - ${FIND} ${DATADIR} ! -type d | ${XARGS} ${CHMOD} ${NOBINMODE} + | ${CPIO} -pdm -R ${WWWOWN}:${WWWGRP} ${WWWDIR} + ${CHMOD} -R ${BINMODE} ${WWWDIR} + ${FIND} ${WWWDIR} ! -type d | ${XARGS} ${CHMOD} ${NOBINMODE} .include <bsd.port.mk> |