aboutsummaryrefslogtreecommitdiff
path: root/net/openslp
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-09 10:30:09 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-09 10:30:09 +0000
commit485c3610610e0ec08b4188a0a078e88b28ff5739 (patch)
tree8ecdd73803f81ac142e8ae379871a5b8aeab3490 /net/openslp
parent0c85328eb28e1a914646215c463d43c217461666 (diff)
downloadports-485c3610610e0ec08b4188a0a078e88b28ff5739.tar.gz
ports-485c3610610e0ec08b4188a0a078e88b28ff5739.zip
Notes
Diffstat (limited to 'net/openslp')
-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>