From ed4c529a2c229458cc6cd2616f2791c8d4513749 Mon Sep 17 00:00:00 2001 From: tmclaugh Date: Wed, 5 Oct 2005 02:17:58 +0000 Subject: - Add gmime2-sharp, slave port of gmime2. This port provides the C# bindings to the gmime2 library. Approved by: ahze (mentor) --- mail/gmime2-sharp/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 mail/gmime2-sharp/Makefile (limited to 'mail/gmime2-sharp/Makefile') 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 +# +# $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" -- cgit