summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-12-25 02:45:09 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-12-25 02:45:09 +0800
commiteafc316f9a0a3fc427f86046b551ed154e1795c9 (patch)
tree036c93a2f3b85953cac86932d9284c572474cbd3 /devel
parent118c304cbaae6b1757c56ae645a3b3bfca1f12a3 (diff)
downloadmarcuscom-ports-eafc316f9a0a3fc427f86046b551ed154e1795c9.tar
marcuscom-ports-eafc316f9a0a3fc427f86046b551ed154e1795c9.tar.gz
marcuscom-ports-eafc316f9a0a3fc427f86046b551ed154e1795c9.tar.bz2
marcuscom-ports-eafc316f9a0a3fc427f86046b551ed154e1795c9.tar.lz
marcuscom-ports-eafc316f9a0a3fc427f86046b551ed154e1795c9.tar.xz
marcuscom-ports-eafc316f9a0a3fc427f86046b551ed154e1795c9.tar.zst
marcuscom-ports-eafc316f9a0a3fc427f86046b551ed154e1795c9.zip
Update to 1.9.6 (again)
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8120 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel')
-rw-r--r--devel/g-wrap/Makefile42
-rw-r--r--devel/g-wrap/distinfo3
-rw-r--r--devel/g-wrap/files/patch-guile_g-wrap-2.0-guile.pc.in15
-rw-r--r--devel/g-wrap/files/patch-libffi_configure11
-rw-r--r--devel/g-wrap/pkg-descr12
-rw-r--r--devel/g-wrap/pkg-plist54
6 files changed, 137 insertions, 0 deletions
diff --git a/devel/g-wrap/Makefile b/devel/g-wrap/Makefile
new file mode 100644
index 000000000..95cd3e999
--- /dev/null
+++ b/devel/g-wrap/Makefile
@@ -0,0 +1,42 @@
+# ex:ts=8
+# Ports collection makefile for: g-wrap
+# Date created: Jun 29, 2000
+# Whom: Matthew Condell (mcondell@alum.mit.edu)
+#
+# $FreeBSD$
+# $MCom: ports/devel/g-wrap/Makefile,v 1.4 2006/09/12 21:27:18 ahze Exp $
+
+PORTNAME= g-wrap
+PORTVERSION= 1.9.6
+PORTEPOCH= 1
+CATEGORIES= devel scheme
+MASTER_SITES= SAVANNAH
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A tool for exporting C libraries into Scheme interpreters
+
+BUILD_DEPENDS= slib-guile>0:${PORTSDIR}/lang/slib-guile
+LIB_DEPENDS= guile.15:${PORTSDIR}/lang/guile
+RUN_DEPENDS= slib-guile>0:${PORTSDIR}/lang/slib-guile
+
+INFO= g-wrap
+
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_GNOME= glib20 gnomehack
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|"glib"|"glib-2.0"|' \
+ ${WRKSRC}/configure
+
+pre-install:
+ @${REINPLACE_CMD} -e 's|libffi||' ${WRKSRC}/${MAKEFILE}
+
+post-install:
+ ${MKDIR} ${PREFIX}/include/g-wrap/ffi
+.for f in ffi.h ffitarget.h
+ ${INSTALL_DATA} ${WRKSRC}/libffi/include/${f} ${PREFIX}/include/g-wrap/ffi
+.endfor
+
+.include <bsd.port.mk>
diff --git a/devel/g-wrap/distinfo b/devel/g-wrap/distinfo
new file mode 100644
index 000000000..9eabe531c
--- /dev/null
+++ b/devel/g-wrap/distinfo
@@ -0,0 +1,3 @@
+MD5 (g-wrap-1.9.6.tar.gz) = 4d83964f51376500eedced538c1620cb
+SHA256 (g-wrap-1.9.6.tar.gz) = ddb0e31d40581402d6d7045cce7cdc79e0bc0627831a4b12012f45703446d311
+SIZE (g-wrap-1.9.6.tar.gz) = 826045
diff --git a/devel/g-wrap/files/patch-guile_g-wrap-2.0-guile.pc.in b/devel/g-wrap/files/patch-guile_g-wrap-2.0-guile.pc.in
new file mode 100644
index 000000000..6ffbfe171
--- /dev/null
+++ b/devel/g-wrap/files/patch-guile_g-wrap-2.0-guile.pc.in
@@ -0,0 +1,15 @@
+--- guile/g-wrap-2.0-guile.pc.in.orig Mon Oct 11 06:32:16 2004
++++ guile/g-wrap-2.0-guile.pc.in Tue Sep 12 17:10:41 2006
+@@ -5,9 +5,10 @@
+ libdir=@libdir@
+ includedir=@includedir@
+ module_directory=@GUILEMODDIR@
++ffiincludedir= @includedir@/g-wrap/ffi
+
+ Name: G-Wrap
+ Description: A Guile wrapper generator
+ Version: @VERSION@
+-Libs: -L${libdir} -lgwrap-guile-runtime -lgwrap-core-runtime @GUILE_LDFLAGS@ @LIBFFI_LIBS_INSTALLED@
+-Cflags: @STD_CFLAGS@ -I${includedir} @GUILE_CFLAGS@ @LIBFFI_CFLAGS_INSTALLED@
++Libs: -L/usr/local/lib/elf -L${libdir} -lgwrap-guile-runtime -lgwrap-core-runtime @GUILE_LDFLAGS@
++Cflags: @STD_CFLAGS@ -I${includedir} -I${ffiincludedir} @GUILE_CFLAGS@ @LIBFFI_CFLAGS_INSTALLED@
diff --git a/devel/g-wrap/files/patch-libffi_configure b/devel/g-wrap/files/patch-libffi_configure
new file mode 100644
index 000000000..2121d0c04
--- /dev/null
+++ b/devel/g-wrap/files/patch-libffi_configure
@@ -0,0 +1,11 @@
+--- libffi/configure.orig Tue Sep 12 17:01:51 2006
++++ libffi/configure Tue Sep 12 17:02:19 2006
+@@ -3285,7 +3285,7 @@
+ ;;
+ esac
+ else
+- enable_shared=yes
++ enable_shared=no # don't build shared lib (or conflict with gcc3*)
+ fi;
+
+ # Check whether --enable-static or --disable-static was given.
diff --git a/devel/g-wrap/pkg-descr b/devel/g-wrap/pkg-descr
new file mode 100644
index 000000000..22a4c7889
--- /dev/null
+++ b/devel/g-wrap/pkg-descr
@@ -0,0 +1,12 @@
+G-Wrap -- A tool for exporting C libraries into Scheme interpreters
+===================================================================
+
+This is a tool for specifying types, functions, and constants to
+import into a Scheme interpreter, and for generating code (in C) to
+interface these to the Guile and RScheme interpreters in particular.
+
+Author
+======
+ Christopher Lee (chrislee@ri.cmu.edu)
+
+WWW: http://www.gnucash.org/
diff --git a/devel/g-wrap/pkg-plist b/devel/g-wrap/pkg-plist
new file mode 100644
index 000000000..51e877875
--- /dev/null
+++ b/devel/g-wrap/pkg-plist
@@ -0,0 +1,54 @@
+bin/g-wrap-config
+include/g-wrap-wct.h
+include/g-wrap/core-runtime.h
+include/g-wrap/ffi-support.h
+include/g-wrap/ffi/ffi.h
+include/g-wrap/ffi/ffitarget.h
+include/g-wrap/guile-compatibility.h
+include/g-wrap/guile-runtime.h
+include/g-wrap/guile-wct.h
+lib/libgw-guile-gw-glib.a
+lib/libgw-guile-gw-glib.la
+lib/libgw-guile-gw-glib.so
+lib/libgw-guile-gw-glib.so.0
+lib/libgw-guile-standard.a
+lib/libgw-guile-standard.la
+lib/libgw-guile-standard.so
+lib/libgw-guile-standard.so.0
+lib/libgwrap-core-runtime.a
+lib/libgwrap-core-runtime.la
+lib/libgwrap-core-runtime.so
+lib/libgwrap-core-runtime.so.0
+lib/libgwrap-guile-runtime.a
+lib/libgwrap-guile-runtime.la
+lib/libgwrap-guile-runtime.so
+lib/libgwrap-guile-runtime.so.0
+libdata/pkgconfig/g-wrap-2.0-guile.pc
+share/guile/site/g-wrap.scm
+share/guile/site/g-wrap/c-types.scm
+share/guile/site/g-wrap/compat.scm
+share/guile/site/g-wrap/enumeration.scm
+share/guile/site/g-wrap/guile.scm
+share/guile/site/g-wrap/guile/ws/standard.scm
+share/guile/site/g-wrap/gw-glib-spec.scm
+share/guile/site/g-wrap/gw-glib.scm
+share/guile/site/g-wrap/gw-standard-spec.scm
+share/guile/site/g-wrap/gw-wct-spec.scm
+share/guile/site/g-wrap/gw-wct.scm
+share/guile/site/g-wrap/gw/standard.scm
+share/guile/site/g-wrap/rti.scm
+share/guile/site/g-wrap/simple-type.scm
+share/guile/site/g-wrap/util.scm
+share/guile/site/g-wrap/ws/standard.scm
+share/guile/site/srfi/srfi-34.scm
+share/guile/site/srfi/srfi-35.scm
+@dirrmtry share/guile/site/srfi
+@dirrmtry share/guile/site/g-wrap/ws
+@dirrmtry share/guile/site/g-wrap/gw
+@dirrmtry share/guile/site/g-wrap/guile/ws
+@dirrmtry share/guile/site/g-wrap/guile
+@dirrmtry share/guile/site/g-wrap
+@dirrmtry share/guile/site
+@dirrmtry share/guile
+@dirrm include/g-wrap/ffi
+@dirrm include/g-wrap