Date: Fri, 8 Jan 2016 13:48:58 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r405547 - head/www/photo_gallery Message-ID: <201601081348.u08DmwgF050467@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Fri Jan 8 13:48:58 2016 New Revision: 405547 URL: https://svnweb.freebsd.org/changeset/ports/405547 Log: - Fix extra whitespace - Switch to COPYTREE_SHARE - Add NO_ARCH - Modernize plist PR: 205142 Submitted by: amdmi3 Approved by: maintainer timeout (bob@bomar.us, 1 month) Modified: head/www/photo_gallery/Makefile head/www/photo_gallery/pkg-plist Modified: head/www/photo_gallery/Makefile ============================================================================== --- head/www/photo_gallery/Makefile Fri Jan 8 12:25:16 2016 (r405546) +++ head/www/photo_gallery/Makefile Fri Jan 8 13:48:58 2016 (r405547) @@ -1,15 +1,15 @@ # Created by: Bob Bomar <bob@bomar.us> # $FreeBSD$ -PORTNAME= photo_gallery -PORTVERSION= 1.5 +PORTNAME= photo_gallery +PORTVERSION= 1.5 PORTREVISION= 7 -CATEGORIES= www -MASTER_SITES= http://www.capybara.org/~dfraser/photo_gallery/ -DISTNAME= ${PORTNAME}_${PORTVERSION} +CATEGORIES= www +MASTER_SITES= http://www.capybara.org/~dfraser/photo_gallery/ +DISTNAME= ${PORTNAME}_${PORTVERSION} -MAINTAINER= bob@bomar.us -COMMENT= Simple web based photo gallery +MAINTAINER= bob@bomar.us +COMMENT= Simple web based photo gallery RUN_DEPENDS= anytopnm:${PORTSDIR}/graphics/netpbm\ p5-Image-Info>=0:${PORTSDIR}/graphics/p5-Image-Info\ @@ -20,10 +20,11 @@ USES= perl5 shebangfix tar SHEBANG_FILES= index.cgi perl_OLD_CMD= /usr/pkg/bin/perl NO_BUILD= yes +NO_ARCH= yes +PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} do-install: - ${MKDIR} ${STAGEDIR}${WWWDIR}/ - @cd ${WRKSRC}; ${FIND} . \ - | ${CPIO} -pdm -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} + ${MKDIR} ${STAGEDIR}${WWWDIR}/ + cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} .include <bsd.port.mk> Modified: head/www/photo_gallery/pkg-plist ============================================================================== --- head/www/photo_gallery/pkg-plist Fri Jan 8 12:25:16 2016 (r405546) +++ head/www/photo_gallery/pkg-plist Fri Jan 8 13:48:58 2016 (r405547) @@ -1,5 +1,9 @@ -%%WWWDIR%%/index.cgi +@owner %%WWWOWN%% +@group %%WWWOWN%% +@(,,755) %%WWWDIR%%/index.cgi %%WWWDIR%%/readme.html %%WWWDIR%%/.header.html %%WWWDIR%%/.footer.html -@dirrm %%WWWDIR%% +@dir %%WWWDIR%% +@owner +@group
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601081348.u08DmwgF050467>