From owner-svn-ports-all@FreeBSD.ORG Sat Apr 19 18:40:52 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6957DE87; Sat, 19 Apr 2014 18:40:52 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3C4921201; Sat, 19 Apr 2014 18:40:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3JIeqkp085313; Sat, 19 Apr 2014 18:40:52 GMT (envelope-from brix@svn.freebsd.org) Received: (from brix@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3JIeqat085312; Sat, 19 Apr 2014 18:40:52 GMT (envelope-from brix@svn.freebsd.org) Message-Id: <201404191840.s3JIeqat085312@svn.freebsd.org> From: Henrik Brix Andersen Date: Sat, 19 Apr 2014 18:40:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351605 - head/www/p5-Apache-Gallery X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2014 18:40:52 -0000 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 + 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 +.include