aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-09 18:30:09 +0800
committermiwi <miwi@FreeBSD.org>2014-02-09 18:30:09 +0800
commit617b8cb823cb9e4db34143e04b5516bd154becc8 (patch)
tree8ecdd73803f81ac142e8ae379871a5b8aeab3490
parent40dfcc3277adfc4c7fe4a760acf0b579146fe8e8 (diff)
downloadfreebsd-ports-gnome-617b8cb823cb9e4db34143e04b5516bd154becc8.tar.gz
freebsd-ports-gnome-617b8cb823cb9e4db34143e04b5516bd154becc8.tar.zst
freebsd-ports-gnome-617b8cb823cb9e4db34143e04b5516bd154becc8.zip
- Stage support
-rw-r--r--net/openslp/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/net/openslp/Makefile b/net/openslp/Makefile
index 9798af54b967..4599f59690ff 100644
--- a/net/openslp/Makefile
+++ b/net/openslp/Makefile
@@ -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>