diff options
author | youri <youri@pkgsrc.org> | 2015-06-04 21:56:48 +0000 |
---|---|---|
committer | youri <youri@pkgsrc.org> | 2015-06-04 21:56:48 +0000 |
commit | d44ccd605928b51f58f3e6adfdeb0ae29022d137 (patch) | |
tree | c3509e373c8f4fbca456068d873e814093878285 /misc/cw | |
parent | 1b0bca0e8c4c64a97edb90759b3d78b66d066509 (diff) | |
download | pkgsrc-d44ccd605928b51f58f3e6adfdeb0ae29022d137.tar.gz |
Replace ambiguous MESSAGE by simple sed substitution. ok @agc
Diffstat (limited to 'misc/cw')
-rw-r--r-- | misc/cw/MESSAGE | 10 | ||||
-rw-r--r-- | misc/cw/Makefile | 8 |
2 files changed, 6 insertions, 12 deletions
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" |