diff options
Diffstat (limited to 'devel/cvsspam/Makefile')
-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 |