summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2000-11-02 13:59:54 +0000
committerdmcmahill <dmcmahill>2000-11-02 13:59:54 +0000
commitdf78d9752964d856b5e047f8fdce307a210fa150 (patch)
treebe6a85333a4cd0332893433095d08960ce1d0b69 /cad
parent4e7cd6eee776fa8241b0eba36ca4eb5fdb523e21 (diff)
downloadpkgsrc-df78d9752964d856b5e047f8fdce307a210fa150.tar.gz
Initial import of cad/xcircuit.
The program xcircuit is a generic drawing program tailored especially for making publication-quality renderings of circuit diagrams (hence the name). The output is pure PostScript, and the graphical interface attempts to maintain as much consistency as possible between the X11 window rendering and the final printer output. xcircuit is mouse, menu, and keyboard-driven, with the emphasis on single-character keyboard macros. Package provided by Jason Beegan <jasontd@indigo.ie> in PR 11383 with some minor modifications by me.
Diffstat (limited to 'cad')
-rw-r--r--cad/xcircuit/Makefile24
-rw-r--r--cad/xcircuit/files/md53
-rw-r--r--cad/xcircuit/files/patch-sum4
-rw-r--r--cad/xcircuit/patches/patch-aa33
-rw-r--r--cad/xcircuit/patches/patch-ab12
-rw-r--r--cad/xcircuit/pkg/COMMENT1
-rw-r--r--cad/xcircuit/pkg/DESCR8
-rw-r--r--cad/xcircuit/pkg/PLIST54
8 files changed, 139 insertions, 0 deletions
diff --git a/cad/xcircuit/Makefile b/cad/xcircuit/Makefile
new file mode 100644
index 00000000000..7054676197d
--- /dev/null
+++ b/cad/xcircuit/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/11/02 13:59:54 dmcmahill Exp $
+#
+
+DISTNAME= xcircuit-2.1b7
+CATEGORIES= cad graphics
+MASTER_SITES= http://bach.ece.jhu.edu/~tim/programs/xcircuit/archive/
+
+MAINTAINER= jasontd@indigo.ie
+HOMEPAGE= http://bach.ece.jhu.edu/~tim/programs/xcircuit/
+
+WRKSRC= ${WRKDIR}/${DISTNAME}
+USE_IMAKE= yes
+USE_X11BASE= yes
+USE_XPM= yes
+
+post-build:
+ ${RM} -fr ${WRKSRC}/examples/CVS
+ ${MV} -f ${WRKSRC}/examples/.xcircuitrc ${WRKSRC}/examples/xcircuitrc
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xcircuit/
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/xcircuit
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/cad/xcircuit/files/md5 b/cad/xcircuit/files/md5
new file mode 100644
index 00000000000..0562ce4b093
--- /dev/null
+++ b/cad/xcircuit/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/11/02 13:59:55 dmcmahill Exp $
+
+MD5 (xcircuit-2.1b7.tar.gz) = 9a18fc6e454a2001abbfad6cd04e7304
diff --git a/cad/xcircuit/files/patch-sum b/cad/xcircuit/files/patch-sum
new file mode 100644
index 00000000000..24248052d8d
--- /dev/null
+++ b/cad/xcircuit/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/11/02 13:59:55 dmcmahill Exp $
+
+MD5 (patch-aa) = cac22dadff9bdc419e25c679a0053952
+MD5 (patch-ab) = e6ec2881a57bab8c4c956a1ce43489d4
diff --git a/cad/xcircuit/patches/patch-aa b/cad/xcircuit/patches/patch-aa
new file mode 100644
index 00000000000..cb79e6e3c50
--- /dev/null
+++ b/cad/xcircuit/patches/patch-aa
@@ -0,0 +1,33 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/11/02 13:59:55 dmcmahill Exp $
+
+--- Imakefile.orig Tue Oct 3 11:33:52 2000
++++ Imakefile Thu Nov 2 08:22:31 2000
+@@ -29,6 +29,6 @@
+ #
+ # for debugging purposes uncomment the following line:
+-CDEBUGFLAGS = -g
+-STD_INCLUDES = -I. -I/usr/X11R6/include/X11
++#CDEBUGFLAGS = -g
++STD_INCLUDES = -I. -I${X11BASE}/include -I${LOCALBASE}/include
+
+ #------------------------------------------------------------------------
+@@ -37,5 +37,5 @@
+ #------------------------------------------------------------------------
+ #
+-PREFIX = /usr/local
++# PREFIX = /usr/local
+ # XCIRCUIT_LIB_DIR = $(PREFIX)/src/xcircuit-2.1b5/psfiles
+ XCIRCUIT_LIB_DIR = $(PREFIX)/lib/xcircuit-2.1
+@@ -59,5 +59,5 @@
+ # to the path where gs can be found.
+ # GS_EXEC= /usr/local/src/gs5.50/obj/gs
+-GS_EXEC= /usr/bin/gs
++GS_EXEC= ${LOCALBASE}/bin/gs
+
+ #------------------------------------------------------------------------
+@@ -186,4 +186,5 @@
+ #endif
+
++MakefileSubdirs(Xw)
+ MakeMakeSubdirs(Xw,libxcXw.a)
+ MakeSubdirs(Xw)
diff --git a/cad/xcircuit/patches/patch-ab b/cad/xcircuit/patches/patch-ab
new file mode 100644
index 00000000000..ec8265f769b
--- /dev/null
+++ b/cad/xcircuit/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/11/02 13:59:55 dmcmahill Exp $
+
+use the 'standard' netbsd config rather than overriding CC.
+
+--- Xw/Imakefile.orig Thu Aug 3 16:10:52 2000
++++ Xw/Imakefile Thu Nov 2 08:32:51 2000
+@@ -1,4 +1,4 @@
+ # Compile flags
+-CC = cc
++#CC = cc
+ # If you wish to compile with gcc:
+ #CC = gcc
diff --git a/cad/xcircuit/pkg/COMMENT b/cad/xcircuit/pkg/COMMENT
new file mode 100644
index 00000000000..a212c3c0975
--- /dev/null
+++ b/cad/xcircuit/pkg/COMMENT
@@ -0,0 +1 @@
+Drawing program for X11 (especially for circuits)
diff --git a/cad/xcircuit/pkg/DESCR b/cad/xcircuit/pkg/DESCR
new file mode 100644
index 00000000000..71f3202725f
--- /dev/null
+++ b/cad/xcircuit/pkg/DESCR
@@ -0,0 +1,8 @@
+The program xcircuit is a generic drawing program tailored especially
+for making publication-quality renderings of circuit diagrams (hence
+the name). The output is pure PostScript, and the graphical interface
+attempts to maintain as much consistency as possible between the X11
+window rendering and the final printer output.
+
+xcircuit is mouse, menu, and keyboard-driven, with the emphasis on
+single-character keyboard macros.
diff --git a/cad/xcircuit/pkg/PLIST b/cad/xcircuit/pkg/PLIST
new file mode 100644
index 00000000000..a044b67b35b
--- /dev/null
+++ b/cad/xcircuit/pkg/PLIST
@@ -0,0 +1,54 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/11/02 13:59:54 dmcmahill Exp $
+bin/xcircuit
+lib/X11/app-defaults/XCircuit
+lib/xcircuit-2.1/analog.lps
+lib/xcircuit-2.1/avlsi.lps
+lib/xcircuit-2.1/builtins.lps
+lib/xcircuit-2.1/digital.lps
+lib/xcircuit-2.1/fonts/courier.lps
+lib/xcircuit-2.1/fonts/courier.xfe
+lib/xcircuit-2.1/fonts/courieriso.xfe
+lib/xcircuit-2.1/fonts/courieriso2.lps
+lib/xcircuit-2.1/fonts/courieriso2.xfe
+lib/xcircuit-2.1/fonts/courieriso5.lps
+lib/xcircuit-2.1/fonts/courieriso5.xfe
+lib/xcircuit-2.1/fonts/helvetica.lps
+lib/xcircuit-2.1/fonts/helvetica.xfe
+lib/xcircuit-2.1/fonts/helveticaiso.xfe
+lib/xcircuit-2.1/fonts/helveticaiso2.lps
+lib/xcircuit-2.1/fonts/helveticaiso2.xfe
+lib/xcircuit-2.1/fonts/helveticaiso5.lps
+lib/xcircuit-2.1/fonts/helveticaiso5.xfe
+lib/xcircuit-2.1/fonts/myfont.lps
+lib/xcircuit-2.1/fonts/myfont.xfe
+lib/xcircuit-2.1/fonts/symbol.lps
+lib/xcircuit-2.1/fonts/symbol.xfe
+lib/xcircuit-2.1/fonts/times_roman.lps
+lib/xcircuit-2.1/fonts/times_roman.xfe
+lib/xcircuit-2.1/fonts/times_romaniso.xfe
+lib/xcircuit-2.1/fonts/times_romaniso2.lps
+lib/xcircuit-2.1/fonts/times_romaniso2.xfe
+lib/xcircuit-2.1/fonts/times_romaniso5.lps
+lib/xcircuit-2.1/fonts/times_romaniso5.xfe
+lib/xcircuit-2.1/generic.lps
+lib/xcircuit-2.1/lgf.lps
+lib/xcircuit-2.1/musiclib.lps
+lib/xcircuit-2.1/signal.lps
+lib/xcircuit-2.1/xcircps2.pro
+man/man1/xcircuit.0
+share/examples/xcircuit/USAflag.ps
+share/examples/xcircuit/analog1.ps
+share/examples/xcircuit/analog2.ps
+share/examples/xcircuit/analoglib1.lps
+share/examples/xcircuit/analoglib2.lps
+share/examples/xcircuit/border.ps
+share/examples/xcircuit/diffamp_test.ps
+share/examples/xcircuit/logic8.ps
+share/examples/xcircuit/prelude.ps
+share/examples/xcircuit/systemd1.lgf
+share/examples/xcircuit/threestage.ps
+share/examples/xcircuit/vcoblock.ps
+share/examples/xcircuit/xcircuitrc
+@dirrm share/examples/xcircuit
+@dirrm lib/xcircuit-2.1/fonts
+@dirrm lib/xcircuit-2.1