Date: Fri, 17 Mar 2006 03:41:17 -0000 From: Shaun Amott <shaun@inerd.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/94584: www/phpSysInfo - take maintainership; minor modifications Message-ID: <1142566877.80128@charon.picobyte.net> Resent-Message-ID: <200603170350.k2H3oCUL030374@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 94584 >Category: ports >Synopsis: www/phpSysInfo - take maintainership; minor modifications >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 Mar 17 03:50:12 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Shaun Amott >Release: FreeBSD 6.1-PRERELEASE i386 >Organization: >Environment: >Description: - Take maintainership of www/phpSysInfo - Minor stylistic modifications; allow user to override install location - portlint(1) tweak >How-To-Repeat: >Fix: --- phpSysInfo.diff begins here --- diff -urN phpSysInfo.orig/Makefile phpSysInfo/Makefile --- phpSysInfo.orig/Makefile Thu Jan 26 21:22:48 2006 +++ phpSysInfo/Makefile Fri Mar 17 03:32:21 2006 @@ -11,7 +11,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME:L} DISTNAME= ${PORTNAME:L}-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= shaun@inerd.com COMMENT= A php script that displays info about the host being accessed USE_PHP= pcre xml @@ -20,26 +20,24 @@ WRKSRC= ${WRKDIR}/${PORTNAME:L} WWWOWN?= www WWWGRP?= www -APACHEDIR= ${PREFIX}/www/data -INSTALLDIR= ${APACHEDIR}/phpSysInfo +WWWDIR?= www/data/${PORTNAME} +DATADIR= ${PREFIX}/${WWWDIR} NO_BUILD= yes PLIST= ${WRKDIR}/plist -PLIST_SUB= INSTALLDIR=${INSTALLDIR:S,^${PREFIX}/,,} - post-patch: ${RM} -f ${PLIST} cd ${WRKSRC};\ - ${FIND} . ! -type d | ${SORT} | ${SED} "s|^.|%%INSTALLDIR%%|"\ + ${FIND} . ! -type d | ${SORT} | ${SED} "s|^\.|${WWWDIR}|"\ >${PLIST};\ - ${FIND} . -type d | ${SORT} -r | ${SED} "s|^.|@dirrm %%INSTALLDIR%%|"\ + ${FIND} . -type d | ${SORT} -r | ${SED} "s|^\.|@dirrm ${WWWDIR}|"\ >>${PLIST} do-install: - ${MKDIR} ${INSTALLDIR} + ${MKDIR} ${DATADIR} cd ${WRKSRC}; ${FIND} . \ - | ${CPIO} -pdm -R ${WWWOWN}:${WWWGRP} ${INSTALLDIR} - ${CHMOD} -R ${BINMODE} ${INSTALLDIR} - ${FIND} ${INSTALLDIR} ! -type d | ${XARGS} ${CHMOD} ${NOBINMODE} + | ${CPIO} -pdm -R ${WWWOWN}:${WWWGRP} ${DATADIR} + ${CHMOD} -R ${BINMODE} ${DATADIR} + ${FIND} ${DATADIR} ! -type d | ${XARGS} ${CHMOD} ${NOBINMODE} .include <bsd.port.mk> diff -urN phpSysInfo.orig/distinfo phpSysInfo/distinfo --- phpSysInfo.orig/distinfo Wed Jan 18 23:54:48 2006 +++ phpSysInfo/distinfo Fri Mar 17 03:21:20 2006 @@ -1,4 +1,3 @@ MD5 (phpsysinfo-2.5.1.tar.gz) = 3b42b9df6685c81241d807a8ec8b1254 SHA256 (phpsysinfo-2.5.1.tar.gz) = 23b2d92c401fd10c0618639f96ce4aae90aa3ac74568ef0d535b20d0cec74f57 SIZE (phpsysinfo-2.5.1.tar.gz) = 196226 - --- phpSysInfo.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1142566877.80128>