Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 12:16:39 +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: r343056 - head/www/xoops
Message-ID:  <201402061216.s16CGdL1013737@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Thu Feb  6 12:16:39 2014
New Revision: 343056
URL: http://svnweb.freebsd.org/changeset/ports/343056
QAT: https://qat.redports.org/buildarchive/r343056/

Log:
  - Stage support

Modified:
  head/www/xoops/Makefile

Modified: head/www/xoops/Makefile
==============================================================================
--- head/www/xoops/Makefile	Thu Feb  6 12:16:23 2014	(r343055)
+++ head/www/xoops/Makefile	Thu Feb  6 12:16:39 2014	(r343056)
@@ -14,25 +14,19 @@ USE_PHP=	mysql
 NO_BUILD=	yes
 SUB_FILES=	pkg-message
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
 do-install:
-	${MKDIR} ${WWWDIR}
+	${MKDIR} ${STAGEDIR}${WWWDIR}
 .for i in checksum.md5 checksum.php
-	@cd ${WRKSRC} && ${CP} ${i} ${WWWDIR}/
+	@cd ${WRKSRC} && ${CP} ${i} ${STAGEDIR}${WWWDIR}/
 .endfor
 .for d in docs extras htdocs
-	@cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${WWWDIR}
+	@cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${WWWDIR}
 .endfor
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
-	@${CHMOD} -R 755 ${WWWDIR}
-	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
+	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
+	@${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}
+	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}' \
 		>> ${TMPPLIST}
-	@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' \
+	@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}' \
 		>> ${TMPPLIST}
 
-post-install:
-	@${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?201402061216.s16CGdL1013737>