diff options
author | wiz <wiz@pkgsrc.org> | 2001-01-29 11:34:21 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-01-29 11:34:21 +0000 |
commit | b979f7222ad9bade13f010cd27e5bc6afab1681c (patch) | |
tree | 86f14acd24842161759a420487862022044c2b4b /textproc | |
parent | 6a13219ca89e5dae86f27159ff86006058c06859 (diff) | |
download | pkgsrc-b979f7222ad9bade13f010cd27e5bc6afab1681c.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. =========================================================================== |