diff options
-rw-r--r-- | mail/Makefile | 2 | ||||
-rw-r--r-- | mail/gmime26-sharp/Makefile | 34 | ||||
-rw-r--r-- | mail/gmime26-sharp/pkg-descr | 3 | ||||
-rw-r--r-- | mail/gmime26-sharp/pkg-plist | 10 | ||||
-rw-r--r-- | mail/gmime26/Makefile | 55 | ||||
-rw-r--r-- | mail/gmime26/distinfo | 2 | ||||
-rw-r--r-- | mail/gmime26/files/patch-docs_Makefile.in | 14 | ||||
-rw-r--r-- | mail/gmime26/files/patch-gmime.pc.in | 11 | ||||
-rw-r--r-- | mail/gmime26/files/patch-tests__test-mbox.c | 10 | ||||
-rw-r--r-- | mail/gmime26/files/patch-tests__test-mime.c | 10 | ||||
-rw-r--r-- | mail/gmime26/files/patch-tests__test-parser.c | 10 | ||||
-rw-r--r-- | mail/gmime26/pkg-descr | 19 | ||||
-rw-r--r-- | mail/gmime26/pkg-plist | 60 |
13 files changed, 240 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index 7e5b7621f60a..519f9be11e92 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -166,6 +166,8 @@ SUBDIR += gmime2-sharp SUBDIR += gmime24 SUBDIR += gmime24-sharp + SUBDIR += gmime26 + SUBDIR += gmime26-sharp SUBDIR += gml SUBDIR += gnarwl SUBDIR += gnome-gmail-notifier diff --git a/mail/gmime26-sharp/Makefile b/mail/gmime26-sharp/Makefile new file mode 100644 index 000000000000..b28bd7b15a08 --- /dev/null +++ b/mail/gmime26-sharp/Makefile @@ -0,0 +1,34 @@ +# Created by: Tom McLaughlin <tmclaugh@sdf.lonestar.org> +# $FreeBSD$ +# $Id: Makefile,v 1.17 2006/10/26 18:37:29 tmclau02 Exp $ + +PORTREVISION= 0 +CATEGORIES= mail +PKGNAMESUFFIX= -26-sharp + +MAINTAINER= mono@FreeBSD.org +COMMENT= Mono bindings for gmime + +LIB_DEPENDS= gmime-2.6:${PORTSDIR}/mail/gmime26 + +MASTERDIR= ${.CURDIR}/../gmime26 +BUILD_WRKSRC= ${WRKSRC}/mono +INSTALL_WRKSRC= ${BUILD_WRKSRC} +DESCR= ${.CURDIR}/pkg-descr +PLIST= ${.CURDIR}/pkg-plist + +USE_GNOME+= gtksharp20 +CONFIGURE_ARGS= --enable-mono=yes + +LATEST_LINK= gmime26-sharp + +# Else we conflict with mail/gmime26 +OPTIONS_EXCLUDE= DOCS + +# Done in pre-configure because master port has a post-patch target already. +pre-configure: + @${REINPLACE_CMD} -e 's|.@GMIME_VERSION@||g' \ + ${WRKSRC}/mono/gmime-sharp.dll.config.in + +.include "${.CURDIR}/../../lang/mono/bsd.mono.mk" +.include "${MASTERDIR}/Makefile" diff --git a/mail/gmime26-sharp/pkg-descr b/mail/gmime26-sharp/pkg-descr new file mode 100644 index 000000000000..a2b58ba7ef0f --- /dev/null +++ b/mail/gmime26-sharp/pkg-descr @@ -0,0 +1,3 @@ +C# assemblies for gmime + +WWW: http://spruce.sourceforge.net/gmime/ diff --git a/mail/gmime26-sharp/pkg-plist b/mail/gmime26-sharp/pkg-plist new file mode 100644 index 000000000000..285d33b333f6 --- /dev/null +++ b/mail/gmime26-sharp/pkg-plist @@ -0,0 +1,10 @@ +@comment $FreeBSD$ +lib/mono/gac/gmime-sharp/2.6.0.0__2b75c2ad004c52e4/gmime-sharp.dll +lib/mono/gac/gmime-sharp/2.6.0.0__2b75c2ad004c52e4/gmime-sharp.dll.config +lib/mono/gmime-sharp-2.6/gmime-sharp.dll +libdata/pkgconfig/gmime-sharp-2.6.pc +share/gapi-2.0/gmime-api.xml +@dirrmtry share/gapi-2.0 +@dirrm lib/mono/gmime-sharp-2.6 +@dirrmtry lib/mono/gac/gmime-sharp/2.6.0.0__2b75c2ad004c52e4 +@dirrmtry lib/mono/gac/gmime-sharp diff --git a/mail/gmime26/Makefile b/mail/gmime26/Makefile new file mode 100644 index 000000000000..bbfd9ef33d97 --- /dev/null +++ b/mail/gmime26/Makefile @@ -0,0 +1,55 @@ +# Created by: Kirill Ponomarew <ponomarew@oberon.net> +# $FreeBSD$ + +PORTNAME= gmime +PORTVERSION= 2.6.15 +PORTREVISION?= 0 +CATEGORIES?= mail +MASTER_SITES= GNOME +PKGNAMESUFFIX?= -26 + +MAINTAINER?= ahicks@p-o.co.uk +COMMENT?= Library (written in C) for parsing and creating messages using MIME + +LICENSE= LGPL21 + +CONFLICTS= gmime-1.0.* + +SLAVEDIRS= mail/gmime26-sharp + +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}26 +USE_GMAKE= yes +USE_AUTOTOOLS= libtool +USE_GNOME+= glib20 ltverhack +USES= pathfix pkgconfig iconv +USE_LDCONFIG= yes +USE_XZ= yes +GNU_CONFIGURE= yes +# www.freebsd.org/cgi/query-pr.cgi?pr=118092 +# Rename uudecode and uuencode to gmime-* to not conflict with userland +# fix kept in case issue returns +CONFIGURE_ARGS?=--with-html-dir=${PREFIX}/share/doc \ + --enable-mono=no \ + --program-transform-name="s/uuencode/gmime-uuencode/;s/uudecode/gmime-uudecode/;" +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +LATEST_LINK?= ${PORTNAME}26 + +PORTDOCS= * + +.include <bsd.port.options.mk> + +post-patch: + @${REINPLACE_CMD} -e '/^SUBDIRS =/s/tests//' \ + ${WRKSRC}/Makefile.in + +post-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} +.for i in docs/reference/html/* + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/mail/gmime26/distinfo b/mail/gmime26/distinfo new file mode 100644 index 000000000000..219ffaf77f16 --- /dev/null +++ b/mail/gmime26/distinfo @@ -0,0 +1,2 @@ +SHA256 (gmime-2.6.15.tar.xz) = b4c2a0b99b82063387cd750a38421ebaa0636f339e67984a84371bcb697dc99a +SIZE (gmime-2.6.15.tar.xz) = 731880 diff --git a/mail/gmime26/files/patch-docs_Makefile.in b/mail/gmime26/files/patch-docs_Makefile.in new file mode 100644 index 000000000000..d0cc6906ca1a --- /dev/null +++ b/mail/gmime26/files/patch-docs_Makefile.in @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- docs/Makefile.in.orig ++++ docs/Makefile.in +@@ -201,7 +201,7 @@ + target_alias = @target_alias@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-SUBDIRS = reference tutorial ++SUBDIRS = + EXTRA_DIST = gtkdocs_fix + all: all-recursive + diff --git a/mail/gmime26/files/patch-gmime.pc.in b/mail/gmime26/files/patch-gmime.pc.in new file mode 100644 index 000000000000..bd70c1315105 --- /dev/null +++ b/mail/gmime26/files/patch-gmime.pc.in @@ -0,0 +1,11 @@ +--- gmime.pc.in.orig 2013-05-22 08:39:38.000000000 +0000 ++++ gmime.pc.in 2013-05-22 08:39:54.000000000 +0000 +@@ -7,7 +7,7 @@ + Name: GMime + Version: @VERSION@ + Description: MIME parser and utility library +-Requires: glib-2.0,gio-2.0,gobject-2.0 ++Requires: glib-2.0,gio-2.0,gobject-2.0,gthread-2.0 + Libs: -L${libdir} @GMIME_LIBS@ + Libs.private: @GMIME_LIBS_PRIVATE@ + Cflags: -I${includedir}/gmime-@GMIME_API_VERSION@ @GMIME_CFLAGS@ diff --git a/mail/gmime26/files/patch-tests__test-mbox.c b/mail/gmime26/files/patch-tests__test-mbox.c new file mode 100644 index 000000000000..bba86048372d --- /dev/null +++ b/mail/gmime26/files/patch-tests__test-mbox.c @@ -0,0 +1,10 @@ +--- tests/test-mbox.c.orig Mon Feb 12 15:48:22 2007 ++++ tests/test-mbox.c Mon Feb 12 15:48:54 2007 +@@ -26,6 +26,7 @@ + #include <fcntl.h> + #include <time.h> + ++#include <config.h> + #include <gmime/gmime.h> + + #ifndef G_OS_WIN32 diff --git a/mail/gmime26/files/patch-tests__test-mime.c b/mail/gmime26/files/patch-tests__test-mime.c new file mode 100644 index 000000000000..35067da0afa6 --- /dev/null +++ b/mail/gmime26/files/patch-tests__test-mime.c @@ -0,0 +1,10 @@ +--- tests/test-mime.c.orig Mon Feb 12 15:48:32 2007 ++++ tests/test-mime.c Mon Feb 12 15:49:04 2007 +@@ -21,6 +21,7 @@ + #include <stdio.h> + #include <string.h> + ++#include <config.h> + #include <gmime/gmime.h> + + #ifndef G_OS_WIN32 diff --git a/mail/gmime26/files/patch-tests__test-parser.c b/mail/gmime26/files/patch-tests__test-parser.c new file mode 100644 index 000000000000..a408ff684cfe --- /dev/null +++ b/mail/gmime26/files/patch-tests__test-parser.c @@ -0,0 +1,10 @@ +--- tests/test-parser.c.orig Mon Feb 12 15:48:38 2007 ++++ tests/test-parser.c Mon Feb 12 15:49:14 2007 +@@ -26,6 +26,7 @@ + #include <fcntl.h> + #include <time.h> + ++#include <config.h> + #include <gmime/gmime.h> + + #ifndef G_OS_WIN32 diff --git a/mail/gmime26/pkg-descr b/mail/gmime26/pkg-descr new file mode 100644 index 000000000000..ebf3e2ce1115 --- /dev/null +++ b/mail/gmime26/pkg-descr @@ -0,0 +1,19 @@ +GMime is a set of utilities for parsing and creating messages using +the Multipurpose Internet Mail Extension (MIME) as defined by the +following RFCs: + + * 0822: Standard for the Format of Arpa Internet Text Messages + * 2045: Multipurpose Internet Mail Extensions (MIME) Part One: + Format of Internet Message Bodies + * 2046: Multipurpose Internet Mail Extensions (MIME) Part Two: + Media Types + * 2047: Multipurpose Internet Mail Extensions (MIME) Part Three: + Message Header Extensions for Non-ASCII Text + * 2048: Multipurpose Internet Mail Extensions (MIME) Part Four: + Registration Procedures + * 2049: Multipurpose Internet Mail Extensions (MIME) Part Five: + Conformance Criteria and Examples + * 2183: Communicating Presentation Information in Internet Messages: + The Content-Disposition Header Field + +WWW: http://spruce.sourceforge.net/gmime/ diff --git a/mail/gmime26/pkg-plist b/mail/gmime26/pkg-plist new file mode 100644 index 000000000000..3d03d544504f --- /dev/null +++ b/mail/gmime26/pkg-plist @@ -0,0 +1,60 @@ +include/gmime-2.6/gmime/gmime-certificate.h +include/gmime-2.6/gmime/gmime-charset.h +include/gmime-2.6/gmime/gmime-content-type.h +include/gmime-2.6/gmime/gmime-crypto-context.h +include/gmime-2.6/gmime/gmime-data-wrapper.h +include/gmime-2.6/gmime/gmime-disposition.h +include/gmime-2.6/gmime/gmime-encodings.h +include/gmime-2.6/gmime/gmime-error.h +include/gmime-2.6/gmime/gmime-filter-basic.h +include/gmime-2.6/gmime/gmime-filter-best.h +include/gmime-2.6/gmime/gmime-filter-charset.h +include/gmime-2.6/gmime/gmime-filter-crlf.h +include/gmime-2.6/gmime/gmime-filter-enriched.h +include/gmime-2.6/gmime/gmime-filter-from.h +include/gmime-2.6/gmime/gmime-filter-gzip.h +include/gmime-2.6/gmime/gmime-filter-html.h +include/gmime-2.6/gmime/gmime-filter-md5.h +include/gmime-2.6/gmime/gmime-filter-strip.h +include/gmime-2.6/gmime/gmime-filter-windows.h +include/gmime-2.6/gmime/gmime-filter-yenc.h +include/gmime-2.6/gmime/gmime-filter.h +include/gmime-2.6/gmime/gmime-gpg-context.h +include/gmime-2.6/gmime/gmime-header.h +include/gmime-2.6/gmime/gmime-iconv-utils.h +include/gmime-2.6/gmime/gmime-iconv.h +include/gmime-2.6/gmime/gmime-message-part.h +include/gmime-2.6/gmime/gmime-message-partial.h +include/gmime-2.6/gmime/gmime-message.h +include/gmime-2.6/gmime/gmime-multipart-encrypted.h +include/gmime-2.6/gmime/gmime-multipart-signed.h +include/gmime-2.6/gmime/gmime-multipart.h +include/gmime-2.6/gmime/gmime-object.h +include/gmime-2.6/gmime/gmime-param.h +include/gmime-2.6/gmime/gmime-parser.h +include/gmime-2.6/gmime/gmime-part-iter.h +include/gmime-2.6/gmime/gmime-part.h +include/gmime-2.6/gmime/gmime-pkcs7-context.h +include/gmime-2.6/gmime/gmime-signature.h +include/gmime-2.6/gmime/gmime-stream-buffer.h +include/gmime-2.6/gmime/gmime-stream-cat.h +include/gmime-2.6/gmime/gmime-stream-file.h +include/gmime-2.6/gmime/gmime-stream-filter.h +include/gmime-2.6/gmime/gmime-stream-fs.h +include/gmime-2.6/gmime/gmime-stream-gio.h +include/gmime-2.6/gmime/gmime-stream-mem.h +include/gmime-2.6/gmime/gmime-stream-mmap.h +include/gmime-2.6/gmime/gmime-stream-null.h +include/gmime-2.6/gmime/gmime-stream-pipe.h +include/gmime-2.6/gmime/gmime-stream.h +include/gmime-2.6/gmime/gmime-utils.h +include/gmime-2.6/gmime/gmime-version.h +include/gmime-2.6/gmime/gmime.h +include/gmime-2.6/gmime/internet-address.h +lib/libgmime-2.6.a +lib/libgmime-2.6.la +lib/libgmime-2.6.so +lib/libgmime-2.6.so.0 +libdata/pkgconfig/gmime-2.6.pc +@dirrm include/gmime-2.6/gmime +@dirrm include/gmime-2.6 |