diff options
-rw-r--r-- | mail/evolution-sharp/Makefile | 41 | ||||
-rw-r--r-- | mail/evolution-sharp/distinfo | 3 | ||||
-rw-r--r-- | mail/evolution-sharp/files/patch-evolution::Makefile.in | 21 | ||||
-rw-r--r-- | mail/evolution-sharp/files/patch-evolution_src_GLibUtil.cs | 20 | ||||
-rw-r--r-- | mail/evolution-sharp/pkg-descr | 4 | ||||
-rw-r--r-- | mail/evolution-sharp/pkg-plist | 12 |
6 files changed, 101 insertions, 0 deletions
diff --git a/mail/evolution-sharp/Makefile b/mail/evolution-sharp/Makefile new file mode 100644 index 000000000..5527f6f5d --- /dev/null +++ b/mail/evolution-sharp/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: evolution-sharp +# Date created: 20041012 +# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org> +# +# $FreeBSD$ +# $Id: Makefile,v 1.1 2006-10-08 17:10:51 mezz Exp $ +# + +PORTNAME= evolution-sharp +PORTVERSION= 0.11.1 +PORTREVISION= 1 +CATEGORIES= mail gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.11 + +MAINTAINER= bsd-sharp-list@forge.novell.com +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 +GNU_CONFIGURE= yes +USE_GMAKE= yes +INSTALLS_SHLIB= yes + +post-patch: + @${REINPLACE_CMD} 's|eshellver="2.6"|eshellver="2.8"|g ; \ + s|evolution-shell-2.6|evolution-shell-2.8|g' \ + ${WRKSRC}/configure + @${REINPLACE_CMD} 's|.@EBOOK_SOVERSION@||g ; \ + s|.@ECAL_SOVERSION@||g ; \ + s|.@EDS_SOVERSION@||g' \ + ${WRKSRC}/evolution/evolution-sharp.dll.config.in + +.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 000000000..5f5431d28 --- /dev/null +++ b/mail/evolution-sharp/distinfo @@ -0,0 +1,3 @@ +MD5 (evolution-sharp-0.11.1.tar.bz2) = d1bf31c7c9dda9ba012e169981626cce +SHA256 (evolution-sharp-0.11.1.tar.bz2) = ad519f0f3b02f2bba671d95c77bf8862a1b283cf4bafda252e031d147b153cf1 +SIZE (evolution-sharp-0.11.1.tar.bz2) = 305490 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 000000000..8142f4ec7 --- /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_src_GLibUtil.cs b/mail/evolution-sharp/files/patch-evolution_src_GLibUtil.cs new file mode 100644 index 000000000..b39595d3e --- /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 000000000..c9c5ef4d4 --- /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: http://www.gnome.org diff --git a/mail/evolution-sharp/pkg-plist b/mail/evolution-sharp/pkg-plist new file mode 100644 index 000000000..43616eb66 --- /dev/null +++ b/mail/evolution-sharp/pkg-plist @@ -0,0 +1,12 @@ +lib/libevolutionglue.a +lib/libevolutionglue.la +lib/libevolutionglue.so +lib/mono/evolution-sharp/evolution-sharp.dll +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 |