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 /x11/lesstif12 | |
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 'x11/lesstif12')
-rw-r--r-- | x11/lesstif12/Makefile | 8 | ||||
-rw-r--r-- | x11/lesstif12/pkg/MESSAGE | 9 |
2 files changed, 6 insertions, 11 deletions
diff --git a/x11/lesstif12/Makefile b/x11/lesstif12/Makefile index ad178ba64ee..b1d031e3a0a 100644 --- a/x11/lesstif12/Makefile +++ b/x11/lesstif12/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2000/12/22 17:26:22 jlam Exp $ +# $NetBSD: Makefile,v 1.5 2001/01/29 11:34:48 wiz Exp $ PKGNAME= lesstif12-${LESSTIF_VERSION} @@ -11,12 +11,6 @@ CONFIGURE_ARGS+= --enable-build-12 CONFIGURE_ARGS+= --disable-build-20 CONFIGURE_ARGS+= --enable-default-12 -MESSAGE_FILE= ${WRKDIR}/MESSAGE - -pre-install: - ${SED} -e "s,@PREFIX@,${PREFIX},g" \ - < ${PKGDIR}/MESSAGE > ${MESSAGE_FILE} - # We don't install any documentation, but the installation process creates # this directory anyway, so remove it if it's empty. # diff --git a/x11/lesstif12/pkg/MESSAGE b/x11/lesstif12/pkg/MESSAGE index 7bd83b2b197..8d24067eff2 100644 --- a/x11/lesstif12/pkg/MESSAGE +++ b/x11/lesstif12/pkg/MESSAGE @@ -1,14 +1,15 @@ =========================================================================== -$NetBSD: MESSAGE,v 1.2 2000/12/22 17:26:22 jlam Exp $ +$NetBSD: MESSAGE,v 1.3 2001/01/29 11:34:48 wiz Exp $ Please note that this package is provided for those programs which will not work with newer versions of LessTif. To allow this package to coexist with newer versions of LessTif, it has been installed -in @PREFIX@/LessTif/1.2/{include,lib}. +in ${PREFIX}/LessTif/1.2/{include,lib}. You should be able to select this version of LessTif when compiling programs which use it by passing the following flags to the compiler: - -I@PREFIX@/LessTif/Motif1.2/include - -L@PREFIX@/LessTif/Motif1.2/lib -Wl,-R@PREFIX@/LessTif/Motif1.2/lib + -I${PREFIX}/LessTif/Motif1.2/include + -L${PREFIX}/LessTif/Motif1.2/lib -Wl,-R${PREFIX}/LessTif/Motif1.2/lib + =========================================================================== |