diff options
author | leeym <leeym@FreeBSD.org> | 2004-09-22 04:04:24 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2004-09-22 04:04:24 +0800 |
commit | fb34d7f922566d1d9fbda88d843fc3e282603948 (patch) | |
tree | b8d0bd1508e79e6a3f2a67be05e4d27b01cc5679 /www/phpsysinfo | |
parent | 87c2ee662495513c4ea3d4d205e9bb4c35cebf8c (diff) | |
download | freebsd-ports-gnome-fb34d7f922566d1d9fbda88d843fc3e282603948.tar.gz freebsd-ports-gnome-fb34d7f922566d1d9fbda88d843fc3e282603948.tar.zst freebsd-ports-gnome-fb34d7f922566d1d9fbda88d843fc3e282603948.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)
Diffstat (limited to 'www/phpsysinfo')
-rw-r--r-- | www/phpsysinfo/Makefile | 13 |
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};\ |