svn commit: r328268 - head/www/zend-framework

William Grzybowski wg at FreeBSD.org
Wed Sep 25 11:28:44 UTC 2013


Author: wg
Date: Wed Sep 25 11:28:43 2013
New Revision: 328268
URL: http://svnweb.freebsd.org/changeset/ports/328268

Log:
  www/zend-framework: allow staging
  
  - Allow staging

Modified:
  head/www/zend-framework/Makefile

Modified: head/www/zend-framework/Makefile
==============================================================================
--- head/www/zend-framework/Makefile	Wed Sep 25 11:17:32 2013	(r328267)
+++ head/www/zend-framework/Makefile	Wed Sep 25 11:28:43 2013	(r328268)
@@ -35,7 +35,6 @@ OPTPHP_DESC=	Install optional PHP depend
 
 PORTDOCS=	CHANGELOG.md INSTALL.md README-GIT.md CONTRIBUTING.md README.md
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 # Add all of the required and/or optional PHP extension dependencies,
@@ -80,13 +79,11 @@ USE_PHP+=	pdo_sqlite
 .endif
 
 do-install:
-	cd ${WRKSRC} && ${COPYTREE_SHARE} "library bin resources" ${DATADIR}
+	cd ${WRKSRC} && ${COPYTREE_SHARE} "library bin resources" ${STAGEDIR}${DATADIR}
 
-post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
 .endif
-	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.post.mk>


More information about the svn-ports-all mailing list