diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2013-10-24 15:11:40 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2013-10-24 15:11:40 +0000 |
commit | 3484c276180e9001d2fec00011e23d923b72839d (patch) | |
tree | 507f5b6d7d05ba03a114f9b2031886e90ed6cf4b /devel/cvsspam | |
parent | 12a350e5480603e02b9d3281c6b90d9967b1cc9a (diff) | |
download | ports-3484c276180e9001d2fec00011e23d923b72839d.tar.gz ports-3484c276180e9001d2fec00011e23d923b72839d.zip |
Notes
Diffstat (limited to 'devel/cvsspam')
-rw-r--r-- | devel/cvsspam/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/devel/cvsspam/Makefile b/devel/cvsspam/Makefile index fe1ce3867f7c..87be3ec83f58 100644 --- a/devel/cvsspam/Makefile +++ b/devel/cvsspam/Makefile @@ -19,7 +19,6 @@ PORTDOCS= COPYING CREDITS TODO cvsspam-doc.html cvsspam-doc.pdf OPTIONS_DEFINE= DOCS -NO_STAGE= yes .include <bsd.port.options.mk> post-patch: @@ -31,19 +30,22 @@ post-patch: ${WRKSRC}/collect_diffs.rb do-install: - ${MKDIR} ${PREFIX}/libexec/${PORTNAME} + ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} .for f in collect_diffs.rb cvsspam.rb record_lastdir.rb - ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/libexec/${PORTNAME} + ${INSTALL_SCRIPT} ${WRKSRC}/${f} \ + ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} .endfor - ${INSTALL_DATA} ${WRKSRC}/cvsspam.conf ${PREFIX}/etc/cvsspam.conf.default -.if !exists(${PREFIX}/etc/cvsspam.conf) - ${INSTALL_DATA} ${WRKSRC}/cvsspam.conf ${PREFIX}/etc/cvsspam.conf + ${INSTALL_DATA} ${WRKSRC}/cvsspam.conf \ + ${STAGEDIR}${PREFIX}/etc/cvsspam.conf.default +.if !exists(${STAGEDIR}${PREFIX}/etc/cvsspam.conf) + ${INSTALL_DATA} ${WRKSRC}/cvsspam.conf \ + ${STAGEDIR}${PREFIX}/etc/cvsspam.conf .endif .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .endif |