summaryrefslogtreecommitdiff
path: root/x11/xscribble
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 /x11/xscribble
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 'x11/xscribble')
-rw-r--r--x11/xscribble/Makefile7
-rw-r--r--x11/xscribble/pkg/MESSAGE7
2 files changed, 7 insertions, 7 deletions
diff --git a/x11/xscribble/Makefile b/x11/xscribble/Makefile
index 3d435366152..c562bff56b4 100644
--- a/x11/xscribble/Makefile
+++ b/x11/xscribble/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2000/11/17 14:40:16 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2001/01/29 11:34:49 wiz Exp $
DISTNAME= xscribble
PKGNAME= xscribble-20000616
@@ -12,11 +12,6 @@ HOMEPAGE= http://www.handhelds.org/projects/xscribble.html
USE_IMAKE= YES
NO_INSTALL_MANPAGES= YES
-MESSAGE_FILE= ${WRKDIR}/MESSAGE
-
-post-patch:
- ${SED} -e "s,@PREFIX@,${PREFIX},g" <${PKGDIR}/MESSAGE >${MESSAGE_FILE}
-
post-install:
${MKDIR} ${PREFIX}/share/examples/xscribble
${CP} ${WRKSRC}/classifiers/*.cl ${PREFIX}/share/examples/xscribble
diff --git a/x11/xscribble/pkg/MESSAGE b/x11/xscribble/pkg/MESSAGE
index a63d82fc932..ce6d9eb2775 100644
--- a/x11/xscribble/pkg/MESSAGE
+++ b/x11/xscribble/pkg/MESSAGE
@@ -1,2 +1,7 @@
+======================================================================
+$NetBSD: MESSAGE,v 1.2 2001/01/29 11:34:49 wiz Exp $
+
To actually use xscribble, you need to copy
-@PREFIX@/share/examples/xscribble/*.cl into ~/.classifiers.
+${PREFIX}/share/examples/xscribble/*.cl into ~/.classifiers.
+
+======================================================================