aboutsummaryrefslogtreecommitdiff
path: root/audio/ampache/Makefile
diff options
context:
space:
mode:
authorPhilippe Audeoud <jadawin@FreeBSD.org>2009-05-07 07:34:48 +0000
committerPhilippe Audeoud <jadawin@FreeBSD.org>2009-05-07 07:34:48 +0000
commitcac0386cb6ecc2059a4c4da1e6cccb0341fd069c (patch)
tree1438413461823aec85fb16047a1d0b99d2f44ada /audio/ampache/Makefile
parent28711ded0616746b9fd9b6610d60def5b152a8e7 (diff)
downloadports-cac0386cb6ecc2059a4c4da1e6cccb0341fd069c.tar.gz
ports-cac0386cb6ecc2059a4c4da1e6cccb0341fd069c.zip
Notes
Diffstat (limited to 'audio/ampache/Makefile')
-rw-r--r--audio/ampache/Makefile19
1 files changed, 16 insertions, 3 deletions
diff --git a/audio/ampache/Makefile b/audio/ampache/Makefile
index 81db2297c96a..2cdfde2a0120 100644
--- a/audio/ampache/Makefile
+++ b/audio/ampache/Makefile
@@ -4,7 +4,7 @@
# $FreeBSD$
PORTNAME= ampache
-PORTVERSION= 3.4.4
+PORTVERSION= 3.5
CATEGORIES= audio www
MASTER_SITES= http://ampache.org/downloads/
@@ -23,9 +23,22 @@ SUB_FILES= pkg-message pkg-deinstall
SUB_LIST= PORTNAME=${PORTNAME} \
WWWDIR=${WWWDIR}
+MAN1= ampache.1
+MANCOMPRESSED= no
+
+PORTDOCS= CHANGELOG README MIGRATION INSTALL
+
do-install:
- ${MKDIR} ${WWWDIR}
- @(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${WWWDIR})
+ @${MKDIR} ${WWWDIR}
+ ${INSTALL_MAN} ${WRKSRC}/docs/man/man1/ampache.1 ${MAN1PREFIX}/man/man1
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for doc in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/docs/${doc} ${DOCSDIR}
+.endfor
+.endif
+ ${RM} -rf ${WRKSRC}/docs/man
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${WWWDIR})
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
post-install: