aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arabic/ae_fonts_mono/Makefile4
-rw-r--r--arabic/ae_fonts_mono/files/pkg-message.in (renamed from arabic/ae_fonts_mono/pkg-message)2
2 files changed, 3 insertions, 3 deletions
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
@@ -21,6 +21,7 @@ BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \
USE_XORG= x11
USE_BZIP2= yes
+SUB_FILES= pkg-message
do-build:
@mkfontdir ${WRKSRC}
@@ -31,7 +32,6 @@ do-install:
@${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 <bsd.port.mk>
diff --git a/arabic/ae_fonts_mono/pkg-message b/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
@@ -5,5 +5,5 @@
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"
------------------------------------------------------------------