Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 2014 22:17:53 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367099 - head/audio/ampache
Message-ID:  <201409022217.s82MHrCG096403@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Sep  2 22:17:53 2014
New Revision: 367099
URL: http://svnweb.freebsd.org/changeset/ports/367099
QAT: https://qat.redports.org/buildarchive/r367099/

Log:
  Fix plist (WWWGROUP has never existed)
  Remove duplicate @owner/@group entries
  Remove now useless @exec entry
  Bump portrevision

Modified:
  head/audio/ampache/Makefile
  head/audio/ampache/pkg-plist

Modified: head/audio/ampache/Makefile
==============================================================================
--- head/audio/ampache/Makefile	Tue Sep  2 22:12:35 2014	(r367098)
+++ head/audio/ampache/Makefile	Tue Sep  2 22:17:53 2014	(r367099)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ampache
 PORTVERSION=	3.5.4
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	audio www
 MASTER_SITES=	http://ampache.org/downloads/
 
@@ -22,24 +22,22 @@ SUB_FILES=	pkg-message pkg-deinstall
 SUB_LIST=	PORTNAME=${PORTNAME} \
 		WWWDIR=${WWWDIR} \
 		WWWOWN=${WWWOWN} \
-		WWWGROUP=${WWWGROUP}
+		WWWGRP=${WWWGRP}
+PLIST_SUB=	WWWDIR=${WWWDIR} \
+		WWWOWN=${WWWOWN} \
+		WWWGRP=${WWWGRP}
 
 PORTDOCS=	CHANGELOG README MIGRATION INSTALL
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 do-install:
 	@${MKDIR} ${STAGEDIR}${WWWDIR}
 	${INSTALL_MAN} ${WRKSRC}/docs/man/man1/ampache.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for doc in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/docs/${doc} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
-	${RM} -rf ${WRKSRC}/docs/man
 	(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR} "! -name *.orig")
 
 .include <bsd.port.mk>

Modified: head/audio/ampache/pkg-plist
==============================================================================
--- head/audio/ampache/pkg-plist	Tue Sep  2 22:12:35 2014	(r367098)
+++ head/audio/ampache/pkg-plist	Tue Sep  2 22:17:53 2014	(r367099)
@@ -1,7 +1,5 @@
-@owner %%WWWOWN%% 
-@group %%WWWGROUP%% 
-@owner %%WWWOWN%% 
-@group %%WWWGROUP%% 
+@owner %%WWWOWN%%
+@group %%WWWGRP%%
 %%WWWDIR%%/admin/access.php
 %%WWWDIR%%/admin/catalog.php
 %%WWWDIR%%/admin/duplicates.php
@@ -587,7 +585,7 @@
 %%WWWDIR%%/themes/penguin/theme.cfg.php
 %%WWWDIR%%/update.php
 %%WWWDIR%%/util.php
-man/man1/ampache.1.gz
+@(root,wheel,444) man/man1/ampache.1.gz
 @dirrm %%WWWDIR%%/themes/penguin/templates
 @dirrm %%WWWDIR%%/themes/penguin/images/ratings
 @dirrm %%WWWDIR%%/themes/penguin/images/icons
@@ -664,4 +662,5 @@ man/man1/ampache.1.gz
 @dirrm %%WWWDIR%%/bin
 @dirrm %%WWWDIR%%/admin
 @dirrmtry %%WWWDIR%%
-@exec chown -R %%WWWOWN%%:%%WWWGRP%% %D/%%WWWDIR%%
+@owner root
+@group wheel



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