svn commit: r343443 - head/net/openslp

Martin Wilke miwi at FreeBSD.org
Sun Feb 9 10:30:09 UTC 2014


Author: miwi
Date: Sun Feb  9 10:30:09 2014
New Revision: 343443
URL: http://svnweb.freebsd.org/changeset/ports/343443
QAT: https://qat.redports.org/buildarchive/r343443/

Log:
  - Stage support

Modified:
  head/net/openslp/Makefile

Modified: head/net/openslp/Makefile
==============================================================================
--- head/net/openslp/Makefile	Sun Feb  9 10:30:04 2014	(r343442)
+++ head/net/openslp/Makefile	Sun Feb  9 10:30:09 2014	(r343443)
@@ -41,13 +41,12 @@ post-extract:
 
 post-install:
 .for FILE in slp.conf slp.reg slp.spi
-	${INSTALL_DATA} ${WRKSRC}/etc/${FILE} ${PREFIX}/etc/openslp/${FILE}.default
+	${INSTALL_DATA} ${WRKSRC}/etc/${FILE} ${STAGEDIR}${PREFIX}/etc/openslp/${FILE}.default
 .endfor
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	(cd ${INSTALL_WRKSRC}/doc; \
-		${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/\{} \; ;\
-		${FIND} . -type f -exec ${INSTALL_DATA} \{} ${DOCSDIR}/\{} \;)
-.endif
+		${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/\{} \; ;\
+		${FIND} . -type f -exec ${INSTALL_DATA} \{} ${STAGEDIR}${DOCSDIR}/\{} \;)
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list