svn commit: r343019 - head/finance/weberp

Martin Wilke miwi at FreeBSD.org
Thu Feb 6 10:47:48 UTC 2014


Author: miwi
Date: Thu Feb  6 10:47:47 2014
New Revision: 343019
URL: http://svnweb.freebsd.org/changeset/ports/343019
QAT: https://qat.redports.org/buildarchive/r343019/

Log:
  - Stage support

Modified:
  head/finance/weberp/Makefile

Modified: head/finance/weberp/Makefile
==============================================================================
--- head/finance/weberp/Makefile	Thu Feb  6 10:47:30 2014	(r343018)
+++ head/finance/weberp/Makefile	Thu Feb  6 10:47:47 2014	(r343019)
@@ -20,13 +20,10 @@ WRKSRC=		${WRKDIR}/webERP${PORTVERSION}
 NO_BUILD=	yes
 SUB_FILES=	pkg-message
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
 do-install:
-	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
-	@${CHMOD} -R 755 ${WWWDIR}
+	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
+	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
+	@${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}
 
 post-install:
 	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
@@ -34,6 +31,4 @@ post-install:
 	@${ECHO_CMD} '@exec ${CHMOD} 755 -R ${WWWDIR}' \
 		>> ${TMPPLIST}
 
-	${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-all mailing list