Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jun 2014 05:20:24 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356586 - head/www/pwebstats
Message-ID:  <201406050520.s555KOD4040312@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406050520.s555KOD4040312>