Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2014 10:30:09 +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: r343443 - head/net/openslp
Message-ID:  <201402091030.s19AU9eF058358@svn.freebsd.org>

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



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