diff options
author | pav <pav@FreeBSD.org> | 2007-03-24 22:04:36 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2007-03-24 22:04:36 +0800 |
commit | 3e32701b9f418b2a116f23f45273f81622a20834 (patch) | |
tree | 5e4faebb47590f6e64af256b4b2c207bb57fc0d6 /www/phpsysinfo-dev | |
parent | 1b95307a29820e5b97fcc60a906b3ae93ea5a9f0 (diff) | |
download | freebsd-ports-gnome-3e32701b9f418b2a116f23f45273f81622a20834.tar.gz freebsd-ports-gnome-3e32701b9f418b2a116f23f45273f81622a20834.tar.zst freebsd-ports-gnome-3e32701b9f418b2a116f23f45273f81622a20834.zip |
- WWWDIR is now defined in bsd.ports.mk
PR: ports/105529
Submitted by: laszlof
Diffstat (limited to 'www/phpsysinfo-dev')
-rw-r--r-- | www/phpsysinfo-dev/Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/www/phpsysinfo-dev/Makefile b/www/phpsysinfo-dev/Makefile index cdfb91e3c9ea..53e055e2854e 100644 --- a/www/phpsysinfo-dev/Makefile +++ b/www/phpsysinfo-dev/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> |