aboutsummaryrefslogtreecommitdiff
path: root/www/gecko-sharp10
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2004-11-26 06:04:12 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2004-11-26 06:04:12 +0000
commitc424937ebe3fc21946c5bb2f9c3818aec3841f71 (patch)
tree600e718fea4c1b08bb6871dc7be0b2a7cab7ab15 /www/gecko-sharp10
parentdd94f21336ea2a4e2a4518c2f92b38191d91441a (diff)
downloadports-c424937ebe3fc21946c5bb2f9c3818aec3841f71.tar.gz
ports-c424937ebe3fc21946c5bb2f9c3818aec3841f71.zip
Notes
Diffstat (limited to 'www/gecko-sharp10')
-rw-r--r--www/gecko-sharp10/Makefile25
-rw-r--r--www/gecko-sharp10/distinfo2
-rw-r--r--www/gecko-sharp10/files/patch-gtkmozembed::Makefile.in24
-rw-r--r--www/gecko-sharp10/files/patch-gtkmozembed::gecko-sharp.dll.config13
-rw-r--r--www/gecko-sharp10/files/patch-samples::Makefile.in19
-rw-r--r--www/gecko-sharp10/pkg-descr2
-rw-r--r--www/gecko-sharp10/pkg-plist12
7 files changed, 97 insertions, 0 deletions
diff --git a/www/gecko-sharp10/Makefile b/www/gecko-sharp10/Makefile
new file mode 100644
index 000000000000..3fc841467a06
--- /dev/null
+++ b/www/gecko-sharp10/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: gecko-sharp
+# Date created: 20040825
+# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gecko-sharp
+PORTVERSION= 0.6
+CATEGORIES= www
+MASTER_SITES= http://go-mono.com/archive/1.0.3/
+
+MAINTAINER= tmclaugh@sdf.lonestar.org
+COMMENT= Mono bindings for embeding mozilla
+
+BUILD_DEPENDS= gapi-parser:${PORTSDIR}/x11-toolkits/gtk-sharp
+RUN_DEPENDS= ${BUILD_DEPENDS} \
+ ${X11BASE}/lib/mozilla/components/libwidget_gtk2.so:${PORTSDIR}/www/mozilla
+
+USE_GNOME= gnomehack gnometarget
+USE_X_PREFIX= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+.include <bsd.port.mk>
diff --git a/www/gecko-sharp10/distinfo b/www/gecko-sharp10/distinfo
new file mode 100644
index 000000000000..33eb3d50ddee
--- /dev/null
+++ b/www/gecko-sharp10/distinfo
@@ -0,0 +1,2 @@
+MD5 (gecko-sharp-0.6.tar.gz) = 9ce9bb08125f7c7eecf8bd696a3345bd
+SIZE (gecko-sharp-0.6.tar.gz) = 110979
diff --git a/www/gecko-sharp10/files/patch-gtkmozembed::Makefile.in b/www/gecko-sharp10/files/patch-gtkmozembed::Makefile.in
new file mode 100644
index 000000000000..2b10a994f1c4
--- /dev/null
+++ b/www/gecko-sharp10/files/patch-gtkmozembed::Makefile.in
@@ -0,0 +1,24 @@
+--- gtkmozembed/Makefile.in.orig Tue Sep 21 22:51:02 2004
++++ gtkmozembed/Makefile.in Tue Sep 21 22:54:11 2004
+@@ -262,16 +262,16 @@
+
+ gecko-sharp.dll: $(build_sources) generated-stamp gecko-sharp.snk
+ $(MCS) --unsafe --target library -L $(GTKSHARP_PREFIX)/lib \
+- /pkg:gtk-sharp \
++ `pkg-config --libs gtk-sharp` \
+ $(build_sources) generated/*.cs -o gecko-sharp.dll
+
+ install-data-local:
+- echo "$(GACUTIL) /i $(ASSEMBLY) /f /package gecko-sharp /root $(DESTDIR)$(libdir)"; \
+- $(GACUTIL) /i $(ASSEMBLY) /f /package gecko-sharp /root $(DESTDIR)$(libdir) || exit 1;
++ echo "$(GACUTIL) /i $(ASSEMBLY) /f /package gecko-sharp /root $(DESTDIR)$(libdir) /gacdir $(DESTDIR)$(libdir)"; \
++ $(GACUTIL) /i $(ASSEMBLY) /f /package gecko-sharp /root $(DESTDIR)$(libdir) /gacdir $(DESTDIR)$(libdir) || exit 1;
+
+ uninstall-local:
+- echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /package gecko-sharp /root $(DESTDIR)$(libdir)"; \
+- $(GACUTIL) /u $(ASSEMBLY_NAME) /package gecko-sharp /root $(DESTDIR)$(libdir) || exit 1;
++ echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /package gecko-sharp /root $(DESTDIR)$(libdir) /gacdir $(DESTDIR)$(libdir)"; \
++ $(GACUTIL) /u $(ASSEMBLY_NAME) /package gecko-sharp /root $(DESTDIR)$(libdir) /gacdir $(DESTDIR)$(libdir) || exit 1;
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/www/gecko-sharp10/files/patch-gtkmozembed::gecko-sharp.dll.config b/www/gecko-sharp10/files/patch-gtkmozembed::gecko-sharp.dll.config
new file mode 100644
index 000000000000..54dc6ec52d51
--- /dev/null
+++ b/www/gecko-sharp10/files/patch-gtkmozembed::gecko-sharp.dll.config
@@ -0,0 +1,13 @@
+--- gtkmozembed/gecko-sharp.dll.config.orig Wed May 5 22:34:49 2004
++++ gtkmozembed/gecko-sharp.dll.config Wed Aug 25 19:22:11 2004
+@@ -1,6 +1,6 @@
+ <configuration>
+- <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so.0"/>
+- <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.0"/>
+- <dllmap dll="libatk-1.0-0.dll" target="libatk-1.0.so.0"/>
+- <dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so.0"/>
++ <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so"/>
++ <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so"/>
++ <dllmap dll="libatk-1.0-0.dll" target="libatk-1.0.so"/>
++ <dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so"/>
+ </configuration>
diff --git a/www/gecko-sharp10/files/patch-samples::Makefile.in b/www/gecko-sharp10/files/patch-samples::Makefile.in
new file mode 100644
index 000000000000..bff97d28d7a2
--- /dev/null
+++ b/www/gecko-sharp10/files/patch-samples::Makefile.in
@@ -0,0 +1,19 @@
+--- sample/Makefile.in.orig Sat Aug 28 00:22:09 2004
++++ sample/Makefile.in Sat Aug 28 00:24:05 2004
+@@ -274,14 +274,14 @@
+ -L @top_builddir@/gtkmozembed \
+ -r gecko-sharp.dll \
+ -L $(GTKSHARP_PREFIX)/lib \
+- -pkg:gtk-sharp \
++ `pkg-config --libs gtk-sharp` \
+ -r System.Drawing \
+ -o GtkMozApp.exe $(srcdir)/GtkMozApp.cs $(srcdir)/MozWindow.cs
+
+ WebThumbnailer.exe: $(srcdir)/WebThumbnailer.cs
+ $(MCS) -L @top_builddir@/gtkmozembed \
+ -r gecko-sharp.dll \
+- -pkg:gtk-sharp $(srcdir)/WebThumbnailer.cs \
++ `pkg-config --libs gtk-sharp` $(srcdir)/WebThumbnailer.cs \
+ -o WebThumbnailer.exe
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/www/gecko-sharp10/pkg-descr b/www/gecko-sharp10/pkg-descr
new file mode 100644
index 000000000000..ef3278412c9e
--- /dev/null
+++ b/www/gecko-sharp10/pkg-descr
@@ -0,0 +1,2 @@
+C# language binding for the gtkembedmoz widget. You can use it to embed
+mozilla into C# programs.
diff --git a/www/gecko-sharp10/pkg-plist b/www/gecko-sharp10/pkg-plist
new file mode 100644
index 000000000000..985c3ac5e691
--- /dev/null
+++ b/www/gecko-sharp10/pkg-plist
@@ -0,0 +1,12 @@
+bin/webshot
+lib/gecko-sharp/WebThumbnailer.exe
+@unexec gacutil /u gecko-sharp.dll /f /package gecko-sharp /root %D/lib /gacdir %D/lib > /dev/null || /usr/bin/true
+lib/mono/gac/gecko-sharp/1.0.0.0__ccf7d78a55e9f021/gecko-sharp.dll
+@exec gacutil /i gecko-sharp.dll /f /package gecko-sharp /root %D/lib /gacdir %D/lib> /dev/null || /usr/bin/true
+lib/mono/gac/gecko-sharp/1.0.0.0__ccf7d78a55e9f021/gecko-sharp.dll.config
+lib/mono/gecko-sharp/gecko-sharp.dll
+libdata/pkgconfig/gecko-sharp.pc
+@dirrm lib/mono/gecko-sharp
+@dirrm lib/mono/gac/gecko-sharp/1.0.0.0__ccf7d78a55e9f021
+@dirrm lib/mono/gac/gecko-sharp
+@dirrm lib/gecko-sharp