aboutsummaryrefslogtreecommitdiff
path: root/www/phpSysInfo
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-09-21 20:04:24 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-09-21 20:04:24 +0000
commit04da62bd968dc5ac981e0309cc70a7f20b3739a8 (patch)
treebf3ce61035b7bbdda3f96c054defc3b018ee2121 /www/phpSysInfo
parent7fec4007bef44e63481c03a582ae6d240a442186 (diff)
downloadports-04da62bd968dc5ac981e0309cc70a7f20b3739a8.tar.gz
ports-04da62bd968dc5ac981e0309cc70a7f20b3739a8.zip
Notes
Diffstat (limited to 'www/phpSysInfo')
-rw-r--r--www/phpSysInfo/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/www/phpSysInfo/Makefile b/www/phpSysInfo/Makefile
index bc010efb5974..e839e0418465 100644
--- a/www/phpSysInfo/Makefile
+++ b/www/phpSysInfo/Makefile
@@ -8,17 +8,16 @@ PORTNAME= phpSysInfo
PORTVERSION= 2.2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= phpsysinfo
-DISTNAME= phpsysinfo-${PORTVERSION}
-WRKSRC= ${WRKDIR}/phpsysinfo-dev
+MASTER_SITE_SUBDIR= ${PORTNAME:L}
+DISTNAME= ${PORTNAME:L}-${PORTVERSION}
MAINTAINER= so14k@so14k.com
COMMENT= A php script that displays info about the host being accessed
-USE_PHP= yes
+USE_PHP= pcre xml
WANT_PHP_WEB= yes
-PREFIX= ${LOCALBASE}
+WRKSRC= ${WRKDIR}/${PORTNAME:L}-dev
WEBOWN?= www
WEBGRP?= www
APACHEDIR= ${PREFIX}/www/data
@@ -26,10 +25,10 @@ INSTALLDIR= ${APACHEDIR}/phpSysInfo
NO_BUILD= yes
PLIST= ${WRKDIR}/plist
-PLIST_SUB+= INSTALLDIR=${INSTALLDIR:S,^${PREFIX}/,,}
+PLIST_SUB= INSTALLDIR=${INSTALLDIR:S,^${PREFIX}/,,}
post-patch:
- rm -f ${PLIST}
+ ${RM} -f ${PLIST}
cd ${WRKSRC};\
${FIND} . ! -type d | ${SORT} | ${SED} "s|^.|%%INSTALLDIR%%|"\
>${PLIST};\