aboutsummaryrefslogtreecommitdiffstats
path: root/arabic/ae_fonts_mono
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-01-07 12:51:50 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-01-07 12:51:50 +0800
commit288743a154ab36d93038d7802cb9dd7f8c08d7f6 (patch)
tree339c5bc4a7f76454d1f2d612d8d8532957fee7bd /arabic/ae_fonts_mono
parent423015c37a987d4d6a22f87bfa2809536ae01b50 (diff)
downloadfreebsd-ports-gnome-288743a154ab36d93038d7802cb9dd7f8c08d7f6.tar.gz
freebsd-ports-gnome-288743a154ab36d93038d7802cb9dd7f8c08d7f6.tar.zst
freebsd-ports-gnome-288743a154ab36d93038d7802cb9dd7f8c08d7f6.zip
- Use SUB_FILES for pkg-message
PR: ports/142394 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Diffstat (limited to 'arabic/ae_fonts_mono')
-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"
------------------------------------------------------------------