From b979f7222ad9bade13f010cd27e5bc6afab1681c Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 29 Jan 2001 11:34:21 +0000 Subject: 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. --- comms/snooper/Makefile | 8 +------- comms/snooper/pkg/MESSAGE | 2 -- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 comms/snooper/pkg/MESSAGE (limited to 'comms') 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 -- cgit v1.2.3