ports/71335: [PATCH] www/phpSysInfo: update dependency

Yen-Ming Lee leeym at utopia.leeym.com
Fri Sep 3 12:40:29 UTC 2004


>Number:         71335
>Category:       ports
>Synopsis:       [PATCH] www/phpSysInfo: update dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 03 12:40:28 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
>Environment:
System: FreeBSD utopia.leeym.com 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #167: Tue Jul 27 05:17:58 CST 2004
>Description:

- set "USE_PHP= pcre xml", otherwise phpSysInfo won't work after installed
  - problem reported by: paulnet.bbs at wretch.twbbs.org
- make this port PREFIX clean
- replace "rm" with ${RM}
- cosmetic fixes:
  - replace hardcoded "phpsysinfo" with ${PORTNAME:L}
  - relocatate WRKSRC

Port maintainer (so14k at so14k.com) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- phpSysInfo-2.2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/phpSysInfo/Makefile,v
retrieving revision 1.10
diff -u -u -r1.10 Makefile
--- Makefile	7 Jun 2004 21:17:36 -0000	1.10
+++ Makefile	3 Sep 2004 12:29:58 -0000
@@ -8,17 +8,16 @@
 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 at 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
@@ -29,7 +28,7 @@
 PLIST_SUB+=	INSTALLDIR=${INSTALLDIR:S,^${PREFIX}/,,}
 
 post-patch:
-	rm -f ${PLIST}
+	${RM} -f ${PLIST}
 	cd ${WRKSRC};\
 	${FIND} . ! -type d | ${SORT} | ${SED} "s|^.|%%INSTALLDIR%%|"\
 		>${PLIST};\
--- phpSysInfo-2.2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list