diff options
author | Philippe Audeoud <jadawin@FreeBSD.org> | 2013-12-27 09:54:22 +0000 |
---|---|---|
committer | Philippe Audeoud <jadawin@FreeBSD.org> | 2013-12-27 09:54:22 +0000 |
commit | 288c4623f6ba3ad7924848b42fbdea4e0e3e0348 (patch) | |
tree | ccafd7285f2be88deb9e8e692640398b5dfa4000 /audio/ampache | |
parent | aae15c44b2f9b1c8ee732307798c98d49a6192a5 (diff) | |
download | ports-288c4623f6ba3ad7924848b42fbdea4e0e3e0348.tar.gz ports-288c4623f6ba3ad7924848b42fbdea4e0e3e0348.zip |
Notes
Diffstat (limited to 'audio/ampache')
-rw-r--r-- | audio/ampache/Makefile | 22 | ||||
-rw-r--r-- | audio/ampache/pkg-plist | 5 |
2 files changed, 13 insertions, 14 deletions
diff --git a/audio/ampache/Makefile b/audio/ampache/Makefile index 550771a5c0e2..1a1f056fc8ff 100644 --- a/audio/ampache/Makefile +++ b/audio/ampache/Makefile @@ -14,7 +14,6 @@ USE_PHP= mysql pcre session iconv hash gettext mbstring WANT_PHP_WEB= yes NO_BUILD= yes -NO_STAGE= yes USES= gettext PKGDEINSTALL= ${WRKDIR}/pkg-deinstall @@ -25,25 +24,20 @@ SUB_LIST= PORTNAME=${PORTNAME} \ WWWOWN=${WWWOWN} \ WWWGROUP=${WWWGROUP} -MAN1= ampache.1 -MANCOMPRESSED= no - PORTDOCS= CHANGELOG README MIGRATION INSTALL +.include <bsd.port.options.mk> + do-install: - @${MKDIR} ${WWWDIR} - ${INSTALL_MAN} ${WRKSRC}/docs/man/man1/ampache.1 ${MAN1PREFIX}/man/man1 -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + @${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} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/${doc} ${STAGEDIR}${DOCSDIR} .endfor .endif ${RM} -rf ${WRKSRC}/docs/man - (cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${WWWDIR}) - ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} - -post-install: - @${CAT} ${PKGMESSAGE} + (cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR} "! -name *.orig") .include <bsd.port.mk> diff --git a/audio/ampache/pkg-plist b/audio/ampache/pkg-plist index 3f65b1cc48c1..c5da936f159c 100644 --- a/audio/ampache/pkg-plist +++ b/audio/ampache/pkg-plist @@ -1,3 +1,7 @@ +@owner %%WWWOWN%% +@group %%WWWGROUP%% +@owner %%WWWOWN%% +@group %%WWWGROUP%% %%WWWDIR%%/admin/access.php %%WWWDIR%%/admin/catalog.php %%WWWDIR%%/admin/duplicates.php @@ -583,6 +587,7 @@ %%WWWDIR%%/themes/penguin/theme.cfg.php %%WWWDIR%%/update.php %%WWWDIR%%/util.php +man/man1/ampache.1.gz @dirrm %%WWWDIR%%/themes/penguin/templates @dirrm %%WWWDIR%%/themes/penguin/images/ratings @dirrm %%WWWDIR%%/themes/penguin/images/icons |