diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-16 16:39:14 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-16 16:39:14 +0000 |
commit | cfb50b5d7148728cd17f03729795149625008cdc (patch) | |
tree | 44670812b97e8fe898e5dfbcce7dd6df26a76495 /hebrew/culmus | |
parent | 86ad838b083b62b44d30f53f96b70a4321e2119d (diff) | |
download | ports-cfb50b5d7148728cd17f03729795149625008cdc.tar.gz ports-cfb50b5d7148728cd17f03729795149625008cdc.zip |
Notes
Diffstat (limited to 'hebrew/culmus')
-rw-r--r-- | hebrew/culmus/Makefile | 15 | ||||
-rw-r--r-- | hebrew/culmus/files/pkg-message.in (renamed from hebrew/culmus/pkg-message) | 6 |
2 files changed, 9 insertions, 12 deletions
diff --git a/hebrew/culmus/Makefile b/hebrew/culmus/Makefile index 800a1f810472..668cb3e7a799 100644 --- a/hebrew/culmus/Makefile +++ b/hebrew/culmus/Makefile @@ -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> diff --git a/hebrew/culmus/pkg-message b/hebrew/culmus/files/pkg-message.in index 934ede59f91f..d01354b03aa3 100644 --- a/hebrew/culmus/pkg-message +++ b/hebrew/culmus/files/pkg-message.in @@ -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 |