blob: ae5d4e85233813434a5d521ab97afcf7ffba7578 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# New ports collection makefile for: ampache
# Date created: 28 December 2007
# Whom: Philippe Audeoud <jadawin@tuxaco.net>
# $FreeBSD$
PORTNAME= ampache
PORTVERSION= 3.5.1
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
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}
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>
|