summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-01-29 11:34:21 +0000
committerwiz <wiz@pkgsrc.org>2001-01-29 11:34:21 +0000
commitb979f7222ad9bade13f010cd27e5bc6afab1681c (patch)
tree86f14acd24842161759a420487862022044c2b4b /wm
parent6a13219ca89e5dae86f27159ff86006058c06859 (diff)
downloadpkgsrc-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 'wm')
-rw-r--r--wm/afterstep/Makefile7
-rw-r--r--wm/afterstep/pkg/MESSAGE11
2 files changed, 9 insertions, 9 deletions
diff --git a/wm/afterstep/Makefile b/wm/afterstep/Makefile
index a2f6d3f8bc0..c99fb6746c5 100644
--- a/wm/afterstep/Makefile
+++ b/wm/afterstep/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/01/25 12:36:16 fredb Exp $
+# $NetBSD: Makefile,v 1.4 2001/01/29 11:34:44 wiz Exp $
DISTNAME= AfterStep-1.8.0
PKGNAME= afterstep-1.8.0
@@ -34,8 +34,6 @@ CONFIGURE_ARGS+= --with-png-includes=${LOCALBASE}/include
CONFIGURE_ARGS+= --with-png-lib=${LOCALBASE}/lib
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
-MESSAGE_FILE= ${WRKDIR}/MESSAGE
-
post-patch:
for i in `${FIND} ${WRKSRC} -name "*.man" -print` \
${WRKSRC}/autoconf/Makefile.common.in; do \
@@ -49,7 +47,4 @@ pre-configure:
${CHMOD} 755 configure; \
autoheader --localdir=autoconf autoconf/configure.in > autoconf/config.h.in;
-post-build:
- ${SED} 's|@PREFIX@|${PREFIX}|g' < ${PKGDIR}/MESSAGE > ${MESSAGE_FILE}
-
.include "../../mk/bsd.pkg.mk"
diff --git a/wm/afterstep/pkg/MESSAGE b/wm/afterstep/pkg/MESSAGE
index b4f0bb6c487..f502e015bde 100644
--- a/wm/afterstep/pkg/MESSAGE
+++ b/wm/afterstep/pkg/MESSAGE
@@ -1,3 +1,6 @@
+======================================================================
+$NetBSD: MESSAGE,v 1.2 2001/01/29 11:34:44 wiz Exp $
+
FIRST TIME USERS:
To use afterstep as your window manager, simply invoke "exec afterstep"
at the end of your .xinitrc (for "startx), or .xsession file (for xdm).
@@ -6,15 +9,17 @@ Don't forget to comment out any line(s) for your current window manager.
UPGRADERS:
Afterstep-1.8.x is more configurable than ever, but note: the format of
many of the configuration files has changed! In particular, it is no
-longer necessary to maintain a complete copy of @PREFIX@/share/afterstep
+longer necessary to maintain a complete copy of ${PREFIX}/share/afterstep
in each home directory--your ~/Gnu/Library/Afterstep directory now need
-only contain changes from the defaults in @PREFIX@/share/afterstep.
+only contain changes from the defaults in ${PREFIX}/share/afterstep.
Upgraders are advised to back up their old ~/Gnu/Library/Afterstep directory,
and review the documentation before merging diffs carefully.
EVERYBODY:
The AfterStep Control Panel for 1.8.x is still under development.
See the online docs--Wharf top button, or bottom item of start menu,
-or view @PREFIX@/share/afterstep/doc/afterstep.html with any browser.
+or view ${PREFIX}/share/afterstep/doc/afterstep.html with any browser.
If you are connected to the Internet, a FAQ, mailing lists, and other
resources may be found on the Afterstep Home Page:
+
+======================================================================