Date: Sat, 19 Apr 2014 18:40:52 +0000 (UTC) From: Henrik Brix Andersen <brix@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351605 - head/www/p5-Apache-Gallery Message-ID: <201404191840.s3JIeqat085312@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brix Date: Sat Apr 19 18:40:51 2014 New Revision: 351605 URL: http://svnweb.freebsd.org/changeset/ports/351605 QAT: https://qat.redports.org/buildarchive/r351605/ Log: - Add stage support - Honor PORT_OPTIONS:MDOCS - Remove BROKEN Modified: head/www/p5-Apache-Gallery/Makefile Modified: head/www/p5-Apache-Gallery/Makefile ============================================================================== --- head/www/p5-Apache-Gallery/Makefile Sat Apr 19 18:39:10 2014 (r351604) +++ head/www/p5-Apache-Gallery/Makefile Sat Apr 19 18:40:51 2014 (r351605) @@ -3,7 +3,7 @@ PORTNAME= Apache-Gallery PORTVERSION= 1.0.2 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 3 CATEGORIES= www perl5 MASTER_SITES= http://apachegallery.dk/download/ \ @@ -15,7 +15,6 @@ COMMENT= Apache::Gallery - mod_perl hand LICENSE= ART10 -BROKEN= not staged BUILD_DEPENDS= p5-URI>=0:${PORTSDIR}/net/p5-URI \ p5-Text-Template>=0:${PORTSDIR}/textproc/p5-Text-Template \ p5-Image-Info>=0:${PORTSDIR}/graphics/p5-Image-Info \ @@ -36,29 +35,29 @@ DOC_FILES= INSTALL LICENSE README TODO U SUB_FILES+= pkg-message -NO_STAGE= yes +.include <bsd.port.pre.mk> + post-patch: @${CP} ${WRKSRC}/templates/bright/navdirectory.tpl ${WRKSRC}/templates/default @${CP} ${WRKSRC}/templates/bright/navdirectory.tpl ${WRKSRC}/templates/new post-install: - @${MKDIR} ${PREFIX}/www/icons/gallery/ + @${MKDIR} ${STAGEDIR}/${PREFIX}/www/icons/gallery/ ${INSTALL_DATA} ${WRKSRC}/htdocs/* \ - ${PREFIX}/www/icons/gallery/ - @${MKDIR} ${DATADIR}/templates/bright - @${MKDIR} ${DATADIR}/templates/default - @${MKDIR} ${DATADIR}/templates/new + ${STAGEDIR}/${PREFIX}/www/icons/gallery/ + @${MKDIR} ${STAGEDIR}/${DATADIR}/templates/bright + @${MKDIR} ${STAGEDIR}/${DATADIR}/templates/default + @${MKDIR} ${STAGEDIR}/${DATADIR}/templates/new ${INSTALL_DATA} ${WRKSRC}/templates/bright/* \ - ${DATADIR}/templates/bright/ + ${STAGEDIR}/${DATADIR}/templates/bright/ ${INSTALL_DATA} ${WRKSRC}/templates/default/* \ - ${DATADIR}/templates/default/ + ${STAGEDIR}/${DATADIR}/templates/default/ ${INSTALL_DATA} ${WRKSRC}/templates/new/* \ - ${DATADIR}/templates/new/ - -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR}/ + ${STAGEDIR}/${DATADIR}/templates/new/ +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}/${DOCSDIR}/ .for file in ${DOC_FILES} - @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}/ + @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}/${DOCSDIR}/ .endfor .endif @@ -66,4 +65,4 @@ post-install: @${CAT} ${PKGMESSAGE} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404191840.s3JIeqat085312>