summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/seed/Makefile54
-rw-r--r--devel/seed/distinfo3
-rw-r--r--devel/seed/files/patch-modules_gettext_seed-gettext.c27
-rw-r--r--devel/seed/files/patch-modules_os_seed-os.c41
-rw-r--r--devel/seed/pkg-descr7
-rw-r--r--devel/seed/pkg-plist209
6 files changed, 341 insertions, 0 deletions
diff --git a/devel/seed/Makefile b/devel/seed/Makefile
new file mode 100644
index 000000000..6b860c245
--- /dev/null
+++ b/devel/seed/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: seed
+# Date created: 19 July 2009
+# Whom: Alexander Logvinov <avl@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= seed
+PORTVERSION= 0.8.5
+CATEGORIES= devel gnome
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= GObject JavaScriptCore bridge
+
+BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gnome-js-common.pc:${PORTSDIR}/devel/gnome-js-common
+LIB_DEPENDS= ffi.5:${PORTSDIR}/devel/libffi \
+ webkit-1.0.10:${PORTSDIR}/www/webkit-gtk2 \
+ girepository-1.0.0:${PORTSDIR}/devel/gobject-introspection \
+ dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
+ sqlite3.8:${PORTSDIR}/databases/sqlite3 \
+ mpfr.3:${PORTSDIR}/math/mpfr
+
+USE_BZIP2= yes
+GNU_CONFIGURE= yes
+USE_GETTEXT= yes
+USE_GNOME= gnomehack gtk20 intltool libxml2
+USE_LDCONFIG= yes
+USE_AUTOTOOLS= libtool:22
+USE_GMAKE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS+=--enable-gtk-doc=no
+
+MAN1= seed.1
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|== x|= x|g' \
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|reference||g' ${WRKSRC}/doc/Makefile.in
+ @${FIND} ${WRKSRC}/examples -name Makefile.in -type f | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|$$(datadir)/doc/seed/examples|${EXAMPLESDIR}|g'
+.if defined(NOPORTEXAMPLES)
+ @${REINPLACE_CMD} -e 's|examples||g' \
+ ${WRKSRC}/Makefile.in
+.endif
+.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -e 's| install-seeddocDATA||g ; s|doc$$||g' \
+ ${WRKSRC}/Makefile.in
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/seed/distinfo b/devel/seed/distinfo
new file mode 100644
index 000000000..aae0c6bdd
--- /dev/null
+++ b/devel/seed/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/seed-0.8.5.tar.bz2) = c97ab62373863e0ddcdc906833c438c5
+SHA256 (gnome2/seed-0.8.5.tar.bz2) = f0286f6258fc837cd5a15f38b8b865052756007e9419b4e67cc42eaebfeb1851
+SIZE (gnome2/seed-0.8.5.tar.bz2) = 1306988
diff --git a/devel/seed/files/patch-modules_gettext_seed-gettext.c b/devel/seed/files/patch-modules_gettext_seed-gettext.c
new file mode 100644
index 000000000..999f1d97a
--- /dev/null
+++ b/devel/seed/files/patch-modules_gettext_seed-gettext.c
@@ -0,0 +1,27 @@
+--- modules/gettext/seed-gettext.c.orig 2009-07-26 19:23:31.000000000 -0400
++++ modules/gettext/seed-gettext.c 2009-07-26 19:25:12.000000000 -0400
+@@ -293,12 +293,24 @@ seed_module_init(SeedEngine *local_eng)
+ DEFINE_ENUM_MEMBER(ns_ref, LC_MONETARY);
+ DEFINE_ENUM_MEMBER(ns_ref, LC_MESSAGES);
+ DEFINE_ENUM_MEMBER(ns_ref, LC_ALL);
++#ifdef LC_PAPER
+ DEFINE_ENUM_MEMBER(ns_ref, LC_PAPER);
++#endif
++#ifdef LC_NAME
+ DEFINE_ENUM_MEMBER(ns_ref, LC_NAME);
++#endif
++#ifdef LC_ADDRESS
+ DEFINE_ENUM_MEMBER(ns_ref, LC_ADDRESS);
++#endif
++#ifdef LC_TELEPHONE
+ DEFINE_ENUM_MEMBER(ns_ref, LC_TELEPHONE);
++#endif
++#ifdef LC_MEASUREMENT
+ DEFINE_ENUM_MEMBER(ns_ref, LC_MEASUREMENT);
++#endif
++#ifdef LC_IDENTIFICATION
+ DEFINE_ENUM_MEMBER(ns_ref, LC_IDENTIFICATION);
++#endif
+ DEFINE_ENUM_MEMBER(ns_ref, LC_CTYPE);
+
+ return ns_ref;
diff --git a/devel/seed/files/patch-modules_os_seed-os.c b/devel/seed/files/patch-modules_os_seed-os.c
new file mode 100644
index 000000000..7c495abea
--- /dev/null
+++ b/devel/seed/files/patch-modules_os_seed-os.c
@@ -0,0 +1,41 @@
+--- modules/os/seed-os.c.orig 2009-07-08 14:21:59.000000000 -0400
++++ modules/os/seed-os.c 2009-07-27 12:55:03.000000000 -0400
+@@ -12,6 +12,9 @@
+ #include <sys/utsname.h>
+
+ #include <sys/types.h>
++#include <sys/ioctl.h>
++#include <termios.h>
++#include <libutil.h>
+
+ #include <fcntl.h>
+
+@@ -661,6 +664,7 @@ seed_os_fdatasync (SeedContext ctx,
+ const SeedValue arguments[],
+ SeedException * exception)
+ {
++#if !defined(__FreeBSD__)
+ gint fd;
+
+ if (argument_count != 1)
+@@ -670,6 +674,10 @@ seed_os_fdatasync (SeedContext ctx,
+ fd = seed_value_to_int (ctx, arguments[0], exception);
+
+ return seed_value_from_int (ctx, fdatasync (fd), exception);
++#else
++ errno = ENOSYS;
++ return seed_value_from_int (ctx, -1, exception);
++#endif
+ }
+
+ SeedValue
+@@ -1070,7 +1078,9 @@ seed_module_init(SeedEngine * eng)
+ #if defined (O_DIRECT)
+ OS_DEFINE_QUICK_ENUM (O_DIRECT);
+ #endif
++#if defined (O_DIRECTORY)
+ OS_DEFINE_QUICK_ENUM (O_DIRECTORY);
++#endif
+ OS_DEFINE_QUICK_ENUM (O_NOFOLLOW);
+ #if defined (O_NOATIME)
+ OS_DEFINE_QUICK_ENUM (O_NOATIME);
diff --git a/devel/seed/pkg-descr b/devel/seed/pkg-descr
new file mode 100644
index 000000000..ffc081bb3
--- /dev/null
+++ b/devel/seed/pkg-descr
@@ -0,0 +1,7 @@
+Seed is a library and interpreter, dynamically bridging (through
+GObjectIntrospection) the WebKit JavaScriptCore engine, with the GNOME
+platform. Seed serves as something which enables you to write standalone
+applications in JavaScript, or easily enable your application to be extensible
+in JavaScript.
+
+WWW: http://live.gnome.org/Seed
diff --git a/devel/seed/pkg-plist b/devel/seed/pkg-plist
new file mode 100644
index 000000000..30d1c4529
--- /dev/null
+++ b/devel/seed/pkg-plist
@@ -0,0 +1,209 @@
+bin/seed
+include/seed/seed-debug.h
+include/seed/seed-module.h
+include/seed/seed.h
+lib/libseed.a
+lib/libseed.la
+lib/libseed.so
+lib/libseed.so.0
+lib/seed/libseed_cairo.a
+lib/seed/libseed_cairo.la
+lib/seed/libseed_cairo.so
+lib/seed/libseed_cairo.so.0
+lib/seed/libseed_canvas.a
+lib/seed/libseed_canvas.la
+lib/seed/libseed_canvas.so
+lib/seed/libseed_canvas.so.0
+lib/seed/libseed_dbusnative.a
+lib/seed/libseed_dbusnative.la
+lib/seed/libseed_dbusnative.so
+lib/seed/libseed_dbusnative.so.0
+lib/seed/libseed_example.a
+lib/seed/libseed_example.la
+lib/seed/libseed_example.so
+lib/seed/libseed_example.so.0
+lib/seed/libseed_gettext.a
+lib/seed/libseed_gettext.la
+lib/seed/libseed_gettext.so
+lib/seed/libseed_gettext.so.0
+lib/seed/libseed_gtkbuilder.a
+lib/seed/libseed_gtkbuilder.la
+lib/seed/libseed_gtkbuilder.so
+lib/seed/libseed_gtkbuilder.so.0
+lib/seed/libseed_libxml.a
+lib/seed/libseed_libxml.la
+lib/seed/libseed_libxml.so
+lib/seed/libseed_libxml.so.0
+lib/seed/libseed_mpfr.a
+lib/seed/libseed_mpfr.la
+lib/seed/libseed_mpfr.so
+lib/seed/libseed_mpfr.so.0
+lib/seed/libseed_multiprocessing.a
+lib/seed/libseed_multiprocessing.la
+lib/seed/libseed_multiprocessing.so
+lib/seed/libseed_multiprocessing.so.0
+lib/seed/libseed_os.a
+lib/seed/libseed_os.la
+lib/seed/libseed_os.so
+lib/seed/libseed_os.so.0
+lib/seed/libseed_readline.a
+lib/seed/libseed_readline.la
+lib/seed/libseed_readline.so
+lib/seed/libseed_readline.so.0
+lib/seed/libseed_sandbox.a
+lib/seed/libseed_sandbox.la
+lib/seed/libseed_sandbox.so
+lib/seed/libseed_sandbox.so.0
+lib/seed/libseed_sqlite.a
+lib/seed/libseed_sqlite.la
+lib/seed/libseed_sqlite.so
+lib/seed/libseed_sqlite.so.0
+libdata/pkgconfig/seed.pc
+%%DATADIR%%/dbus.js
+%%DATADIR%%/extensions/Clutter.js
+%%DATADIR%%/extensions/GObject.js
+%%DATADIR%%/extensions/Gio.js
+%%DATADIR%%/extensions/Gst.js
+%%DATADIR%%/extensions/Gtk.js
+%%DATADIR%%/extensions/Seed.js
+%%DATADIR%%/extensions/xml.js
+%%DATADIR%%/lang.js
+%%PORTEXAMPLES%%%%DATADIR%%/repl.js
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/RELEASE
+%%PORTDOCS%%%%DOCSDIR%%/conventions.html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Gnio-server.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Gnio.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/HACKING
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/accelgroup.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/actions.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/async-quine.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/browser/BrowserSettings.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/browser/BrowserStatusbar.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/browser/BrowserTab.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/browser/BrowserToolbar.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/browser/BrowserView.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/browser/COPYING
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/browser/TabbedBrowser.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/browser/main.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cairo.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-0.8.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-0.9.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-cairo.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-cogl-0.8.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-cogl-0.9.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-pad/clutter-pad.ui
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-pad/examples/animated-rectangle.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-pad/examples/box2d.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-pad/examples/cairo.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-pad/examples/pink-stage.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-pad/examples/spring.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-pad/main.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-pad/redhand.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-shader/ShaderEditor.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-shader/ShaderView.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-shader/bob.jpg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-shader/default.glsl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-shader/main.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-transitions/main.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-transitions/one.jpg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-transitions/transition-library.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-transitions/two.jpg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dbus/dbus-banshee.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dbus/dbus-consolekit.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dbus/dbus-networkmanager.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dbus/networkManagerIfaces.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gconf.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gdkpixbufloader.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/glib/env.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/glib/pretty.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/glib/thread.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/glib/timeout.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/glib/timer.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/glib/twitter.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gtkplug.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gtktextview.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gtktreeview.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/json-packing.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/json-reddit.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ls.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/n-oscillator.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/notify-test.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/opengl/glut-teapot.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/opengl/seed-gears.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/opengl/triangle-actor.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pango-fontset.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pango.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pong/ball.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pong/midline.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pong/player.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pong/player2.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pong/pong.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/poppler.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/quine.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/repl.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/soup.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/threaded-repl.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/video.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vte-test.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xml/sample.xml
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xml/weather.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xml/xml-dom.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xml/xml-tree.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xml/xml-xpath.js
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/mapping/enum-mapping.png
+%%PORTDOCS%%%%DOCSDIR%%/mapping/mapping.html
+%%PORTDOCS%%%%DOCSDIR%%/modules/canvas.html
+%%PORTDOCS%%%%DOCSDIR%%/modules/gtkbuilder/html/gtkbuilder-funcs.xml
+%%PORTDOCS%%%%DOCSDIR%%/modules/multiprocessing.html
+%%PORTDOCS%%%%DOCSDIR%%/modules/readline/html/readline-funcs.xml
+%%PORTDOCS%%%%DOCSDIR%%/modules/sandbox/html/sandbox-funcs.xml
+%%PORTDOCS%%%%DOCSDIR%%/modules/sqlite/html/sqlite-funcs.xml
+%%PORTDOCS%%%%DOCSDIR%%/runtime.html
+%%PORTDOCS%%%%DOCSDIR%%/sh.css
+%%PORTDOCS%%%%DOCSDIR%%/sh.js
+%%PORTDOCS%%%%DOCSDIR%%/sh_js.js
+%%PORTDOCS%%%%DOCSDIR%%/style.css
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/1.js
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/1.png
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/2.js
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/2.png
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/3.js
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/3.png
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/4.png
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/packing.png
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/packing.svg
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/tutorial.html
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/browser
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/clutter-pad/examples
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/clutter-pad
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/clutter-shader
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/clutter-transitions
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/dbus
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/glib
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/opengl
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/pong
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/xml
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/mapping
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/modules/gtkbuilder/html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/modules/gtkbuilder
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/modules/readline/html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/modules/readline
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/modules/sandbox/html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/modules/sandbox
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/modules/sqlite/html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/modules/sqlite
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/modules
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/tutorial
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm include/seed
+@dirrm lib/seed
+@dirrm %%DATADIR%%/extensions
+@dirrm %%DATADIR%%