Stagify, switch to use @fontsdir.

This commit is contained in:
Vanilla I. Shu 2014-07-04 03:50:53 +00:00
parent 66cae063e7
commit ad9b3afb62
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360537
2 changed files with 3 additions and 12 deletions

View File

@ -19,7 +19,6 @@ BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \
SUB_FILES= pkg-message
USE_XORG= x11
NO_STAGE= yes
do-extract:
@${MKDIR} ${WRKSRC}
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-iso-8859-1.bdf.gz ${WRKSRC}
@ -28,15 +27,9 @@ do-extract:
do-build:
${PREFIX}/bin/bdftopcf -t ${WRKSRC}/suxus-iso-8859-1.bdf | ${GZIP_CMD} > ${WRKSRC}/suxus-iso-8859-1.pcf.gz
${PREFIX}/bin/mkfontdir ${WRKSRC}
do-install:
@${MKDIR} ${PREFIX}/lib/X11/fonts/local/suxus
@${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${PREFIX}/lib/X11/fonts/local/suxus
@${INSTALL_DATA} ${WRKSRC}/fonts.dir ${PREFIX}/lib/X11/fonts/local/suxus
@${INSTALL_DATA} ${WRKSRC}/fonts.alias ${PREFIX}/lib/X11/fonts/local/suxus
post-install:
@${CAT} ${PKGMESSAGE}
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/fonts/local/suxus
@${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${STAGEDIR}${PREFIX}/lib/X11/fonts/local/suxus
.include <bsd.port.mk>

View File

@ -1,4 +1,2 @@
lib/X11/fonts/local/suxus/fonts.alias
lib/X11/fonts/local/suxus/fonts.dir
lib/X11/fonts/local/suxus/suxus-iso-8859-1.pcf.gz
@dirrm lib/X11/fonts/local/suxus
@fontsdir lib/X11/fonts/local/suxus