ports/190155: [patch] Add staging support to www/jawstats
Joseph Benden
joe at thrallingpenguin.com
Fri May 23 22:50:00 UTC 2014
>Number: 190155
>Category: ports
>Synopsis: [patch] Add staging support to www/jawstats
>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 May 23 22:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Joseph Benden
>Release: FreeBSD 11
>Organization:
>Environment:
FreeBSD lucy 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r264887: Thu Apr 24 12:43:46 MST 2014 root at lucy:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Adds staging support to www/jawstats.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff --git a/www/jawstats/Makefile b/www/jawstats/Makefile
index dd3802b..8648228 100644
--- a/www/jawstats/Makefile
+++ b/www/jawstats/Makefile
@@ -15,14 +15,19 @@ NO_WRKSUBDIR= yes
NO_BUILD= yes
USE_PHP= yes
WANT_PHP_WEB= yes
-DEFAULT_PHP_VER=5
+DEFAULT_VERSIONS=php=5
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
-NO_STAGE= yes
do-install:
- ${MKDIR} ${WWWDIR}
- cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${WWWDIR}
+ @${MKDIR} ${STAGEDIR}/${WWWDIR}
+ @cd ${WRKSRC}; ${FIND} . ! -path '*stage*' -print |\
+ ${CPIO} --quiet -pdum -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}/${WWWDIR}
+ @${RM} -f ${STAGEDIR}${WWWDIR}/.PLIST.mktmp \
+ ${STAGEDIR}${WWWDIR}/.build_done.jawstats._usr_local \
+ ${STAGEDIR}${WWWDIR}/.configure_done.jawstats._usr_local \
+ ${STAGEDIR}${WWWDIR}/.extract_done.jawstats._usr_local \
+ ${STAGEDIR}${WWWDIR}/.patch_done.jawstats._usr_local
post-install:
@${CAT} ${PKGMESSAGE}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list