Add staging support

This commit is contained in:
Pawel Pekala 2014-05-03 13:58:38 +00:00
parent 580784dbb9
commit 2e789fafb0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352906

View File

@ -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>