aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortmclaugh <tmclaugh@FreeBSD.org>2005-11-10 12:51:48 +0800
committertmclaugh <tmclaugh@FreeBSD.org>2005-11-10 12:51:48 +0800
commit2959eb1ef30b5e12f2862d590def4b4ebfc98b15 (patch)
treefa15b5b12060973f9e7a08d5b98ec9764ecabee2
parent1d70d847ada550c5420b02549544fadb602cad6d (diff)
downloadfreebsd-ports-gnome-2959eb1ef30b5e12f2862d590def4b4ebfc98b15.tar.gz
freebsd-ports-gnome-2959eb1ef30b5e12f2862d590def4b4ebfc98b15.tar.zst
freebsd-ports-gnome-2959eb1ef30b5e12f2862d590def4b4ebfc98b15.zip
Evolution# is the .NET language binding for various Ximian Evolution
libraries. WWW: www.gnome.org Approved by: ahze (mentor)
-rw-r--r--mail/Makefile1
-rw-r--r--mail/evolution-sharp/Makefile32
-rw-r--r--mail/evolution-sharp/distinfo2
-rw-r--r--mail/evolution-sharp/files/patch-evolution::Makefile.in21
-rw-r--r--mail/evolution-sharp/files/patch-evolution::evolution-sharp.dll.config.in11
-rw-r--r--mail/evolution-sharp/files/patch-evolution_src_GLibUtil.cs20
-rw-r--r--mail/evolution-sharp/pkg-descr4
-rw-r--r--mail/evolution-sharp/pkg-plist12
8 files changed, 103 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 5e771e088e55..dfe3fe36beb2 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -82,6 +82,7 @@
SUBDIR += esmtp
SUBDIR += evolution
SUBDIR += evolution-exchange
+ SUBDIR += evolution-sharp
SUBDIR += exact
SUBDIR += exilog
SUBDIR += exim
diff --git a/mail/evolution-sharp/Makefile b/mail/evolution-sharp/Makefile
new file mode 100644
index 000000000000..17354e00b273
--- /dev/null
+++ b/mail/evolution-sharp/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: evolution-sharp
+# Date created: 20041012
+# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
+#
+# $FreeBSD$
+# $Id: Makefile,v 1.18 2005/10/22 22:55:02 tmclau02 Exp $
+#
+
+PORTNAME= evolution-sharp
+PORTVERSION= 0.10.2
+PORTREVISION= 1
+CATEGORIES= mail gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.10
+
+MAINTAINER= tmclaugh@sdf.lonestar.org
+COMMENT= Mono bindings for evolution
+
+BUILD_DEPENDS= gapi2-fixup:${PORTSDIR}/x11-toolkits/gtk-sharp20 \
+ evolution:${PORTSDIR}/mail/evolution
+RUN_DEPENDS= gapi2-fixup:${PORTSDIR}/x11-toolkits/gtk-sharp20 \
+ evolution:${PORTSDIR}/mail/evolution
+
+USE_GNOME= gnomehack evolutiondataserver
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_LIBTOOL_VER=15
+USE_GMAKE= yes
+INSTALLS_SHLIB= yes
+
+.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
+.include <bsd.port.mk>
diff --git a/mail/evolution-sharp/distinfo b/mail/evolution-sharp/distinfo
new file mode 100644
index 000000000000..263aeec13746
--- /dev/null
+++ b/mail/evolution-sharp/distinfo
@@ -0,0 +1,2 @@
+MD5 (evolution-sharp-0.10.2.tar.bz2) = 66957006f02706490d244d4f01ec542d
+SIZE (evolution-sharp-0.10.2.tar.bz2) = 297442
diff --git a/mail/evolution-sharp/files/patch-evolution::Makefile.in b/mail/evolution-sharp/files/patch-evolution::Makefile.in
new file mode 100644
index 000000000000..8142f4ec7e49
--- /dev/null
+++ b/mail/evolution-sharp/files/patch-evolution::Makefile.in
@@ -0,0 +1,21 @@
+--- evolution/Makefile.in.orig Thu Mar 3 00:28:29 2005
++++ evolution/Makefile.in Thu Mar 3 00:44:28 2005
+@@ -364,14 +364,14 @@
+
+ install-data-local:
+ @if test -n '$(TARGET)'; then \
+- echo "$(GACUTIL) /i $(ASSEMBLY) /f /package $(PACKAGE) /root $(DESTDIR)$(libdir)"; \
+- $(GACUTIL) /i $(ASSEMBLY) /f /package $(PACKAGE) /root $(DESTDIR)$(libdir) || exit 1; \
++ echo "$(GACUTIL) /i $(ASSEMBLY) /f /package $(PACKAGE) /gacdir $(DESTDIR)$(libdir) /root $(DESTDIR)$(libdir)"; \
++ $(GACUTIL) /i $(ASSEMBLY) /f /package $(PACKAGE) /gacdir $(DESTDIR)$(libdir) /root $(DESTDIR)$(libdir) || exit 1; \
+ fi
+
+ uninstall-local:
+ @if test -n '$(TARGET)'; then \
+- echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /package $(PACKAGE) /root $(DESTDIR)$(libdir)"; \
+- $(GACUTIL) /u $(ASSEMBLY_NAME) /package $(PACKAGE) /root $(DESTDIR)$(libdir) || exit 1; \
++ echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /package $(PACKAGE) /gacdir $(DESTDIR)$(libdir) /root $(DESTDIR)$(libdir)"; \
++ $(GACUTIL) /u $(ASSEMBLY_NAME) /package $(PACKAGE) /gacdir $(DESTDIR)$(libdir) /root $(DESTDIR)$(libdir) || exit 1; \
+ fi
+
+ evolution-sharp.pub: $(top_srcdir)/evolution-sharp.pub
diff --git a/mail/evolution-sharp/files/patch-evolution::evolution-sharp.dll.config.in b/mail/evolution-sharp/files/patch-evolution::evolution-sharp.dll.config.in
new file mode 100644
index 000000000000..e0b22d5b11b9
--- /dev/null
+++ b/mail/evolution-sharp/files/patch-evolution::evolution-sharp.dll.config.in
@@ -0,0 +1,11 @@
+--- evolution/evolution-sharp.dll.config.in.orig Mon Jul 18 11:21:22 2005
++++ evolution/evolution-sharp.dll.config.in Sun Aug 21 20:32:22 2005
+@@ -1,5 +1,5 @@
+ <configuration>
+- <dllmap dll="ebook" target="libebook@EDS_VERSION@@LIB_PREFIX@.@EBOOK_SOVERSION@@LIB_SUFFIX@"/>
+- <dllmap dll="ecal" target="libecal@EDS_VERSION@@LIB_PREFIX@.@ECAL_SOVERSION@@LIB_SUFFIX@"/>
+- <dllmap dll="edataserver" target="libedataserver@EDS_VERSION@@LIB_PREFIX@.@EDS_SOVERSION@@LIB_SUFFIX@"/>
++ <dllmap dll="ebook" target="libebook@EDS_VERSION@@LIB_PREFIX@"/>
++ <dllmap dll="ecal" target="libecal@EDS_VERSION@@LIB_PREFIX@"/>
++ <dllmap dll="edataserver" target="libedataserver@EDS_VERSION@@LIB_PREFIX@"/>
+ </configuration>
diff --git a/mail/evolution-sharp/files/patch-evolution_src_GLibUtil.cs b/mail/evolution-sharp/files/patch-evolution_src_GLibUtil.cs
new file mode 100644
index 000000000000..b39595d3e591
--- /dev/null
+++ b/mail/evolution-sharp/files/patch-evolution_src_GLibUtil.cs
@@ -0,0 +1,20 @@
+--- evolution/src/GLibUtil.cs.orig Mon Sep 12 16:49:54 2005
++++ evolution/src/GLibUtil.cs Mon Oct 3 23:49:21 2005
+@@ -10,7 +10,7 @@
+ return ((int)time.Subtract (local_epoch).TotalSeconds);
+ }
+
+- [DllImport("libglib-2.0.so.0")]
++ [DllImport("libglib-2.0.so")]
+ public static extern int g_slist_length (IntPtr slist);
+
+ [DllImport("glibsharpglue")]
+@@ -19,7 +19,7 @@
+ [DllImport("glibsharpglue")]
+ public static extern IntPtr gtksharp_slist_get_next (IntPtr slist);
+
+- [DllImport("libglib-2.0.so.0")]
++ [DllImport("libglib-2.0.so")]
+ public static extern void g_slist_free (IntPtr slist);
+
+ public static string[] GLibSListToStringArray (IntPtr slist, bool free_list_mem)
diff --git a/mail/evolution-sharp/pkg-descr b/mail/evolution-sharp/pkg-descr
new file mode 100644
index 000000000000..085a5e09a20b
--- /dev/null
+++ b/mail/evolution-sharp/pkg-descr
@@ -0,0 +1,4 @@
+Evolution# is a .NET language binding for various Ximian Evolution (tm)
+libraries.
+
+WWW: www.gnome.org
diff --git a/mail/evolution-sharp/pkg-plist b/mail/evolution-sharp/pkg-plist
new file mode 100644
index 000000000000..4f30454c63ff
--- /dev/null
+++ b/mail/evolution-sharp/pkg-plist
@@ -0,0 +1,12 @@
+lib/libevolutionglue.so
+lib/mono/evolution-sharp/evolution-sharp.dll
+lib/mono/evolution-sharp/evolution-sharp.dll.config
+lib/mono/evolution-sharp/evolution-sharp.dll.mdb
+lib/mono/gac/evolution-sharp/2.0.0.0__457eed85bd9370df/evolution-sharp.dll
+lib/mono/gac/evolution-sharp/2.0.0.0__457eed85bd9370df/evolution-sharp.dll.config
+lib/mono/gac/evolution-sharp/2.0.0.0__457eed85bd9370df/evolution-sharp.dll.mdb
+libdata/pkgconfig/evolution-sharp.pc
+share/gapi-2.0/evolution-api.xml
+@dirrm lib/mono/gac/evolution-sharp/2.0.0.0__457eed85bd9370df
+@dirrm lib/mono/gac/evolution-sharp
+@dirrm lib/mono/evolution-sharp