diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2013-10-17 06:30:13 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2013-10-17 06:30:13 +0000 |
commit | c257840aa4496e0f0c3234bf56e67667660a6ae7 (patch) | |
tree | 698e0ef2c832b14f1f40ca28132d6d0395e4e7de /net | |
parent | 9f3ea8eba25b75936cb14573d7c26822aa6f9660 (diff) | |
download | ports-c257840aa4496e0f0c3234bf56e67667660a6ae7.tar.gz ports-c257840aa4496e0f0c3234bf56e67667660a6ae7.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/pbnc/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/net/pbnc/Makefile b/net/pbnc/Makefile index c49cdb8696e5..cbae23bb4aa7 100644 --- a/net/pbnc/Makefile +++ b/net/pbnc/Makefile @@ -22,18 +22,19 @@ PORTDOCS= pbnc.readme OPTIONS_DEFINE= DOCS -NO_STAGE= yes .include <bsd.port.options.mk> pre-install: ${REINPLACE_CMD} 's,^#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/pbnc.pl do-install: - ${INSTALL_DATA} ${WRKSRC}/pbnc.cfg ${PREFIX}/etc/pbnc.cfg - ${INSTALL_SCRIPT} ${WRKSRC}/pbnc.pl ${PREFIX}/bin/pbnc.pl + ${INSTALL_DATA} ${WRKSRC}/pbnc.cfg ${STAGEDIR}${PREFIX}/etc/pbnc.cfg + ${INSTALL_SCRIPT} ${WRKSRC}/pbnc.pl ${STAGEDIR}${PREFIX}/bin/pbnc.pl + .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} +post-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> |