Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 02:41:14 +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: r342921 - head/www/pmwiki
Message-ID:  <201402060241.s162fEwT080682@svn.freebsd.org>

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

Log:
  - Stage support

Modified:
  head/www/pmwiki/Makefile

Modified: head/www/pmwiki/Makefile
==============================================================================
--- head/www/pmwiki/Makefile	Thu Feb  6 02:41:10 2014	(r342920)
+++ head/www/pmwiki/Makefile	Thu Feb  6 02:41:14 2014	(r342921)
@@ -22,7 +22,6 @@ PLIST_SUB+=	PMWIKIDIR=${PMWIKIDIR}
 SUB_LIST+=	PMWIKIDIR=${PMWIKIDIR}
 SUB_FILES=	pkg-message
 
-NO_STAGE=	yes
 pre-fetch:
 .if !defined(PMWIKIDIR)
 	@${ECHO_MSG} ""
@@ -40,18 +39,15 @@ post-extract:
 	@${MV} ${WRKSRC}/docs/sample-config.php ${WRKSRC}
 
 do-install:
-	@${MKDIR} -m 755 ${PREFIX}/${PMWIKIDIR}
+	@${MKDIR} -m 755 ${STAGEDIR}${PREFIX}/${PMWIKIDIR}
 	@cd ${WRKSRC} && ${FIND} . ! \( -name docs -prune \) | \
-		${CPIO} ${CPIOFLAGS} ${PREFIX}/${PMWIKIDIR}
-	@${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${PMWIKIDIR}
-.if !defined(NOPORTDOCS)
-	@${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${DOCSDIR}
-	@${INSTALL_MAN} ${WRKSRC}/docs/* ${DOCSDIR}
-.endif
+		${CPIO} ${CPIOFLAGS} ${STAGEDIR}${PREFIX}/${PMWIKIDIR}
+	@${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${PMWIKIDIR}
+	@${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_MAN} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
 
 post-install:
-	@${MKDIR} -m 775 ${PREFIX}/${PMWIKIDIR}/wiki.d
-	@${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${PMWIKIDIR}/wiki.d
-	@${CAT} ${PKGMESSAGE}
+	@${MKDIR} -m 775 ${STAGEDIR}${PREFIX}/${PMWIKIDIR}/wiki.d
+	@${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${PMWIKIDIR}/wiki.d
 
 .include <bsd.port.mk>



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