pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/zorro Change patch & sed to USE_TOOLS & REPLACE_I...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2a7ca6a76b5b
branches:  trunk
changeset: 537135:2a7ca6a76b5b
user:      obache <obache%pkgsrc.org@localhost>
date:      Fri Jan 04 05:36:35 2008 +0000

description:
Change patch & sed to USE_TOOLS & REPLACE_INTERPRETER.

diffstat:

 misc/zorro/Makefile         |  13 ++++++++-----
 misc/zorro/distinfo         |   3 +--
 misc/zorro/patches/patch-aa |  19 -------------------
 3 files changed, 9 insertions(+), 26 deletions(-)

diffs (66 lines):

diff -r bc8e2efb38ed -r 2a7ca6a76b5b misc/zorro/Makefile
--- a/misc/zorro/Makefile       Fri Jan 04 05:11:32 2008 +0000
+++ b/misc/zorro/Makefile       Fri Jan 04 05:36:35 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2008/01/04 05:11:32 obache Exp $
+# $NetBSD: Makefile,v 1.26 2008/01/04 05:36:35 obache Exp $
 
 DISTNAME=      zorro-1.1p8
 PKGNAME=       zorro-1.1.8
@@ -15,14 +15,17 @@
 
 NO_BUILD=      yes
 
+USE_TOOLS+=    wish
+
+REPLACE_INTERPRETER+=  wish
+REPLACE.wish.old=      [^[:space:]]*wish
+REPLACE.wish.new=      ${WISH}
+REPLACE_FILES.wish=    zorro
+
 PKG_DESTDIR_SUPPORT=   user-destdir
 
 INSTALLATION_DIRS=     bin share/zorro
 
-post-patch:
-       ( cd ${WRKSRC} ; ${SED} 's|@PREFIX@|'${PREFIX}'|g' \
-               <zorro >zorro.BAK ; ${MV} zorro.BAK zorro )
-
 do-install:
        ${INSTALL_SCRIPT} ${WRKSRC}/zorro ${DESTDIR}${PREFIX}/bin/zorro
        ${INSTALL_DATA} ${WRKSRC}/DOTzorrorc ${DESTDIR}${PREFIX}/share/zorro
diff -r bc8e2efb38ed -r 2a7ca6a76b5b misc/zorro/distinfo
--- a/misc/zorro/distinfo       Fri Jan 04 05:11:32 2008 +0000
+++ b/misc/zorro/distinfo       Fri Jan 04 05:36:35 2008 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 11:02:59 agc Exp $
+$NetBSD: distinfo,v 1.4 2008/01/04 05:36:35 obache Exp $
 
 SHA1 (zorro-1.1p8.tar.gz) = 216c1b1c3c652791f89661c92abb39059d5086ce
 RMD160 (zorro-1.1p8.tar.gz) = 85f126b4906dbd680080ba8b88c810361ed2340f
 Size (zorro-1.1p8.tar.gz) = 14672 bytes
-SHA1 (patch-aa) = 4424f317aeaa08e359544471ef7c716ebf7685ab
 SHA1 (patch-ab) = 426b97beb92837f8f1c63ae7c0b6937cfd75ff93
diff -r bc8e2efb38ed -r 2a7ca6a76b5b misc/zorro/patches/patch-aa
--- a/misc/zorro/patches/patch-aa       Fri Jan 04 05:11:32 2008 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-aa,v 1.4 2000/08/31 14:51:52 jwise Exp $
-
-*** zorro.orig Sat Aug  3 22:52:54 1996
---- zorro      Sat Aug  3 22:53:10 1996
-***************
-*** 1,6 ****
-! #!/usr/local/bin/wish
-  #
-! # Version 1.1 Patch 7
-  #
-  # ----------------------------------------------------------------------
-  #   AUTHOR:  Lindsay Marshall <lindsay.marshall%newcastle.ac.uk@localhost>
---- 1,6 ----
-! #!/@PREFIX@/bin/wish
-  #
-! # Version 1.1 Patch 8
-  #
-  # ----------------------------------------------------------------------
-  #   AUTHOR:  Lindsay Marshall <lindsay.marshall%newcastle.ac.uk@localhost>



Home | Main Index | Thread Index | Old Index