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 /www/asWedit | |
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 'www/asWedit')
-rw-r--r-- | www/asWedit/Makefile | 5 | ||||
-rw-r--r-- | www/asWedit/pkg/MESSAGE | 10 |
2 files changed, 6 insertions, 9 deletions
diff --git a/www/asWedit/Makefile b/www/asWedit/Makefile index c329d043e5d..8b78d71bb77 100644 --- a/www/asWedit/Makefile +++ b/www/asWedit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2000/09/08 13:33:15 jlam Exp $ +# $NetBSD: Makefile,v 1.6 2001/01/29 11:34:45 wiz Exp $ # DISTNAME= ${PKGNAME}-i386.linux @@ -25,7 +25,6 @@ NO_BIN_ON_FTP= ${RESTRICTED} NO_BIN_ON_CDROM= ${RESTRICTED} NO_BUILD= yes -MESSAGE_FILE= ${WRKDIR}/MESSAGE CHECK_SHLIBS= no @@ -34,8 +33,6 @@ do-configure: ${SED} -e 's:/usr/local/lib:${PREFIX}/libdata:g' \ -e 's:^!!\*helpDir:*helpDir:' \ < AsWedit.bak > AsWedit - ${SED} -e 's:@@PREFIX@@:${PREFIX}:g' \ - < ${PKGDIR}/MESSAGE > ${WRKDIR}/MESSAGE do-install: ${INSTALL_PROGRAM} ${WRKSRC}/asWedit ${PREFIX}/bin diff --git a/www/asWedit/pkg/MESSAGE b/www/asWedit/pkg/MESSAGE index 8a72a296dda..fa1d74ff750 100644 --- a/www/asWedit/pkg/MESSAGE +++ b/www/asWedit/pkg/MESSAGE @@ -1,12 +1,12 @@ -$NetBSD: MESSAGE,v 1.1.1.1 2000/07/17 09:39:05 rh Exp $ - ========================================================================== - asWedit has now been installed in @@PREFIX@@. +$NetBSD: MESSAGE,v 1.2 2001/01/29 11:34:45 wiz Exp $ + + asWedit has now been installed in ${PREFIX}. Before using this package for the first time, each user has to merge - the contents of @@PREFIX@@/share/examples/asWedit/AsWedit with his/her + the contents of ${PREFIX}/share/examples/asWedit/AsWedit with his/her X resources. This can be done using the command - xrdb -merge @@PREFIX@@/share/examples/asWedit/AsWedit + xrdb -merge ${PREFIX}/share/examples/asWedit/AsWedit ========================================================================== |