diff options
author | pawel <pawel@FreeBSD.org> | 2014-05-03 21:58:38 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-05-03 21:58:38 +0800 |
commit | bfaf7bc7ac756c0c319e6c924bfc899b73a57018 (patch) | |
tree | 9457ac11a994c96530d47f11f6f558df4866b2b6 /irc | |
parent | 2c3fe3d9c2adaa30f200a7387ca20e4874b56b93 (diff) | |
download | freebsd-ports-gnome-bfaf7bc7ac756c0c319e6c924bfc899b73a57018.tar.gz freebsd-ports-gnome-bfaf7bc7ac756c0c319e6c924bfc899b73a57018.tar.zst freebsd-ports-gnome-bfaf7bc7ac756c0c319e6c924bfc899b73a57018.zip |
Add staging support
Diffstat (limited to 'irc')
-rw-r--r-- | irc/keitairc2/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/irc/keitairc2/Makefile b/irc/keitairc2/Makefile index 474b5ca67fba..f61b4b0bdc6c 100644 --- a/irc/keitairc2/Makefile +++ b/irc/keitairc2/Makefile @@ -25,7 +25,6 @@ NO_BUILD= yes SHEBANG_FILES= keitairc -NO_STAGE= yes post-extract: ${FIND} ${WRKSRC} -name .cvsignore | ${XARGS} ${RM} -rf @@ -37,10 +36,8 @@ post-patch: ${WRKSRC}/lib/Keitairc/Config.pm do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/keitairc ${PREFIX}/bin - ${MKDIR} ${DATADIR} -.for dir in doc etc lib - ${CP} -R ${WRKSRC}/${dir} ${DATADIR} -.endfor + ${INSTALL_SCRIPT} ${WRKSRC}/keitairc ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR} + (cd ${WRKSRC} && ${COPYTREE_SHARE} "doc etc lib" ${STAGEDIR}${DATADIR}) .include <bsd.port.mk> |