summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-03-30 15:25:14 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-03-30 15:25:14 +0800
commitfdc0a026d059fa289690766a8e84e7fa88b14f1b (patch)
tree52ca21478feadeb8fd314e41c5d3ceca9ed117fc /mail
parent32b2c817e63f9d5946a2565be95726c1d0af7ff1 (diff)
downloadmarcuscom-ports-fdc0a026d059fa289690766a8e84e7fa88b14f1b.tar
marcuscom-ports-fdc0a026d059fa289690766a8e84e7fa88b14f1b.tar.gz
marcuscom-ports-fdc0a026d059fa289690766a8e84e7fa88b14f1b.tar.bz2
marcuscom-ports-fdc0a026d059fa289690766a8e84e7fa88b14f1b.tar.lz
marcuscom-ports-fdc0a026d059fa289690766a8e84e7fa88b14f1b.tar.xz
marcuscom-ports-fdc0a026d059fa289690766a8e84e7fa88b14f1b.tar.zst
marcuscom-ports-fdc0a026d059fa289690766a8e84e7fa88b14f1b.zip
Make it build with new deprications. Also missing pkg-config at build time.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@17252 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'mail')
-rw-r--r--mail/gmime24/Makefile54
-rw-r--r--mail/gmime24/distinfo2
-rw-r--r--mail/gmime24/files/patch-docs_Makefile.in14
-rw-r--r--mail/gmime24/files/patch-gmime-2.4.pc.in10
-rw-r--r--mail/gmime24/files/patch-mono_gmime-sharp.dll.config.in10
-rw-r--r--mail/gmime24/files/patch-tests__test-mbox.c10
-rw-r--r--mail/gmime24/files/patch-tests__test-mime.c10
-rw-r--r--mail/gmime24/files/patch-tests__test-parser.c10
-rw-r--r--mail/gmime24/pkg-descr19
-rw-r--r--mail/gmime24/pkg-plist56
10 files changed, 195 insertions, 0 deletions
diff --git a/mail/gmime24/Makefile b/mail/gmime24/Makefile
new file mode 100644
index 000000000..07a5a2a63
--- /dev/null
+++ b/mail/gmime24/Makefile
@@ -0,0 +1,54 @@
+# Created by: Kirill Ponomarew <ponomarew@oberon.net>
+# $FreeBSD: head/mail/gmime24/Makefile 307986 2012-11-30 02:44:55Z wxs $
+
+PORTNAME= gmime
+PORTVERSION= 2.4.33
+PORTREVISION?= 0
+CATEGORIES?= mail
+MASTER_SITES= GNOME
+PKGNAMESUFFIX?= -24
+
+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/gmime2-sharp
+
+DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}24
+USE_ICONV= yes
+USE_GMAKE= yes
+USES= pathfix
+USE_GNOME?= glib20
+USE_PKGCONFIG= build
+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/;"
+CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
+CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+
+LATEST_LINK?= ${PORTNAME}24
+
+PORTDOCS= *
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \
+ ${WRKSRC}/*/Makefile.in
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for i in docs/reference/html/*
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/mail/gmime24/distinfo b/mail/gmime24/distinfo
new file mode 100644
index 000000000..ef22c4481
--- /dev/null
+++ b/mail/gmime24/distinfo
@@ -0,0 +1,2 @@
+SHA256 (gmime-2.4.33.tar.xz) = 27dfa99967c19d2e8707b2670bd084dd514167925cca92cbd474298fc515d391
+SIZE (gmime-2.4.33.tar.xz) = 692336
diff --git a/mail/gmime24/files/patch-docs_Makefile.in b/mail/gmime24/files/patch-docs_Makefile.in
new file mode 100644
index 000000000..2ced1d521
--- /dev/null
+++ b/mail/gmime24/files/patch-docs_Makefile.in
@@ -0,0 +1,14 @@
+
+$FreeBSD: head/mail/gmime24/files/patch-docs_Makefile.in 300896 2012-07-14 13:54:48Z beat $
+
+--- 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/gmime24/files/patch-gmime-2.4.pc.in b/mail/gmime24/files/patch-gmime-2.4.pc.in
new file mode 100644
index 000000000..1192ad41e
--- /dev/null
+++ b/mail/gmime24/files/patch-gmime-2.4.pc.in
@@ -0,0 +1,10 @@
+--- gmime-2.4.pc.in.orig Tue May 3 19:34:20 2005
++++ gmime-2.4.pc.in Wed Feb 1 00:51:53 2006
+@@ -7,6 +7,6 @@
+ Name: GMime
+ Version: @VERSION@
+ Description: MIME parser and utility library
+-Requires: glib-2.0,gobject-2.0
++Requires: glib-2.0,gobject-2.0,gthread-2.0
+ Libs: -L${libdir} @GMIME_LIBS@ @LIBS@
+ Cflags: -I${includedir}/gmime-2.0 @GMIME_CFLAGS@
diff --git a/mail/gmime24/files/patch-mono_gmime-sharp.dll.config.in b/mail/gmime24/files/patch-mono_gmime-sharp.dll.config.in
new file mode 100644
index 000000000..3b19a8cc3
--- /dev/null
+++ b/mail/gmime24/files/patch-mono_gmime-sharp.dll.config.in
@@ -0,0 +1,10 @@
+
+$FreeBSD: head/mail/gmime24/files/patch-mono_gmime-sharp.dll.config.in 300896 2012-07-14 13:54:48Z beat $
+
+--- mono/gmime-sharp.dll.config.in.orig
++++ mono/gmime-sharp.dll.config.in
+@@ -1,3 +1,3 @@
+ <configuration>
+- <dllmap dll="gmime" target="libgmime-@GMIME_API_VERSION@.so.@GMIME_MAJOR_VERSION@"/>
++ <dllmap dll="gmime" target="libgmime-@GMIME_API_VERSION@.so"/>
+ </configuration>
diff --git a/mail/gmime24/files/patch-tests__test-mbox.c b/mail/gmime24/files/patch-tests__test-mbox.c
new file mode 100644
index 000000000..bba860483
--- /dev/null
+++ b/mail/gmime24/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/gmime24/files/patch-tests__test-mime.c b/mail/gmime24/files/patch-tests__test-mime.c
new file mode 100644
index 000000000..35067da0a
--- /dev/null
+++ b/mail/gmime24/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/gmime24/files/patch-tests__test-parser.c b/mail/gmime24/files/patch-tests__test-parser.c
new file mode 100644
index 000000000..a408ff684
--- /dev/null
+++ b/mail/gmime24/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/gmime24/pkg-descr b/mail/gmime24/pkg-descr
new file mode 100644
index 000000000..ebf3e2ce1
--- /dev/null
+++ b/mail/gmime24/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/gmime24/pkg-plist b/mail/gmime24/pkg-plist
new file mode 100644
index 000000000..16f068596
--- /dev/null
+++ b/mail/gmime24/pkg-plist
@@ -0,0 +1,56 @@
+include/gmime-2.4/gmime/gmime-charset.h
+include/gmime-2.4/gmime/gmime-cipher-context.h
+include/gmime-2.4/gmime/gmime-content-type.h
+include/gmime-2.4/gmime/gmime-data-wrapper.h
+include/gmime-2.4/gmime/gmime-disposition.h
+include/gmime-2.4/gmime/gmime-encodings.h
+include/gmime-2.4/gmime/gmime-error.h
+include/gmime-2.4/gmime/gmime-filter-basic.h
+include/gmime-2.4/gmime/gmime-filter-best.h
+include/gmime-2.4/gmime/gmime-filter-charset.h
+include/gmime-2.4/gmime/gmime-filter-crlf.h
+include/gmime-2.4/gmime/gmime-filter-enriched.h
+include/gmime-2.4/gmime/gmime-filter-from.h
+include/gmime-2.4/gmime/gmime-filter-gzip.h
+include/gmime-2.4/gmime/gmime-filter-html.h
+include/gmime-2.4/gmime/gmime-filter-md5.h
+include/gmime-2.4/gmime/gmime-filter-strip.h
+include/gmime-2.4/gmime/gmime-filter-windows.h
+include/gmime-2.4/gmime/gmime-filter-yenc.h
+include/gmime-2.4/gmime/gmime-filter.h
+include/gmime-2.4/gmime/gmime-gpg-context.h
+include/gmime-2.4/gmime/gmime-header.h
+include/gmime-2.4/gmime/gmime-iconv-utils.h
+include/gmime-2.4/gmime/gmime-iconv.h
+include/gmime-2.4/gmime/gmime-message-part.h
+include/gmime-2.4/gmime/gmime-message-partial.h
+include/gmime-2.4/gmime/gmime-message.h
+include/gmime-2.4/gmime/gmime-multipart-encrypted.h
+include/gmime-2.4/gmime/gmime-multipart-signed.h
+include/gmime-2.4/gmime/gmime-multipart.h
+include/gmime-2.4/gmime/gmime-object.h
+include/gmime-2.4/gmime/gmime-param.h
+include/gmime-2.4/gmime/gmime-parse-utils.h
+include/gmime-2.4/gmime/gmime-parser.h
+include/gmime-2.4/gmime/gmime-part.h
+include/gmime-2.4/gmime/gmime-session-simple.h
+include/gmime-2.4/gmime/gmime-session.h
+include/gmime-2.4/gmime/gmime-stream-buffer.h
+include/gmime-2.4/gmime/gmime-stream-cat.h
+include/gmime-2.4/gmime/gmime-stream-file.h
+include/gmime-2.4/gmime/gmime-stream-filter.h
+include/gmime-2.4/gmime/gmime-stream-fs.h
+include/gmime-2.4/gmime/gmime-stream-mem.h
+include/gmime-2.4/gmime/gmime-stream-mmap.h
+include/gmime-2.4/gmime/gmime-stream-null.h
+include/gmime-2.4/gmime/gmime-stream.h
+include/gmime-2.4/gmime/gmime-utils.h
+include/gmime-2.4/gmime/gmime.h
+include/gmime-2.4/gmime/internet-address.h
+lib/libgmime-2.4.a
+lib/libgmime-2.4.la
+lib/libgmime-2.4.so
+lib/libgmime-2.4.so.6
+libdata/pkgconfig/gmime-2.4.pc
+@dirrm include/gmime-2.4/gmime
+@dirrm include/gmime-2.4