Date: Thu, 29 May 2014 15:14:47 GMT From: Joseph Benden <joe@thrallingpenguin.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/190372: [patch] Add staging support to www/pwebstats Message-ID: <201405291514.s4TFEldS066203@cgiserv.freebsd.org> Resent-Message-ID: <201405291520.s4TFK07u032863@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 190372 >Category: ports >Synopsis: [patch] Add staging support to www/pwebstats >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: Thu May 29 15:20: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@lucy:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Adds staging support to www/pwebstats. Added additional MASTER_SITES. >How-To-Repeat: >Fix: Patch attached with submission follows: diff --git a/www/pwebstats/Makefile b/www/pwebstats/Makefile index 8930ed1..f4a8281 100644 --- a/www/pwebstats/Makefile +++ b/www/pwebstats/Makefile @@ -5,7 +5,9 @@ PORTNAME= pwebstats PORTVERSION= 1.3.8 PORTREVISION= 3 CATEGORIES= www -MASTER_SITES= ftp://ftp.psg.com/pub/pwebstats/ +MASTER_SITES= http://www.gleeson.net/pub/pwebstats/dist/ \ + ftp://ftp.psg.com/pub/pwebstats/ \ + ftp://ftp.unimelb.edu.au/pub/www/tools/unix/pwebstats/ MAINTAINER= sexbear@tmu.edu.tw COMMENT= Analyse a web server log @@ -16,13 +18,12 @@ USES= perl5 NO_BUILD= yes -NO_STAGE= yes do-install: - ${MKDIR} ${PREFIX}/etc/pwebstats/ - ${CP} -R ${WRKSRC}/* ${PREFIX}/etc/pwebstats/ - ${MV} "${PREFIX}/etc/pwebstats/templates/images/'.gif" ${PREFIX}/etc/pwebstats/templates/images/10.gif - ${MV} "${PREFIX}/etc/pwebstats/templates/images/dates/'.gif" ${PREFIX}/etc/pwebstats/templates/images/dates/10.gif - ${RM} ${PREFIX}/etc/pwebstats/pwebstats.orig + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/pwebstats/ + ${CP} -R ${WRKSRC}/* ${STAGEDIR}${PREFIX}/etc/pwebstats/ + ${MV} "${STAGEDIR}${PREFIX}/etc/pwebstats/templates/images/'.gif" ${STAGEDIR}${PREFIX}/etc/pwebstats/templates/images/10.gif + ${MV} "${STAGEDIR}${PREFIX}/etc/pwebstats/templates/images/dates/'.gif" ${STAGEDIR}${PREFIX}/etc/pwebstats/templates/images/dates/10.gif + ${RM} ${STAGEDIR}${PREFIX}/etc/pwebstats/pwebstats.orig @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405291514.s4TFEldS066203>