diff options
author | wiz <wiz> | 2001-01-29 11:34:21 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-01-29 11:34:21 +0000 |
commit | 3ce638ed02adf3649ce7b39076071ccb64529784 (patch) | |
tree | 86f14acd24842161759a420487862022044c2b4b /textproc | |
parent | 33d3218590bab0dca7122812c6edc6f6b124689f (diff) | |
download | pkgsrc-3ce638ed02adf3649ce7b39076071ccb64529784.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 'textproc')
-rw-r--r-- | textproc/t1lib/Makefile | 7 | ||||
-rw-r--r-- | textproc/t1lib/pkg/MESSAGE | 12 |
2 files changed, 7 insertions, 12 deletions
diff --git a/textproc/t1lib/Makefile b/textproc/t1lib/Makefile index 0f52ef50454..7d2219e67c0 100644 --- a/textproc/t1lib/Makefile +++ b/textproc/t1lib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2000/06/21 01:58:33 jlam Exp $ +# $NetBSD: Makefile,v 1.10 2001/01/29 11:34:43 wiz Exp $ # DISTNAME= t1lib-1.0.1 @@ -15,13 +15,8 @@ USE_LIBTOOL= # defined USE_X11BASE= # defined WRKSRC= ${WRKDIR}/T1-1.0.1 -MESSAGE_FILE= ${WRKDIR}/MESSAGE ALL_TARGET= without_doc -post-build: - ${SED} -e 's|@@PREFIX@@|${PREFIX}|g' \ - < ${PKGDIR}/MESSAGE > ${MESSAGE_FILE} - post-install: ${MKDIR} ${PREFIX}/share/t1lib cd ${WRKSRC}; \ diff --git a/textproc/t1lib/pkg/MESSAGE b/textproc/t1lib/pkg/MESSAGE index 3284d657d33..ce2cb918e3d 100644 --- a/textproc/t1lib/pkg/MESSAGE +++ b/textproc/t1lib/pkg/MESSAGE @@ -1,18 +1,18 @@ =========================================================================== -$NetBSD: MESSAGE,v 1.3 2000/06/21 01:58:40 jlam Exp $ +$NetBSD: MESSAGE,v 1.4 2001/01/29 11:34:43 wiz Exp $ Sample configs tailored for NetBSD may have been copied to -@@PREFIX@@/share/t1lib, but no existing files were overwritten. -More samples may be found in @@PREFIX@@/share/examples/t1lib. +${PREFIX}/share/t1lib, but no existing files were overwritten. +More samples may be found in ${PREFIX}/share/examples/t1lib. Most programs that use the lib will look first in the directory specified by the environment variable T1LIB_CONFIG_DIR, and then -@@PREFIX@@/share/t1lib. However, you *must* set T1LIB_CONFIG_DIR +${PREFIX}/share/t1lib. However, you *must* set T1LIB_CONFIG_DIR to run the "xglyph" test X client. E.g, for Bourne shells: - ``T1LIB_CONFIG_DIR=@@PREFIX@@/share/t1lib xglyph &'' + ``T1LIB_CONFIG_DIR=${PREFIX}/share/t1lib xglyph &'' The complete documentation requires LaTeX to build. If you have the print/teTeX package (or some other "tex"), -``cd @@PREFIX@@/share/doc/t1lib; make'' to build t1lib_doc.dvi. +``cd ${PREFIX}/share/doc/t1lib; make'' to build t1lib_doc.dvi. =========================================================================== |