Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 10:47:47 +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: r343019 - head/finance/weberp
Message-ID:  <201402061047.s16AlleW075544@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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