mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
Add staging support
This commit is contained in:
parent
d7bed78a0e
commit
e5a55e95d7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364286
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user