1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
Approved by:	portmgr@
This commit is contained in:
Vanilla I. Shu 2014-06-16 16:39:14 +00:00
parent 86ad838b08
commit cfb50b5d71
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358023
2 changed files with 9 additions and 12 deletions

View File

@ -15,19 +15,16 @@ BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
NO_BUILD= yes
SUB_FILES= pkg-message
NO_STAGE= yes
do-install:
${MKDIR} ${LOCALBASE}/lib/X11/fonts/culmus
${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/fonts/culmus
. for filename in AharoniCLM-Bold AharoniCLM-BoldOblique AharoniCLM-Book AharoniCLM-BookOblique CaladingsCLM DavidCLM-Bold DavidCLM-Medium DavidCLM-MediumItalic DrugulinCLM-Bold DrugulinCLM-BoldItalic ElliniaCLM-Bold ElliniaCLM-BoldItalic ElliniaCLM-Light ElliniaCLM-LightItalic FrankRuehlCLM-Bold FrankRuehlCLM-BoldOblique FrankRuehlCLM-Medium FrankRuehlCLM-MediumOblique MiriamCLM-Bold MiriamCLM-Book MiriamMonoCLM-Bold MiriamMonoCLM-BoldOblique MiriamMonoCLM-Book MiriamMonoCLM-BookOblique NachlieliCLM-Bold NachlieliCLM-BoldOblique NachlieliCLM-Light NachlieliCLM-LightOblique YehudaCLM-Bold YehudaCLM-Light
${INSTALL_DATA} ${WRKSRC}/${filename}.afm ${PREFIX}/lib/X11/fonts/culmus
${INSTALL_DATA} ${WRKSRC}/${filename}.pfa ${PREFIX}/lib/X11/fonts/culmus
${INSTALL_DATA} ${WRKSRC}/${filename}.afm ${STAGEDIR}${PREFIX}/lib/X11/fonts/culmus
${INSTALL_DATA} ${WRKSRC}/${filename}.pfa ${STAGEDIR}${PREFIX}/lib/X11/fonts/culmus
. endfor
@cd ${WRKSRC}; ${PREFIX}/bin/mkfontscale; ${PREFIX}/bin/mkfontdir
${INSTALL_DATA} ${WRKSRC}/fonts.dir ${PREFIX}/lib/X11/fonts/culmus
${INSTALL_DATA} ${WRKSRC}/fonts.scale ${PREFIX}/lib/X11/fonts/culmus
post-install:
@${SED} "s|PREFIX|${PREFIX}|" ${PKGMESSAGE}
${INSTALL_DATA} ${WRKSRC}/fonts.dir ${STAGEDIR}${PREFIX}/lib/X11/fonts/culmus
${INSTALL_DATA} ${WRKSRC}/fonts.scale ${STAGEDIR}${PREFIX}/lib/X11/fonts/culmus
.include <bsd.port.mk>

View File

@ -1,7 +1,7 @@
You'll have to add this port's directory (PREFIX/lib/X11/fonts/culmus
You'll have to add this port's directory (%%PREFIX%%/lib/X11/fonts/culmus
to you're X font path. Here's how:
$ xset fp+ PREFIX/lib/X11/fonts/culmus
$ xset fp+ %%PREFIX%%/lib/X11/fonts/culmus
$ xset fp rehash
or by adding a FontPath line for it in the X-server configuration file
@ -10,4 +10,4 @@ X-server.
If you're using XFS it is also a good idea to add this directory to
your "catalogue" line in the XFS configuration file:
PREFIX/lib/X11/fs/config
%%PREFIX%%/lib/X11/fs/config