diff options
author | vanilla <vanilla@FreeBSD.org> | 2001-04-07 08:20:37 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2001-04-07 08:20:37 +0800 |
commit | 455c62fb6d3f959294aba3cd9b18b307dabfbd06 (patch) | |
tree | 939628607d2e5c5b43583223cd29c458e6d80528 /cad/geda-gschem | |
parent | fb002e6fc172541ac01ae07617deb81f85ace573 (diff) | |
download | freebsd-ports-graphics-455c62fb6d3f959294aba3cd9b18b307dabfbd06.tar.gz freebsd-ports-graphics-455c62fb6d3f959294aba3cd9b18b307dabfbd06.tar.zst freebsd-ports-graphics-455c62fb6d3f959294aba3cd9b18b307dabfbd06.zip |
gEDA electronic schematic capture tools
Submitted by: bruno.schwander@technologist.com
Diffstat (limited to 'cad/geda-gschem')
-rw-r--r-- | cad/geda-gschem/Makefile | 32 | ||||
-rw-r--r-- | cad/geda-gschem/distinfo | 1 | ||||
-rw-r--r-- | cad/geda-gschem/files/patch-aa | 79 | ||||
-rw-r--r-- | cad/geda-gschem/pkg-comment | 1 | ||||
-rw-r--r-- | cad/geda-gschem/pkg-descr | 3 | ||||
-rw-r--r-- | cad/geda-gschem/pkg-plist | 7 |
6 files changed, 123 insertions, 0 deletions
diff --git a/cad/geda-gschem/Makefile b/cad/geda-gschem/Makefile new file mode 100644 index 00000000000..0b1ea38bae5 --- /dev/null +++ b/cad/geda-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/geda-gschem/distinfo b/cad/geda-gschem/distinfo new file mode 100644 index 00000000000..895bab7bff7 --- /dev/null +++ b/cad/geda-gschem/distinfo @@ -0,0 +1 @@ +MD5 (gschem-20010304.tar.gz) = a2bc1a2b735664ff8b4e26d9240468a1 diff --git a/cad/geda-gschem/files/patch-aa b/cad/geda-gschem/files/patch-aa new file mode 100644 index 00000000000..3e4ab7790ec --- /dev/null +++ b/cad/geda-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/geda-gschem/pkg-comment b/cad/geda-gschem/pkg-comment new file mode 100644 index 00000000000..306d6b46933 --- /dev/null +++ b/cad/geda-gschem/pkg-comment @@ -0,0 +1 @@ +gEDA electronic schematic capture tools diff --git a/cad/geda-gschem/pkg-descr b/cad/geda-gschem/pkg-descr new file mode 100644 index 00000000000..f39c7051dc4 --- /dev/null +++ b/cad/geda-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/geda-gschem/pkg-plist b/cad/geda-gschem/pkg-plist new file mode 100644 index 00000000000..623023b4f82 --- /dev/null +++ b/cad/geda-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 |