Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 02:42:37 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342930 - head/www/chems
Message-ID:  <201402060242.s162gb3g081903@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Thu Feb  6 02:42:37 2014
New Revision: 342930
URL: http://svnweb.freebsd.org/changeset/ports/342930
QAT: https://qat.redports.org/buildarchive/r342930/

Log:
  - Stage support

Modified:
  head/www/chems/Makefile

Modified: head/www/chems/Makefile
==============================================================================
--- head/www/chems/Makefile	Thu Feb  6 02:42:24 2014	(r342929)
+++ head/www/chems/Makefile	Thu Feb  6 02:42:37 2014	(r342930)
@@ -15,15 +15,11 @@ USE_PHP=	xml iconv gd
 SUB_FILES=	pkg-message
 WWWDIR?=	${PREFIX}/www/${PORTNAME}
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
 do-install:
-	@${MKDIR} ${WWWDIR}
-	${CP} -R ${WRKSRC}/ ${WWWDIR}
-	${TOUCH} ${WWWDIR}/usr/config.php
-	@${CHOWN} ${WWWOWN} ${WWWDIR}/usr/config.php
-	@${CAT} ${PKGMESSAGE}
+	@${MKDIR} ${STAGEDIR}${WWWDIR}
+	${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}
+	${TOUCH} ${STAGEDIR}${WWWDIR}/usr/config.php
+	@${CHOWN} ${WWWOWN} ${STAGEDIR}${WWWDIR}/usr/config.php
 
 create-plist:
 	@${FIND} -s ${WRKSRC}/${file} -not -type d \
@@ -33,4 +29,4 @@ create-plist:
 	@${FIND} -ds ${WRKSRC}/${file} -type d \
 	| ${SED} -e 's,^${WRKSRC},@dirrm %%WWWDIR%%,' >> ${PLIST}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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