Bug 190318 - [patch] Add staging support to www/phpmp
Summary: [patch] Add staging support to www/phpmp
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Kevin Lo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-27 18:10 UTC by joe
Modified: 2014-05-28 02:40 UTC (History)
0 users

See Also:


Attachments
file.diff (844 bytes, patch)
2014-05-27 18:10 UTC, joe
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description joe 2014-05-27 18:10:00 UTC
Adds staging support to www/phpmp.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-05-27 18:10:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kevlo

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-05-28 02:39:22 UTC
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>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Kevin Lo freebsd_committer freebsd_triage 2014-05-28 02:39:40 UTC
State Changed
From-To: open->closed

committed, thanks.