diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2004-09-21 20:04:24 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2004-09-21 20:04:24 +0000 |
commit | 04da62bd968dc5ac981e0309cc70a7f20b3739a8 (patch) | |
tree | bf3ce61035b7bbdda3f96c054defc3b018ee2121 /www/phpsysinfo-dev | |
parent | 7fec4007bef44e63481c03a582ae6d240a442186 (diff) | |
download | ports-04da62bd968dc5ac981e0309cc70a7f20b3739a8.tar.gz ports-04da62bd968dc5ac981e0309cc70a7f20b3739a8.zip |
- set "USE_PHP= pcre xml", otherwise phpSysInfo won't work after installed
- problem reported by: paulnet.bbs@wretch.twbbs.org
- make this port PREFIX clean
- replace "rm" with ${RM}
- cosmetic fixes:
- replace hardcoded "phpsysinfo" with ${PORTNAME:L}
- relocatate WRKSRC
PR: 71335
Submitted by: leeym
Approved by: portmgr (marcus)
Notes
Notes:
svn path=/head/; revision=118325
Diffstat (limited to 'www/phpsysinfo-dev')
-rw-r--r-- | www/phpsysinfo-dev/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/www/phpsysinfo-dev/Makefile b/www/phpsysinfo-dev/Makefile index bc010efb5974..e839e0418465 100644 --- a/www/phpsysinfo-dev/Makefile +++ b/www/phpsysinfo-dev/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};\ |