1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- 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)
This commit is contained in:
Yen-Ming Lee 2004-09-21 20:04:24 +00:00
parent 7fec4007be
commit 04da62bd96
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118325
3 changed files with 18 additions and 21 deletions

View File

@ -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};\

View File

@ -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};\

View File

@ -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};\