diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-19 00:55:13 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-19 00:55:13 +0800 |
commit | 2e35a4f026ad6019b5c15650f66e3642c491f502 (patch) | |
tree | 9e1eda29566712652cd0b0093db711e0e4dc3966 /x11-toolkits/guile-gtk | |
parent | a89d3ae00c9679c9f929d3a93a484027d5c79933 (diff) | |
download | marcuscom-ports-2e35a4f026ad6019b5c15650f66e3642c491f502.tar marcuscom-ports-2e35a4f026ad6019b5c15650f66e3642c491f502.tar.gz marcuscom-ports-2e35a4f026ad6019b5c15650f66e3642c491f502.tar.bz2 marcuscom-ports-2e35a4f026ad6019b5c15650f66e3642c491f502.tar.lz marcuscom-ports-2e35a4f026ad6019b5c15650f66e3642c491f502.tar.xz marcuscom-ports-2e35a4f026ad6019b5c15650f66e3642c491f502.tar.zst marcuscom-ports-2e35a4f026ad6019b5c15650f66e3642c491f502.zip |
- Move to LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6640 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/guile-gtk')
-rw-r--r-- | x11-toolkits/guile-gtk/Makefile | 35 | ||||
-rw-r--r-- | x11-toolkits/guile-gtk/distinfo | 3 | ||||
-rw-r--r-- | x11-toolkits/guile-gtk/files/patch-aa | 10 | ||||
-rw-r--r-- | x11-toolkits/guile-gtk/files/patch-guile-gtk.c | 19 | ||||
-rw-r--r-- | x11-toolkits/guile-gtk/pkg-descr | 3 | ||||
-rw-r--r-- | x11-toolkits/guile-gtk/pkg-plist | 37 |
6 files changed, 107 insertions, 0 deletions
diff --git a/x11-toolkits/guile-gtk/Makefile b/x11-toolkits/guile-gtk/Makefile new file mode 100644 index 000000000..811b833ca --- /dev/null +++ b/x11-toolkits/guile-gtk/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: guile-gtk +# Date created: 1 January 2000 +# Whom: Matt Braithwaite <mab@red-bean.com> +# +# $FreeBSD$ +# $MCom$ + +PORTNAME= guile-gtk +PORTVERSION= 0.41 +PORTREVISION= 2 +CATEGORIES= x11-toolkits scheme +MASTER_SITES= ${MASTER_SITE_SAVANNAH} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Guile binding library for GTK+ + +LIB_DEPENDS= guile.15:${PORTSDIR}/lang/guile + +USE_XLIB= yes +USE_GMAKE= yes +USE_GNOME= gnometarget gdkpixbuf libglade +GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes +CONFIGURE_ARGS= --with-gtkgl=no +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +INFO= guile-gtk + +post-patch: + @${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|gtk-1\.2/||g' + +.include <bsd.port.mk> diff --git a/x11-toolkits/guile-gtk/distinfo b/x11-toolkits/guile-gtk/distinfo new file mode 100644 index 000000000..de602f383 --- /dev/null +++ b/x11-toolkits/guile-gtk/distinfo @@ -0,0 +1,3 @@ +MD5 (guile-gtk-0.41.tar.gz) = 4e3ddf52cec8d900dd2180d18a1a1dd8 +SHA256 (guile-gtk-0.41.tar.gz) = 1193faf62d176470d9eea846c590da019d2b980c8472960fdd8f2c55d502193d +SIZE (guile-gtk-0.41.tar.gz) = 697414 diff --git a/x11-toolkits/guile-gtk/files/patch-aa b/x11-toolkits/guile-gtk/files/patch-aa new file mode 100644 index 000000000..034254596 --- /dev/null +++ b/x11-toolkits/guile-gtk/files/patch-aa @@ -0,0 +1,10 @@ +--- gtk-threads.c.orig Thu Nov 30 09:22:53 2000 ++++ gtk-threads.c Wed Feb 28 10:40:06 2001 +@@ -244,3 +244,7 @@ + ++#ifdef __FreeBSD__ ++ timed_out = (result == ETIMEDOUT); ++#else + timed_out = (result == ETIME); ++#endif + diff --git a/x11-toolkits/guile-gtk/files/patch-guile-gtk.c b/x11-toolkits/guile-gtk/files/patch-guile-gtk.c new file mode 100644 index 000000000..b38607b08 --- /dev/null +++ b/x11-toolkits/guile-gtk/files/patch-guile-gtk.c @@ -0,0 +1,19 @@ +--- guile-gtk.c.orig Wed Apr 30 23:26:36 2003 ++++ guile-gtk.c Wed Apr 30 23:27:57 2003 +@@ -19,6 +19,7 @@ + #include <string.h> + #include <config.h> + #include <assert.h> ++#include <sys/types.h> + #ifdef GTK_2_0 + #include <gtk-2.0/gtk/gtk.h> + #include <gtk-2.0/gdk/gdkprivate.h> +@@ -44,6 +45,8 @@ + #ifndef SCM_VECTOR_SET + #define SCM_VECTOR_SET(obj,i,v) (SCM_VELTS(obj)[i]=(v)) + #endif ++ ++typedef unsigned long ulong; + + static SCM + sgtk_make_cell (scm_t_bits word0, scm_t_bits word1) diff --git a/x11-toolkits/guile-gtk/pkg-descr b/x11-toolkits/guile-gtk/pkg-descr new file mode 100644 index 000000000..73fa3c40f --- /dev/null +++ b/x11-toolkits/guile-gtk/pkg-descr @@ -0,0 +1,3 @@ +GUILE binding library for GTK+ + +WWW: http://www.gnu.org/software/guile-gtk/ diff --git a/x11-toolkits/guile-gtk/pkg-plist b/x11-toolkits/guile-gtk/pkg-plist new file mode 100644 index 000000000..03f078bfe --- /dev/null +++ b/x11-toolkits/guile-gtk/pkg-plist @@ -0,0 +1,37 @@ +bin/build-guile-gtk +bin/build-guile-gtk-1.2 +include/guile-gtk.h +lib/libguilegdkpixbuf-1.2.a +lib/libguilegdkpixbuf-1.2.la +lib/libguilegdkpixbuf-1.2.so +lib/libguilegdkpixbuf-1.2.so.0 +lib/libguileglade-1.2.a +lib/libguileglade-1.2.la +lib/libguileglade-1.2.so +lib/libguileglade-1.2.so.0 +lib/libguilegtk-1.2.a +lib/libguilegtk-1.2.la +lib/libguilegtk-1.2.so +lib/libguilegtk-1.2.so.0 +%%DATADIR%%/gdk-1.2.defs +%%DATADIR%%/gdk-pixbuf.defs +%%DATADIR%%/glade.defs +%%DATADIR%%/gtk-1.2.defs +share/guile/gtk-1.2/config.scm +share/guile/gtk-1.2/dynlink.scm +share/guile/gtk-1.2/gdk-pixbuf.scm +share/guile/gtk-1.2/gdk.scm +share/guile/gtk-1.2/glade.scm +share/guile/gtk-1.2/gtk.scm +share/guile/gtk-1.2/repl.scm +share/guile/gtk-1.2/threads.scm +share/guile/gtk/config.scm +share/guile/gtk/dynlink.scm +share/guile/gtk/gdk.scm +share/guile/gtk/gtk.scm +share/guile/gtk/repl.scm +share/guile/gtk/threads.scm +@dirrm %%DATADIR%% +@dirrm share/guile/gtk-1.2 +@dirrm share/guile/gtk +@dirrm share/guile |