- Stage support

This commit is contained in:
Martin Wilke 2014-02-21 01:55:55 +00:00
parent d1ee9aafbe
commit fd17635ca8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345295

View File

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