pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/cad/xcircuit Get rid of spurious error message when st...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c47590f2e4c5
branches:  trunk
changeset: 375302:c47590f2e4c5
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Thu Feb 08 09:43:32 2018 +0000

description:
Get rid of spurious error message when started from a window manager
Install man page

diffstat:

 cad/xcircuit/Makefile                             |   5 +++--
 cad/xcircuit/PLIST                                |   4 ++--
 cad/xcircuit/distinfo                             |   3 ++-
 cad/xcircuit/patches/patch-lib_tcl_xcircuit.sh.in |  16 ++++++++++++++++
 4 files changed, 23 insertions(+), 5 deletions(-)

diffs (77 lines):

diff -r 94d92dae04bd -r c47590f2e4c5 cad/xcircuit/Makefile
--- a/cad/xcircuit/Makefile     Thu Feb 08 09:03:32 2018 +0000
+++ b/cad/xcircuit/Makefile     Thu Feb 08 09:43:32 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.45 2018/02/07 11:58:31 hauke Exp $
+# $NetBSD: Makefile,v 1.46 2018/02/08 09:43:32 hauke Exp $
 
 DISTNAME=      xcircuit-3.9.72
-#PKGREVISION=  1
+PKGREVISION=   1
 CATEGORIES=    cad graphics
 MASTER_SITES=  http://opencircuitdesign.com/xcircuit/archive/
 EXTRACT_SUFX=  .tgz
@@ -37,6 +37,7 @@
        ${TOUCH} ${WRKSRC}/menudep.h
 
 post-install:
+       ${INSTALL_DATA} ${WRKSRC}/lib/xcircuit.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
        ${INSTALL_DATA} ${WRKSRC}/examples/*.* ${DESTDIR}${PREFIX}/${EGDIR}
        ${INSTALL_DATA} ${WRKSRC}/examples/xcircuitrc ${DESTDIR}${PREFIX}/${EGDIR}
 
diff -r 94d92dae04bd -r c47590f2e4c5 cad/xcircuit/PLIST
--- a/cad/xcircuit/PLIST        Thu Feb 08 09:03:32 2018 +0000
+++ b/cad/xcircuit/PLIST        Thu Feb 08 09:43:32 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2018/02/07 11:58:31 hauke Exp $
+@comment $NetBSD: PLIST,v 1.9 2018/02/08 09:43:32 hauke Exp $
 bin/xcircuit
 lib/xcircuit-3.9/analog.lps
 lib/xcircuit-3.9/analoglib2.lps
@@ -124,6 +124,7 @@
 lib/xcircuit-3.9/xcircuit.tcl
 lib/xcircuit-3.9/xcstartup.tcl
 lib/xcircuit-3.9/xspice.lps
+man/man1/xcircuit.1
 share/examples/xcircuit/FlareLED.ps
 share/examples/xcircuit/USAflag.ps
 share/examples/xcircuit/analog1.ps
@@ -147,4 +148,3 @@
 share/examples/xcircuit/xc_remote.sh
 share/examples/xcircuit/xcclock.ps
 share/examples/xcircuit/xcircuitrc
-@pkgdir man/man1
diff -r 94d92dae04bd -r c47590f2e4c5 cad/xcircuit/distinfo
--- a/cad/xcircuit/distinfo     Thu Feb 08 09:03:32 2018 +0000
+++ b/cad/xcircuit/distinfo     Thu Feb 08 09:43:32 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2018/02/07 11:58:31 hauke Exp $
+$NetBSD: distinfo,v 1.20 2018/02/08 09:43:32 hauke Exp $
 
 SHA1 (xcircuit-3.9.72.tgz) = d08137afb8f990e1b06aa842f1e80c0e00d8c0d7
 RMD160 (xcircuit-3.9.72.tgz) = abb7eb3ffb1bfcd2c515537d43f4ba240c6f1508
@@ -6,3 +6,4 @@
 Size (xcircuit-3.9.72.tgz) = 1620798 bytes
 SHA1 (patch-aa) = 40e5caea7f6e6294eebff214f47aa9dc01498133
 SHA1 (patch-ab) = 8c4d87dbd67b302f530b4f09201c82fcbec22dd5
+SHA1 (patch-lib_tcl_xcircuit.sh.in) = 0c9882162bdd1cbd7f43d2e4aa2f329f3f91f958
diff -r 94d92dae04bd -r c47590f2e4c5 cad/xcircuit/patches/patch-lib_tcl_xcircuit.sh.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/xcircuit/patches/patch-lib_tcl_xcircuit.sh.in Thu Feb 08 09:43:32 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-lib_tcl_xcircuit.sh.in,v 1.1 2018/02/08 09:43:32 hauke Exp $
+
+TERM may be empty, resulting in a spurious
+[: cygwin: unexpected operator
+
+--- lib/tcl/xcircuit.sh.in.orig        2014-05-17 14:15:47.000000000 +0000
++++ lib/tcl/xcircuit.sh.in
+@@ -11,7 +11,7 @@ XCIRCUIT_WISH=WISH_EXE
+ export XCIRCUIT_WISH
+ 
+ # Hacks for Cygwin
+-if [ ${TERM:=""} = "cygwin" ]; then
++if [ x${TERM:=""} = x"cygwin" ]; then
+    export PATH=$PATH:TCLLIBDIR
+    export DISPLAY=${DISPLAY:=":0"}
+ fi



Home | Main Index | Thread Index | Old Index