2007-02-27 04:45:35 +01:00
|
|
|
# New ports collection makefile for: phpmp
|
|
|
|
# Date created: 2007-02-27
|
|
|
|
# Whom: Kevin Lo <kevlo@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= phpmp
|
2011-04-27 03:50:58 +02:00
|
|
|
PORTVERSION= 0.12.0
|
2007-02-27 04:45:35 +01:00
|
|
|
CATEGORIES= www
|
2011-04-27 03:50:58 +02:00
|
|
|
MASTER_SITES= http://www.bayofrum.net/dist/${PORTNAME}/
|
2007-02-27 04:45:35 +01:00
|
|
|
|
|
|
|
MAINTAINER= kevlo@FreeBSD.org
|
|
|
|
COMMENT= A web interface for music player daemon
|
|
|
|
|
2011-04-27 03:50:58 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2007-02-27 04:45:35 +01:00
|
|
|
NO_BUILD= YES
|
2008-06-10 03:23:30 +02:00
|
|
|
USE_PHP= pcre sockets
|
2007-02-27 04:45:35 +01:00
|
|
|
|
2011-04-27 03:50:58 +02:00
|
|
|
PHPMP?= ${WWWDIR_REL}
|
2007-02-27 04:45:35 +01:00
|
|
|
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}
|
|
|
|
|
2011-04-24 08:07:10 +02:00
|
|
|
post-install:
|
2011-04-27 03:50:58 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2011-04-24 08:07:10 +02:00
|
|
|
@if [ ! -f ${PREFIX}/${PHPMP}/config.php ]; then \
|
|
|
|
${CP} -p ${PREFIX}/${PHPMP}/config.php.sample \
|
|
|
|
${PREFIX}/${PHPMP}/config.php ; \
|
|
|
|
fi
|
|
|
|
|
2007-02-27 04:45:35 +01:00
|
|
|
.include <bsd.port.mk>
|