summaryrefslogtreecommitdiff
path: root/fonts/intlfonts
diff options
context:
space:
mode:
authorwiz <wiz>2001-01-29 11:34:21 +0000
committerwiz <wiz>2001-01-29 11:34:21 +0000
commit6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba (patch)
tree86f14acd24842161759a420487862022044c2b4b /fonts/intlfonts
parente79bc93dd230b17193ddcfca298d9cf5d3cf7205 (diff)
downloadpkgsrc-6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba.tar.gz
Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced, not @VARIABLE@, nor @@VARIABLE@@). By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX, X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST. Clean up some packages while I'm there; add RCS tags to most MESSAGEs. Remove some uninteresting MESSAGEs.
Diffstat (limited to 'fonts/intlfonts')
-rw-r--r--fonts/intlfonts/Makefile6
-rw-r--r--fonts/intlfonts/pkg/MESSAGE19
2 files changed, 13 insertions, 12 deletions
diff --git a/fonts/intlfonts/Makefile b/fonts/intlfonts/Makefile
index 097f5deb03d..cc4d23f4ac7 100644
--- a/fonts/intlfonts/Makefile
+++ b/fonts/intlfonts/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2000/06/28 21:50:24 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2001/01/29 11:34:27 wiz Exp $
DISTNAME= intlfonts-1.2
CATEGORIES= fonts x11
@@ -33,7 +33,6 @@ MISC_FILES= README.split
DIST_SUBDIR= ${PKGNAME}
EXTRACT_ONLY= ${FONT_SETS:S/$/${EXTRACT_SUFX}/}
-MESSAGE_FILE= ${WRKSRC}/MESSAGE
USE_X11BASE= yes
GNU_CONFIGURE= yes
@@ -56,7 +55,4 @@ post-extract:
${CP} ${_DISTDIR}/${FILE} ${WRKSRC}
.endfor
-do-build:
- ${SED} -e 's#@PREFIX@#${PREFIX}#g' <${PKGDIR}/MESSAGE >${MESSAGE_FILE}
-
.include "../../mk/bsd.pkg.mk"
diff --git a/fonts/intlfonts/pkg/MESSAGE b/fonts/intlfonts/pkg/MESSAGE
index 697ab57c864..3f1d8dbd1d8 100644
--- a/fonts/intlfonts/pkg/MESSAGE
+++ b/fonts/intlfonts/pkg/MESSAGE
@@ -1,7 +1,10 @@
+======================================================================
+$NetBSD: MESSAGE,v 1.2 2001/01/29 11:34:27 wiz Exp $
+
You can tell one existing X session on the installed host to use the
new "intlfonts" fonts with:
- $ xset +fp @PREFIX@/lib/X11/fonts/intlfonts
+ $ xset +fp ${PREFIX}/lib/X11/fonts/intlfonts
To make the effect permanent for future X sessions, you will have to
edit certain files in yout X installation.
@@ -19,9 +22,11 @@ intlfonts install directory to the xfs/config file in the comma
separated list of directories given for the "catalogue" setting.
For example:
- catalogue = @PREFIX@/lib/X11/fonts/misc/,
- @PREFIX@/lib/X11/fonts/Speedo/,
- @PREFIX@/lib/X11/fonts/Type1/,
- @PREFIX@/lib/X11/fonts/100dpi/,
- @PREFIX@/lib/X11/fonts/75dpi/,
- @PREFIX@/lib/X11/fonts/intlfonts/
+ catalogue = ${PREFIX}/lib/X11/fonts/misc/,
+ ${PREFIX}/lib/X11/fonts/Speedo/,
+ ${PREFIX}/lib/X11/fonts/Type1/,
+ ${PREFIX}/lib/X11/fonts/100dpi/,
+ ${PREFIX}/lib/X11/fonts/75dpi/,
+ ${PREFIX}/lib/X11/fonts/intlfonts/
+
+======================================================================