summaryrefslogtreecommitdiffstats
path: root/cad/gschem
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2001-04-07 00:20:37 +0000
committervanilla <vanilla@FreeBSD.org>2001-04-07 00:20:37 +0000
commit455c62fb6d3f959294aba3cd9b18b307dabfbd06 (patch)
tree939628607d2e5c5b43583223cd29c458e6d80528 /cad/gschem
parentfb002e6fc172541ac01ae07617deb81f85ace573 (diff)
downloadFreeBSD-ports-455c62fb6d3f959294aba3cd9b18b307dabfbd06.zip
FreeBSD-ports-455c62fb6d3f959294aba3cd9b18b307dabfbd06.tar.gz
gEDA electronic schematic capture tools
Submitted by: bruno.schwander@technologist.com
Diffstat (limited to 'cad/gschem')
-rw-r--r--cad/gschem/Makefile32
-rw-r--r--cad/gschem/distinfo1
-rw-r--r--cad/gschem/files/patch-aa79
-rw-r--r--cad/gschem/pkg-comment1
-rw-r--r--cad/gschem/pkg-descr3
-rw-r--r--cad/gschem/pkg-plist7
6 files changed, 123 insertions, 0 deletions
diff --git a/cad/gschem/Makefile b/cad/gschem/Makefile
new file mode 100644
index 0000000..0b1ea38
--- /dev/null
+++ b/cad/gschem/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: geda
+# Date created: 4 April 2001
+# Whom: bruno schwander <bruno@tinkerbox.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gschem
+PORTVERSION= 20010304
+CATEGORIES= cad
+MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/devel/20010304/ \
+ http://geda.seul.org/devel/20010304/ \
+ http://www.tinkerbox.org/projects/files/gEDA/
+
+MAINTAINER= bruno@tinkerbox.org
+
+BUILD_DEPENDS= gesym-config:${PORTSDIR}/cad/geda-symbols
+LIB_DEPENDS= geda.12:${PORTSDIR}/cad/libgeda \
+ guile.9:${PORTSDIR}/lang/guile
+
+USE_LIBTOOL= yes
+USE_AUTOCONF= yes
+USE_GTK= yes
+INSTALLS_SHLIB= yes
+CONFIGURE_ARGS= --enable-gdgeda
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+WRKSRC= ${WRKDIR}/gschem
+
+MAN1= gschem.1
+
+.include <bsd.port.mk>
diff --git a/cad/gschem/distinfo b/cad/gschem/distinfo
new file mode 100644
index 0000000..895bab7
--- /dev/null
+++ b/cad/gschem/distinfo
@@ -0,0 +1 @@
+MD5 (gschem-20010304.tar.gz) = a2bc1a2b735664ff8b4e26d9240468a1
diff --git a/cad/gschem/files/patch-aa b/cad/gschem/files/patch-aa
new file mode 100644
index 0000000..3e4ab77
--- /dev/null
+++ b/cad/gschem/files/patch-aa
@@ -0,0 +1,79 @@
+--- /usr/ports/cad/gschem/work/gschem/configure.in Mon Mar 5 00:45:50 2001
++++ configure.in Thu Mar 8 19:04:23 2001
+@@ -142,44 +142,41 @@
+ # search for libgdgeda-config
+ AC_PATH_PROG(LIBGDGEDACONFIG, libgdgeda-config, no, ${PATH})
+
+-if test $LIBGDGEDACONFIG = "no"; then
++if test $LIBGDGEDACONFIG = "no" -o no_gdgeda = yes; then
++ GDGEDA_LIB=""
+ libgdgeda_ldflags=""
+ libgdgeda_cflags=""
+ else
+ libgdgeda_ldflags=`$LIBGDGEDACONFIG --libs`
+ libgdgeda_cflags=`$LIBGDGEDACONFIG --cflags`
+ GD_EXTRA="$libgdgeda_cflags $libgdgeda_ldflags -lm"
+-fi
+-
+-AC_CHECK_LIB(gdgeda, gdImageColorAllocate, GDGEDA_LIB="-lgdgeda", GDGEDA_LIB=no, $GD_EXTRA)
+-
++ X_CFLAGS="$libgdgeda_cflags"
+
+-
+-if test $GDGEDA_LIB = no; then
+- GDGEDA_LIB=""
+-else
+- if test "$no_gdgeda" = "yes"; then
+- echo found libgdgeda, but disabling gdgeda
+- GDGEDA_LIB=""
+- libgdgeda_ldflags=""
+- libgdgeda_cflags=""
+- else
+- AC_CHECK_LIB(z, zlibVersion, Z_LIB="-lz", Z_LIB=no)
+- if test $Z_LIB = no; then
+- AC_MSG_ERROR(Cannot find libz (zlib), be sure to install zlib; it is required for libgdgeda)
+- fi
++ AC_CHECK_LIB(z, uncompress, Z_LIB="-lz", Z_LIB=no)
++ if test $Z_LIB = no; then
++ AC_MSG_ERROR(Cannot find libz (zlib), be sure to install zlib; it is required for libgdgeda)
++ else
+
+ PNG_EXTRA="-lz -lm"
+ AC_CHECK_LIB(png, png_read_init, PNG_LIB="-lpng", PNG_LIB=no, $PNG_EXTRA)
++
+ if test $PNG_LIB = no; then
+ AC_MSG_ERROR(Cannot find libpng, be sure to install png; it is required for libgdgeda)
+- fi
+-
+-
+- AC_DEFINE(HAS_LIBZ)
+- AC_DEFINE(HAS_LIBPNG)
+- AC_DEFINE(HAS_LIBGDGEDA)
+- fi
++ else
++ GD_EXTRA="-lpng"
++ AC_CHECK_LIB(gdgeda, gdImageColorAllocate, GDGEDA_LIB="-lgdgeda", GDGEDA_LIB=no, $GD_EXTRA)
++
++ if test $GDGEDA_LIB = no; then
++ GDGEDA_LIB=""
++ libgdgeda_ldflags=""
++ libgdgeda_cflags=""
++ else
++ AC_DEFINE(HAS_LIBZ)
++ AC_DEFINE(HAS_LIBPNG)
++ AC_DEFINE(HAS_LIBGDGEDA)
++ fi
++ fi
++ fi
+ fi
+
+ # search for gtkextra-config
+@@ -240,7 +237,7 @@
+ dnl CFLAGS="$CFLAGS $CFEXTRA `$GTK_CONFIG --cflags`"
+
+ CFLAGS="`$GTK_CONFIG --cflags` $CFLAGS $CFEXTRA"
+-LDFLAGS="$LDEXTRA `$GTK_CONFIG --libs` -lgtk -lgdk -lglib $LDFLAGS -lm"
++LDFLAGS="$LDEXTRA `$GTK_CONFIG --libs` $LDFLAGS -lm"
+
+ AC_MSG_CHECKING([for the rest of gtk])
+ AC_TRY_COMPILE(
diff --git a/cad/gschem/pkg-comment b/cad/gschem/pkg-comment
new file mode 100644
index 0000000..306d6b4
--- /dev/null
+++ b/cad/gschem/pkg-comment
@@ -0,0 +1 @@
+gEDA electronic schematic capture tools
diff --git a/cad/gschem/pkg-descr b/cad/gschem/pkg-descr
new file mode 100644
index 0000000..f39c705
--- /dev/null
+++ b/cad/gschem/pkg-descr
@@ -0,0 +1,3 @@
+gschem is a tool to capture/draw electronic circuits schematics.
+
+WWW: http://www.geda.seul.org
diff --git a/cad/gschem/pkg-plist b/cad/gschem/pkg-plist
new file mode 100644
index 0000000..623023b
--- /dev/null
+++ b/cad/gschem/pkg-plist
@@ -0,0 +1,7 @@
+bin/gschem
+share/gEDA/system-gschemrc
+share/gEDA/scheme/gschem.scm
+share/gEDA/scheme/list-keys.scm
+share/gEDA/scheme/auto-uref.scm
+share/gEDA/scheme/print-NB-attribs.scm
+share/gEDA/scheme/generate_netlist.scm
OpenPOWER on IntegriCloud