aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2003-05-14 00:44:04 +0800
committerfjoe <fjoe@FreeBSD.org>2003-05-14 00:44:04 +0800
commit8b086ac43123228e8118bca6923d3c7c03e1c45a (patch)
tree46bac5dc5099e75101622f45098d98e5557211d4
parent456d29bdeae336ec33b79deeaac5c00b55990559 (diff)
downloadfreebsd-ports-gnome-8b086ac43123228e8118bca6923d3c7c03e1c45a.tar.gz
freebsd-ports-gnome-8b086ac43123228e8118bca6923d3c7c03e1c45a.tar.zst
freebsd-ports-gnome-8b086ac43123228e8118bca6923d3c7c03e1c45a.zip
New port: gmime2
Library (written in C) for parsing and creating messages using MIME. PR: 52084 Submitted by: Kirill Ponomarew
-rw-r--r--mail/Makefile1
-rw-r--r--mail/gmime2/Makefile40
-rw-r--r--mail/gmime2/distinfo1
-rw-r--r--mail/gmime2/files/patch-Makefile.in18
-rw-r--r--mail/gmime2/pkg-descr21
-rw-r--r--mail/gmime2/pkg-plist52
6 files changed, 133 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 37e618917c7b..28c5f2758432 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -80,6 +80,7 @@
SUBDIR += glbiff
SUBDIR += gmail
SUBDIR += gmime
+ SUBDIR += gmime2
SUBDIR += gnumail
SUBDIR += gotmail
SUBDIR += grepmail
diff --git a/mail/gmime2/Makefile b/mail/gmime2/Makefile
new file mode 100644
index 000000000000..071aa6cc0ae1
--- /dev/null
+++ b/mail/gmime2/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: gmime2
+# Date created: 16 Apr 2001
+# Whom: Kirill Ponomarew <ponomarew@oberon.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gmime
+PORTVERSION= 2.0.6
+CATEGORIES= mail
+MASTER_SITES= http://spruce.sourceforge.net/gmime/sources/
+
+MAINTAINER= ponomarew@oberon.net
+COMMENT= Library (written in C) for parsing and creating messages using MIME
+
+LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
+CONFLICTS= gmime-0.*
+
+USE_X_PREFIX= YES
+GNU_CONFIGURE= YES
+USE_GMAKE= YES
+USE_GNOME= glib20
+USE_LIBTOOL= YES
+CONFIGURE_ARGS+= --with-libiconv=${LOCALBASE}
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+
+INSTALLS_SHLIB= YES
+
+pre-configure:
+.if exists(${X11BASE}/lib/libgmime.so)
+ @${ECHO} ""
+ @${ECHO} "You have gmime-1.x installed"
+ @${ECHO} "Please deinstall gmime-1.x before installing this port"
+ @${ECHO} ""
+ @${FALSE}
+.endif
+
+.include <bsd.port.mk>
diff --git a/mail/gmime2/distinfo b/mail/gmime2/distinfo
new file mode 100644
index 000000000000..ea381c51bbaf
--- /dev/null
+++ b/mail/gmime2/distinfo
@@ -0,0 +1 @@
+MD5 (gmime-2.0.6.tar.gz) = b2c80b780f641bf78d48afc9d4fc2be8
diff --git a/mail/gmime2/files/patch-Makefile.in b/mail/gmime2/files/patch-Makefile.in
new file mode 100644
index 000000000000..67aab1a9d7e7
--- /dev/null
+++ b/mail/gmime2/files/patch-Makefile.in
@@ -0,0 +1,18 @@
+--- Makefile.in.orig Mon May 12 01:17:11 2003
++++ Makefile.in Mon May 12 01:17:53 2003
+@@ -102,13 +102,13 @@
+ glib_cflags = @glib_cflags@
+ glib_libs = @glib_libs@
+
+-SUBDIRS = gmime src tests docs .
++SUBDIRS = gmime tests .
+
+ bin_SCRIPTS = gmime-config
+
+ CLEANFILES = gmimeConf.sh iconv-detect.h
+
+-confexecdir = $(libdir)
++confexecdir = $(sysconfdir)
+ confexec_DATA = gmimeConf.sh
+
+ EXTRA_DIST = PORTING gmimeConf.sh.in gmime-2.0.pc.in gmime.spec.in iconv-detect.c zentimer.h zenprofiler.h
diff --git a/mail/gmime2/pkg-descr b/mail/gmime2/pkg-descr
new file mode 100644
index 000000000000..7df78de0c0ef
--- /dev/null
+++ b/mail/gmime2/pkg-descr
@@ -0,0 +1,21 @@
+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
+
+Jeffrey Stedfast <fejj@helixcode.com>
+
+WWW: http://spruce.sourceforge.net/gmime/
diff --git a/mail/gmime2/pkg-plist b/mail/gmime2/pkg-plist
new file mode 100644
index 000000000000..d588ec54ff3c
--- /dev/null
+++ b/mail/gmime2/pkg-plist
@@ -0,0 +1,52 @@
+bin/gmime-config
+etc/gmimeConf.sh
+include/gmime-2.0/gmime/gmime-charset.h
+include/gmime-2.0/gmime/gmime-cipher-context.h
+include/gmime-2.0/gmime/gmime-content-type.h
+include/gmime-2.0/gmime/gmime-data-wrapper.h
+include/gmime-2.0/gmime/gmime-disposition.h
+include/gmime-2.0/gmime/gmime-error.h
+include/gmime-2.0/gmime/gmime-filter-basic.h
+include/gmime-2.0/gmime/gmime-filter-best.h
+include/gmime-2.0/gmime/gmime-filter-charset.h
+include/gmime-2.0/gmime/gmime-filter-crlf.h
+include/gmime-2.0/gmime/gmime-filter-from.h
+include/gmime-2.0/gmime/gmime-filter-html.h
+include/gmime-2.0/gmime/gmime-filter-md5.h
+include/gmime-2.0/gmime/gmime-filter-strip.h
+include/gmime-2.0/gmime/gmime-filter-yenc.h
+include/gmime-2.0/gmime/gmime-filter.h
+include/gmime-2.0/gmime/gmime-gpg-context.h
+include/gmime-2.0/gmime/gmime-header.h
+include/gmime-2.0/gmime/gmime-iconv-utils.h
+include/gmime-2.0/gmime/gmime-iconv.h
+include/gmime-2.0/gmime/gmime-message-part.h
+include/gmime-2.0/gmime/gmime-message-partial.h
+include/gmime-2.0/gmime/gmime-message.h
+include/gmime-2.0/gmime/gmime-multipart-encrypted.h
+include/gmime-2.0/gmime/gmime-multipart-signed.h
+include/gmime-2.0/gmime/gmime-multipart.h
+include/gmime-2.0/gmime/gmime-object.h
+include/gmime-2.0/gmime/gmime-param.h
+include/gmime-2.0/gmime/gmime-parser.h
+include/gmime-2.0/gmime/gmime-part.h
+include/gmime-2.0/gmime/gmime-session.h
+include/gmime-2.0/gmime/gmime-stream-buffer.h
+include/gmime-2.0/gmime/gmime-stream-cat.h
+include/gmime-2.0/gmime/gmime-stream-file.h
+include/gmime-2.0/gmime/gmime-stream-filter.h
+include/gmime-2.0/gmime/gmime-stream-fs.h
+include/gmime-2.0/gmime/gmime-stream-mem.h
+include/gmime-2.0/gmime/gmime-stream-mmap.h
+include/gmime-2.0/gmime/gmime-stream-null.h
+include/gmime-2.0/gmime/gmime-stream.h
+include/gmime-2.0/gmime/gmime-type-utils.h
+include/gmime-2.0/gmime/gmime-utils.h
+include/gmime-2.0/gmime/gmime.h
+include/gmime-2.0/gmime/internet-address.h
+include/gmime-2.0/gmime/md5-utils.h
+lib/libgmime-2.0.a
+lib/libgmime-2.0.la
+lib/libgmime-2.0.so.2
+@dirrm include/gmime-2.0/gmime
+@dirrm include/gmime-2.0