aboutsummaryrefslogtreecommitdiff
path: root/mail/gmime2-sharp
diff options
context:
space:
mode:
authorTom McLaughlin <tmclaugh@FreeBSD.org>2005-10-05 02:17:58 +0000
committerTom McLaughlin <tmclaugh@FreeBSD.org>2005-10-05 02:17:58 +0000
commit7082d4c04a534e22feea45a04787f3cc387d5164 (patch)
tree9f2c1df812b860be9441cd426961960a42ca1216 /mail/gmime2-sharp
parenta3927cf80e91cbda06c14823707b02b7d2426da5 (diff)
downloadports-7082d4c04a534e22feea45a04787f3cc387d5164.tar.gz
ports-7082d4c04a534e22feea45a04787f3cc387d5164.zip
Notes
Diffstat (limited to 'mail/gmime2-sharp')
-rw-r--r--mail/gmime2-sharp/Makefile39
-rw-r--r--mail/gmime2-sharp/pkg-descr3
-rw-r--r--mail/gmime2-sharp/pkg-plist10
3 files changed, 52 insertions, 0 deletions
diff --git a/mail/gmime2-sharp/Makefile b/mail/gmime2-sharp/Makefile
new file mode 100644
index 000000000000..aa09a73756cd
--- /dev/null
+++ b/mail/gmime2-sharp/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: gmime2-sharp
+# Date Created: 20050513
+# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
+#
+# $FreeBSD$
+# $Id: Makefile,v 1.9 2005/09/25 00:56:46 tmclau02 Exp $
+#
+
+PORTREVISION= 0
+CATEGORIES= mail
+PKGNAMESUFFIX= -sharp
+
+MAINTAINER= bsd-sharp-list@forge.novell.com
+COMMENT= Mono bindings for gmime
+
+LIB_DEPENDS= gmime-2.0.3:${PORTSDIR}/mail/gmime2
+BUILD_DEPENDS= gapi2-parser:${PORTSDIR}/x11-toolkits/gtk-sharp20
+RUN_DEPENDS= gapi2-parser:${PORTSDIR}/x11-toolkits/gtk-sharp20
+
+MASTERDIR= ${.CURDIR}/../gmime2
+BUILD_WRKSRC= ${WRKSRC}/mono
+INSTALL_WRKSRC= ${BUILD_WRKSRC}
+DESCR= ${.CURDIR}/pkg-descr
+PLIST= ${.CURDIR}/pkg-plist
+
+USE_GNOME= gnomehack gnometarget glib20
+USE_REINPLACE= yes
+CONFIGURE_ARGS= --enable-mono=yes
+
+# Else we conflict with mail/gmime2
+NOPORTDOCS= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|.@GMIME_VERSION@||g' \
+ ${WRKSRC}/mono/gmime-sharp.dll.config.in
+ @${REINPLACE_CMD} -e 's|libglib-2.0.so.0|libglib-2.0.so|g' \
+ ${WRKSRC}/mono/ObjectStream.cs ${WRKSRC}/mono/Object.custom
+
+.include "${MASTERDIR}/Makefile"
diff --git a/mail/gmime2-sharp/pkg-descr b/mail/gmime2-sharp/pkg-descr
new file mode 100644
index 000000000000..a2b58ba7ef0f
--- /dev/null
+++ b/mail/gmime2-sharp/pkg-descr
@@ -0,0 +1,3 @@
+C# assemblies for gmime
+
+WWW: http://spruce.sourceforge.net/gmime/
diff --git a/mail/gmime2-sharp/pkg-plist b/mail/gmime2-sharp/pkg-plist
new file mode 100644
index 000000000000..9e528480a64d
--- /dev/null
+++ b/mail/gmime2-sharp/pkg-plist
@@ -0,0 +1,10 @@
+lib/mono/gac/gmime-sharp/2.0.0.0__677013d4cb5910f0/gmime-sharp.dll
+lib/mono/gac/gmime-sharp/2.0.0.0__677013d4cb5910f0/gmime-sharp.dll.config
+lib/mono/gmime-sharp/gmime-sharp.dll
+lib/mono/gmime-sharp/gmime-sharp.dll.config
+lib/mono/gmime-sharp/gmime-sharp.dll.mdb
+libdata/pkgconfig/gmime-sharp.pc
+share/gapi-2.0/gmime-api.xml
+@dirrm lib/mono/gmime-sharp
+@dirrm lib/mono/gac/gmime-sharp/2.0.0.0__677013d4cb5910f0
+@dirrm lib/mono/gac/gmime-sharp