diff --git a/arabic/ae_fonts_mono/Makefile b/arabic/ae_fonts_mono/Makefile index 8015ff362b2c..fc997ffd19bf 100644 --- a/arabic/ae_fonts_mono/Makefile +++ b/arabic/ae_fonts_mono/Makefile @@ -1,37 +1,37 @@ # New ports collection makefile for: ae_fonts_mono # Date created: August 22, 2003 # Whom: Samy Al Bahra # # $FreeBSD$ # PORTNAME= ae_fonts_mono PORTVERSION= 1.0 PORTREVISION= 2 CATEGORIES= arabic MASTER_SITES= SF/arabeyes/Fonts/ae_fonts DISTNAME= ae_fonts_mono MAINTAINER= ports@FreeBSD.org COMMENT= A collection of PCF fonts that include Arabic glyphs BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \ mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \ mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale USE_XORG= x11 USE_BZIP2= yes +SUB_FILES= pkg-message do-build: @mkfontdir ${WRKSRC} do-install: @${MKDIR} ${PREFIX}/lib/X11/fonts/ae_fonts_mono @${INSTALL_DATA} ${WRKSRC}/*.pcf ${PREFIX}/lib/X11/fonts/ae_fonts_mono @${INSTALL_DATA} ${WRKSRC}/fonts.dir ${PREFIX}/lib/X11/fonts/ae_fonts_mono post-install: - @${CAT} ${PKGMESSAGE} | ${SED} "s|LOCALBASE|${LOCALBASE}|g" \ - | ${SED} "s|PORTNAME|${PORTNAME}|g" + @${CAT} ${PKGMESSAGE} .include diff --git a/arabic/ae_fonts_mono/pkg-message b/arabic/ae_fonts_mono/files/pkg-message.in similarity index 88% rename from arabic/ae_fonts_mono/pkg-message rename to arabic/ae_fonts_mono/files/pkg-message.in index 28811cce4f81..f9978969ad78 100644 --- a/arabic/ae_fonts_mono/pkg-message +++ b/arabic/ae_fonts_mono/files/pkg-message.in @@ -1,9 +1,9 @@ ------------------------------------------------------------------ To get XFree86 to recognize your new fonts you will need to add a line to your XF86Config file. Please consult XF86Config(5) for more information on where to find the configuration file. Add the following line to the "Files" section and restart XFree86. - FontPath "LOCALBASE/lib/X11/fonts/PORTNAME" + FontPath "%%PREFIX%%/lib/X11/fonts/ae_fonts_mono" ------------------------------------------------------------------