1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

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>