summaryrefslogtreecommitdiff
path: root/comms
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 /comms
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 'comms')
-rw-r--r--comms/snooper/Makefile8
-rw-r--r--comms/snooper/pkg/MESSAGE2
2 files changed, 1 insertions, 9 deletions
diff --git a/comms/snooper/Makefile b/comms/snooper/Makefile
index 9286a4deea9..bd63f5118db 100644
--- a/comms/snooper/Makefile
+++ b/comms/snooper/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2000/09/26 03:16:45 hubertf Exp $
+# $NetBSD: Makefile,v 1.6 2001/01/29 11:34:22 wiz Exp $
# FreeBSD Id: Makefile,v 1.3 1998/08/13 09:20:41 itojun Exp $
DISTNAME= snooper-19991202
@@ -10,12 +10,6 @@ MAINTAINER= itojun@itojun.org
WRKSRC= ${WRKDIR}/snooper/build
GNU_CONFIGURE= yes
-MESSAGE_SRC= ${PKGDIR}/MESSAGE
-MESSAGE_FILE= ${WRKDIR}/.MESSAGE
-
-pre-install:
- @${SED} -e 's|$${PREFIX}|${PREFIX}|' ${MESSAGE_SRC} > ${MESSAGE_FILE}
-
pre-build:
cd ${WRKSRC} ; ${MAKE} depend
diff --git a/comms/snooper/pkg/MESSAGE b/comms/snooper/pkg/MESSAGE
deleted file mode 100644
index cdd974b8617..00000000000
--- a/comms/snooper/pkg/MESSAGE
+++ /dev/null
@@ -1,2 +0,0 @@
-snooper has been installed.
-Documents can be found at: ${PREFIX}/share/doc/snooper