diff options
author | tmclaugh <tmclaugh@FreeBSD.org> | 2005-10-05 10:17:58 +0800 |
---|---|---|
committer | tmclaugh <tmclaugh@FreeBSD.org> | 2005-10-05 10:17:58 +0800 |
commit | ed4c529a2c229458cc6cd2616f2791c8d4513749 (patch) | |
tree | 44b3acf8a4a8c0c7f7e59dc92192eb1623c5ae0c /mail/gmime2-sharp | |
parent | 463dc530adb5b853cb4970fa55e6a975c0cfb089 (diff) | |
download | freebsd-ports-gnome-ed4c529a2c229458cc6cd2616f2791c8d4513749.tar.gz freebsd-ports-gnome-ed4c529a2c229458cc6cd2616f2791c8d4513749.tar.zst freebsd-ports-gnome-ed4c529a2c229458cc6cd2616f2791c8d4513749.zip |
- Add gmime2-sharp, slave port of gmime2. This port provides the C#
bindings to the gmime2 library.
Approved by: ahze (mentor)
Diffstat (limited to 'mail/gmime2-sharp')
-rw-r--r-- | mail/gmime2-sharp/Makefile | 39 | ||||
-rw-r--r-- | mail/gmime2-sharp/pkg-descr | 3 | ||||
-rw-r--r-- | mail/gmime2-sharp/pkg-plist | 10 |
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 |