diff options
author | kevlo <kevlo@FreeBSD.org> | 2014-05-28 09:39:19 +0800 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2014-05-28 09:39:19 +0800 |
commit | c7521773c395aa4bb2e5490149fef459af917201 (patch) | |
tree | 03e275d46cf55fb0c8e0841b74a87f56d5e70daf /www/phpmp | |
parent | b364e7e3b99da136a40ed44cfaa7433c92f2183e (diff) | |
download | freebsd-ports-gnome-c7521773c395aa4bb2e5490149fef459af917201.tar.gz freebsd-ports-gnome-c7521773c395aa4bb2e5490149fef459af917201.tar.zst freebsd-ports-gnome-c7521773c395aa4bb2e5490149fef459af917201.zip |
Stage support.
PR: ports/190318
Submitted by: Joseph Benden <joe at thrallingpenguin dot com>
Diffstat (limited to 'www/phpmp')
-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> |