mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Stage support
This commit is contained in:
parent
d1ee9aafbe
commit
fd17635ca8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345295
@ -32,20 +32,14 @@ INSTDAT= AUTHORS fonts.dir fonts.scale
|
||||
MKFONTSCL_CMD= ${LOCALBASE}/bin/mkfontscale
|
||||
MKFONTDIR_CMD= ${LOCALBASE}/bin/mkfontdir
|
||||
|
||||
NO_STAGE= yes
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${MKFONTSCL_CMD}
|
||||
${REINPLACE_CMD} -e 's|-misc-|-redhat-|' ${WRKSRC}/fonts.scale
|
||||
cd ${WRKSRC} && ${MKFONTDIR_CMD}
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${FONTDIR}
|
||||
${MKDIR} ${STAGEDIR}${FONTDIR}
|
||||
cd ${WRKSRC} && \
|
||||
${INSTALL_DATA} ${INSTDAT} *.ttf ${FONTDIR}
|
||||
|
||||
post-install:
|
||||
@${ECHO_MSG}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
${INSTALL_DATA} ${INSTDAT} *.ttf ${STAGEDIR}${FONTDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user