freebsd-ports/www/phpmp/Makefile
Kevin Lo dbbf9d90e2 Update to 0.12.0
PR:	ports/156650
Submitted by:	Chris Rees <utisoft at gmail dot com>
2011-04-27 01:50:58 +00:00

37 lines
798 B
Makefile

# New ports collection makefile for: phpmp
# Date created: 2007-02-27
# Whom: 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= A 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} ${PREFIX}/${PHPMP}
@${CP} -R ${WRKSRC}/ ${PREFIX}/${PHPMP}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPMP}
@${CHMOD} -R 755 ${PREFIX}/${PHPMP}
post-install:
@${CAT} ${PKGMESSAGE}
@if [ ! -f ${PREFIX}/${PHPMP}/config.php ]; then \
${CP} -p ${PREFIX}/${PHPMP}/config.php.sample \
${PREFIX}/${PHPMP}/config.php ; \
fi
.include <bsd.port.mk>