Add staging support

This commit is contained in:
Pawel Pekala 2014-08-07 15:17:29 +00:00
parent d7bed78a0e
commit e5a55e95d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364286

View File

@ -18,16 +18,13 @@ NO_BUILD= yes
TTF= HAN_NOM_A.ttf HAN_NOM_B.ttf
NO_STAGE= yes
post-patch:
@${MV} ${WRKSRC}/HAN\ NOM\ A.ttf ${WRKSRC}/HAN_NOM_A.ttf
@${MV} ${WRKSRC}/HAN\ NOM\ B.ttf ${WRKSRC}/HAN_NOM_B.ttf
do-install:
@${MKDIR} ${FONTSDIR}
.for i in ${TTF}
${INSTALL_DATA} ${WRKSRC}/${i} ${FONTSDIR}
.endfor
@${MKDIR} ${STAGEDIR}${FONTSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${TTF} ${STAGEDIR}${FONTSDIR})
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/chinese/ttfm/Makefile.ttf"