From d44ccd605928b51f58f3e6adfdeb0ae29022d137 Mon Sep 17 00:00:00 2001 From: youri Date: Thu, 4 Jun 2015 21:56:48 +0000 Subject: Replace ambiguous MESSAGE by simple sed substitution. ok @agc --- misc/cw/MESSAGE | 10 ---------- misc/cw/Makefile | 8 ++++++-- 2 files changed, 6 insertions(+), 12 deletions(-) delete mode 100644 misc/cw/MESSAGE (limited to 'misc') diff --git a/misc/cw/MESSAGE b/misc/cw/MESSAGE deleted file mode 100644 index 52e6a41c407..00000000000 --- a/misc/cw/MESSAGE +++ /dev/null @@ -1,10 +0,0 @@ -=========================================================================== -$NetBSD: MESSAGE,v 1.1 2015/06/04 20:27:53 youri Exp $ - -Please update the interpreter in cw scripts before using cw. - - # cwu ${PREFIX}/lib/cw ${PREFIX}/bin/cw - -And add ${PREFIX}/lib/cw to your $PATH. - -=========================================================================== diff --git a/misc/cw/Makefile b/misc/cw/Makefile index 1408d241933..88f51355658 100644 --- a/misc/cw/Makefile +++ b/misc/cw/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2015/06/04 20:27:53 youri Exp $ +# $NetBSD: Makefile,v 1.2 2015/06/04 21:56:48 youri Exp $ DISTNAME= cw-1.0.16 CATEGORIES= misc @@ -12,6 +12,10 @@ LICENSE= gnu-gpl-v2 GNU_CONFIGURE= yes USE_TOOLS+= gmake -CHECK_INTERPRETER_SKIP= lib/cw/* +SUBST_CLASSES+= path +SUBST_STAGE.path= pre-build +SUBST_MESSAGE.path= Updating intepreter path +SUBST_FILES.path= def/* +SUBST_SED.path= -e 's,/cw,${PREFIX}/bin/cw,1' .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3