1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/audio/ampache/Makefile
Philippe Audeoud 94932f9ebb - Add WWWOWN and WWWGROUP in SUB_LIST
Notify by:	bapt@
2011-04-14 07:19:07 +00:00

51 lines
1.2 KiB
Makefile

# New ports collection makefile for: ampache
# Date created: 28 December 2007
# Whom: Philippe Audeoud <jadawin@tuxaco.net>
# $FreeBSD$
PORTNAME= ampache
PORTVERSION= 3.5.4
PORTREVISION= 2
CATEGORIES= audio www
MASTER_SITES= http://ampache.org/downloads/
MAINTAINER= jadawin@FreeBSD.org
COMMENT= A Web-based Audio file manager
USE_PHP= mysql pcre session iconv hash gettext mbstring
WANT_PHP_WEB= yes
NO_BUILD= yes
USE_GETTEXT= yes
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message pkg-deinstall
SUB_LIST= PORTNAME=${PORTNAME} \
WWWDIR=${WWWDIR} \
WWWOWN=${WWWOWN} \
WWWGROUP=${WWWGROUP}
MAN1= ampache.1
MANCOMPRESSED= no
PORTDOCS= CHANGELOG README MIGRATION INSTALL
do-install:
@${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:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>