summaryrefslogtreecommitdiff
path: root/comms/snooper
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 /comms/snooper
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 'comms/snooper')
-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