aboutsummaryrefslogtreecommitdiffstats
path: root/www/phpmp/Makefile
blob: b4b4d3cea53a8b2926ef6c221ad10aab02f73e7c (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
# Created by: Kevin Lo <kevlo@FreeBSD.org>
# $FreeBSD$

PORTNAME=   phpmp
PORTVERSION=    0.12.0
CATEGORIES= www
MASTER_SITES=   http://www.bayofrum.net/dist/${PORTNAME}/

MAINTAINER= kevlo@FreeBSD.org
COMMENT=    Web interface for music player daemon

LICENSE=    GPLv2

NO_BUILD=   yes
USE_PHP=    pcre sockets

PHPMP?=     ${WWWDIR_REL}
PLIST_SUB+= PHPMP=${PHPMP}

do-install:
    @${MKDIR} ${STAGEDIR}${PREFIX}/${PHPMP}
    @${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${PHPMP}
    @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${PHPMP}
    @${CHMOD} -R 755 ${STAGEDIR}${PREFIX}/${PHPMP}

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>