aboutsummaryrefslogtreecommitdiff
path: root/arabic
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-01-07 04:51:50 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-01-07 04:51:50 +0000
commitd797d2844fb1cb752e6e3ca6757c31d151573492 (patch)
tree064e6824adf9309f5ddfe5572d7f2f26786c2d56 /arabic
parent964b9714e3f845d7efcfb4c7b5c98c7236d1d53d (diff)
downloadports-d797d2844fb1cb752e6e3ca6757c31d151573492.tar.gz
ports-d797d2844fb1cb752e6e3ca6757c31d151573492.zip
- Use SUB_FILES for pkg-message
PR: ports/142394 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Notes
Notes: svn path=/head/; revision=247306
Diffstat (limited to 'arabic')
-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"
------------------------------------------------------------------