svn commit: r356586 - head/www/pwebstats

Martin Wilke miwi at FreeBSD.org
Thu Jun 5 05:20:25 UTC 2014


Author: miwi
Date: Thu Jun  5 05:20:24 2014
New Revision: 356586
URL: http://svnweb.freebsd.org/changeset/ports/356586
QAT: https://qat.redports.org/buildarchive/r356586/

Log:
  - Stage support
  
  PR:		190372

Modified:
  head/www/pwebstats/Makefile

Modified: head/www/pwebstats/Makefile
==============================================================================
--- head/www/pwebstats/Makefile	Thu Jun  5 05:19:54 2014	(r356585)
+++ head/www/pwebstats/Makefile	Thu Jun  5 05:20:24 2014	(r356586)
@@ -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 at tmu.edu.tw
 COMMENT=	Analyse a web server log
@@ -16,13 +18,11 @@ 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
-	@${CAT} ${PKGMESSAGE}
+	${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
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list