summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>1999-12-23 03:57:11 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>1999-12-23 03:57:11 +0000
commit6ee94135f20733683052d9f7e16b0c7dc586f115 (patch)
treef5ae11a8fa229c800b5d13a2ade0bedb8b5ef832 /cad
parent24fd15e78da646acd1b63446c577f0dfe39682a0 (diff)
downloadpkgsrc-6ee94135f20733683052d9f7e16b0c7dc586f115.tar.gz
initial import of xchiplogo-19991222
note that the version number is the date when I grabbed the sources. There is no "official" version included in the sources. Xchiplogo reads an ascii bitmap file, and converts it into a magic or cif file. It is a handy program for creating logos of text or graphics for putting on VLSI chips. At the moment it accepts the B&W dithered format of XV as the input. It has got quite a few options for resizing and get- ting rid of many design rule errors that can be found in the bitmap file. It has a smoothing, before and after an error correction step. The error correction step is pretty simple ,don't expect miracles, but it works quite fine and spe- cially for text gives a reasonable output.
Diffstat (limited to 'cad')
-rw-r--r--cad/xchiplogo/Makefile20
-rw-r--r--cad/xchiplogo/files/md53
-rw-r--r--cad/xchiplogo/files/patch-sum3
-rw-r--r--cad/xchiplogo/patches/patch-aa35
-rw-r--r--cad/xchiplogo/pkg/COMMENT1
-rw-r--r--cad/xchiplogo/pkg/DESCR10
-rw-r--r--cad/xchiplogo/pkg/PLIST2
7 files changed, 74 insertions, 0 deletions
diff --git a/cad/xchiplogo/Makefile b/cad/xchiplogo/Makefile
new file mode 100644
index 00000000000..c9ae200cde3
--- /dev/null
+++ b/cad/xchiplogo/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/12/23 03:57:11 dmcmahill Exp $
+#
+
+DISTNAME= xchiplogo
+PKGNAME= xchiplogo-19991222
+CATEGORIES= cad
+MASTER_SITES= http://www.eleceng.adelaide.edu.au/Personal/moini/
+
+MAINTAINER= dmcmahill@netbsd.org
+HOMEPAGE= http://www.eleceng.adelaide.edu.au/Personal/moini/chiplogo.html
+
+DEPENDS+= xforms-*:../../x11/xforms
+DEPENDS+= xpm-*:../../graphics/xpm
+
+USE_X11= yes
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xchiplogo ${LOCALBASE}/bin/xchiplogo
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/cad/xchiplogo/files/md5 b/cad/xchiplogo/files/md5
new file mode 100644
index 00000000000..dcea102532d
--- /dev/null
+++ b/cad/xchiplogo/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/12/23 03:57:12 dmcmahill Exp $
+
+MD5 (xchiplogo.tar.gz) = f50baa2bd317747e98c1bd73a4fd12f4
diff --git a/cad/xchiplogo/files/patch-sum b/cad/xchiplogo/files/patch-sum
new file mode 100644
index 00000000000..edf40c24f61
--- /dev/null
+++ b/cad/xchiplogo/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/12/23 03:57:12 dmcmahill Exp $
+
+MD5 (patch-aa) = 12ddb00358dc3203c1b31b5824592a20
diff --git a/cad/xchiplogo/patches/patch-aa b/cad/xchiplogo/patches/patch-aa
new file mode 100644
index 00000000000..90383615be1
--- /dev/null
+++ b/cad/xchiplogo/patches/patch-aa
@@ -0,0 +1,35 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/12/23 03:57:12 dmcmahill Exp $
+
+--- Makefile.orig Sun Nov 17 17:43:29 1996
++++ Makefile Wed Dec 22 20:05:59 1999
+@@ -4,24 +4,21 @@
+ #
+
+-CC= gcc
+-CCFLAG= -O -g
+-LDFLAG= -O -g
+-XINCLUDE=-I/usr/local/X11/include
++XINCLUDE=-I${X11BASE}/include/X11
+
+
+ # Set these to the right path to the forms library
+-XFORMSINC=-I/usr/local/X11/include
+-XFORMSLIB=-L/usr/local/X11/lib
++XFORMSINC=-I${X11BASE}/include
++XFORMSLIB=-L${X11BASE}/lib -Wl,-R${X11BASE}/lib
+
+ # SYSLIB=-lXpm -lX11 -lm
+
+ # for solaris you need the -lsocket
+-SYSLIB=-lXpm -lX11 -lm -lsocket
++SYSLIB=-lXpm -lX11 -lm
+
+ # Flags the compiler will see
+ #########################################
+
+-CFLAGS=$(CCFLAG) $(XFORMSINC) $(XINCLUDE)
+-LDFLAGS = $(LDFLAG)
++CFLAGS+= $(XFORMSINC) $(XINCLUDE)
++LDFLAGS+= $(LDFLAG)
+ LIBS=$(XFORMSLIB) -lforms $(SYSLIB)
+
diff --git a/cad/xchiplogo/pkg/COMMENT b/cad/xchiplogo/pkg/COMMENT
new file mode 100644
index 00000000000..9b1b1499031
--- /dev/null
+++ b/cad/xchiplogo/pkg/COMMENT
@@ -0,0 +1 @@
+a program for generating pretty logos on VLSI chips.
diff --git a/cad/xchiplogo/pkg/DESCR b/cad/xchiplogo/pkg/DESCR
new file mode 100644
index 00000000000..bdaec4778ca
--- /dev/null
+++ b/cad/xchiplogo/pkg/DESCR
@@ -0,0 +1,10 @@
+Xchiplogo reads an ascii bitmap file, and converts it into a
+magic or cif file. It is a handy program for creating logos
+of text or graphics for putting on VLSI chips. At the
+moment it accepts the B&W dithered format of XV as the
+input. It has got quite a few options for resizing and get-
+ting rid of many design rule errors that can be found in the
+bitmap file. It has a smoothing, before and after an error
+correction step. The error correction step is pretty simple
+,don't expect miracles, but it works quite fine and spe-
+cially for text gives a reasonable output.
diff --git a/cad/xchiplogo/pkg/PLIST b/cad/xchiplogo/pkg/PLIST
new file mode 100644
index 00000000000..92dc0971834
--- /dev/null
+++ b/cad/xchiplogo/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/12/23 03:57:11 dmcmahill Exp $
+bin/xchiplogo