From owner-svn-ports-head@freebsd.org Fri Jan 8 13:49:00 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 52B79A66EDA; Fri, 8 Jan 2016 13:49:00 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 041631239; Fri, 8 Jan 2016 13:48:59 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u08DmxWk050469; Fri, 8 Jan 2016 13:48:59 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u08DmwgF050467; Fri, 8 Jan 2016 13:48:58 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201601081348.u08DmwgF050467@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 8 Jan 2016 13:48:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r405547 - head/www/photo_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-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2016 13:49:00 -0000 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 # $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 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