summaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-05-03 13:58:38 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-05-03 13:58:38 +0000
commit2e789fafb02a04c44a5920473cc6a1e03ead007f (patch)
tree9457ac11a994c96530d47f11f6f558df4866b2b6 /irc
parent- Fix DISTINFO_FILE (diff)
Add staging support
Notes
Notes: svn path=/head/; revision=352906
Diffstat (limited to 'irc')
-rw-r--r--irc/keitairc2/Makefile9
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>