Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 May 2014 01:39:19 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355586 - head/www/phpmp
Message-ID:  <201405280139.s4S1dJeP047813@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevlo
Date: Wed May 28 01:39:19 2014
New Revision: 355586
URL: http://svnweb.freebsd.org/changeset/ports/355586
QAT: https://qat.redports.org/buildarchive/r355586/

Log:
  Stage support.
  
  PR:	ports/190318
  Submitted by:	Joseph Benden <joe at thrallingpenguin dot com>

Modified:
  head/www/phpmp/Makefile

Modified: head/www/phpmp/Makefile
==============================================================================
--- head/www/phpmp/Makefile	Wed May 28 00:04:04 2014	(r355585)
+++ head/www/phpmp/Makefile	Wed May 28 01:39:19 2014	(r355586)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405280139.s4S1dJeP047813>