summaryrefslogtreecommitdiff
path: root/x11/xscribble
diff options
context:
space:
mode:
authorwiz <wiz>2001-01-29 11:34:21 +0000
committerwiz <wiz>2001-01-29 11:34:21 +0000
commit3ce638ed02adf3649ce7b39076071ccb64529784 (patch)
tree86f14acd24842161759a420487862022044c2b4b /x11/xscribble
parent33d3218590bab0dca7122812c6edc6f6b124689f (diff)
downloadpkgsrc-3ce638ed02adf3649ce7b39076071ccb64529784.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.
+
+======================================================================