diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2014-05-28 01:39:19 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2014-05-28 01:39:19 +0000 |
commit | b34caa287488759486d4bf976a0ff129b362f834 (patch) | |
tree | 03e275d46cf55fb0c8e0841b74a87f56d5e70daf /www | |
parent | 4b121a08c7188dae260a30bfed8ed6f46913700e (diff) | |
download | freebsd-ports-b34caa287488759486d4bf976a0ff129b362f834.zip |
Stage support.
PR: ports/190318
Submitted by: Joseph Benden <joe at thrallingpenguin dot com>
Diffstat (limited to 'www')
-rw-r--r-- | www/phpmp/Makefile | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/www/phpmp/Makefile b/www/phpmp/Makefile index 92bb34742e62..b4b4d3cea53a 100644 --- a/www/phpmp/Makefile +++ b/www/phpmp/Makefile @@ -7,28 +7,23 @@ CATEGORIES= www MASTER_SITES= http://www.bayofrum.net/dist/${PORTNAME}/ MAINTAINER= kevlo@FreeBSD.org -COMMENT= A web interface for music player daemon +COMMENT= Web interface for music player daemon LICENSE= GPLv2 -NO_BUILD= YES +NO_BUILD= yes USE_PHP= pcre sockets PHPMP?= ${WWWDIR_REL} PLIST_SUB+= PHPMP=${PHPMP} -NO_STAGE= yes do-install: - @${MKDIR} ${PREFIX}/${PHPMP} - @${CP} -R ${WRKSRC}/ ${PREFIX}/${PHPMP} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPMP} - @${CHMOD} -R 755 ${PREFIX}/${PHPMP} + @${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} - @if [ ! -f ${PREFIX}/${PHPMP}/config.php ]; then \ - ${CP} -p ${PREFIX}/${PHPMP}/config.php.sample \ - ${PREFIX}/${PHPMP}/config.php ; \ - fi .include <bsd.port.mk> |