diff options
author | Florent Thoumie <flz@FreeBSD.org> | 2009-02-09 09:00:01 +0000 |
---|---|---|
committer | Florent Thoumie <flz@FreeBSD.org> | 2009-02-09 09:00:01 +0000 |
commit | c1f23cd26d8ec0c157abfb1fe1f52b3aaddee6e8 (patch) | |
tree | 6bc6e9b8c27f338bda10b7f147eca039dcc7fb74 /mail/gmime24 | |
parent | fe3abfcfc73764b4d8ad08d6d32c488a049a1b26 (diff) | |
download | ports-c1f23cd26d8ec0c157abfb1fe1f52b3aaddee6e8.tar.gz ports-c1f23cd26d8ec0c157abfb1fe1f52b3aaddee6e8.zip |
Notes
Diffstat (limited to 'mail/gmime24')
-rw-r--r-- | mail/gmime24/Makefile | 48 | ||||
-rw-r--r-- | mail/gmime24/distinfo | 3 | ||||
-rw-r--r-- | mail/gmime24/files/patch-Makefile.in | 14 | ||||
-rw-r--r-- | mail/gmime24/files/patch-docs_Makefile.in | 14 | ||||
-rw-r--r-- | mail/gmime24/files/patch-gmime-2.4.pc.in | 10 | ||||
-rw-r--r-- | mail/gmime24/files/patch-mono_Makefile.in | 21 | ||||
-rw-r--r-- | mail/gmime24/files/patch-src_Makefile.in | 33 | ||||
-rw-r--r-- | mail/gmime24/files/patch-tests__test-mbox.c | 10 | ||||
-rw-r--r-- | mail/gmime24/files/patch-tests__test-mime.c | 10 | ||||
-rw-r--r-- | mail/gmime24/files/patch-tests__test-parser.c | 10 | ||||
-rw-r--r-- | mail/gmime24/pkg-descr | 19 | ||||
-rw-r--r-- | mail/gmime24/pkg-plist | 140 |
12 files changed, 332 insertions, 0 deletions
diff --git a/mail/gmime24/Makefile b/mail/gmime24/Makefile new file mode 100644 index 000000000000..763b1585e338 --- /dev/null +++ b/mail/gmime24/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: gmime2 +# Date created: 16 Apr 2001 +# Whom: Kirill Ponomarew <ponomarew@oberon.net> +# +# $FreeBSD$ +# + +PORTNAME= gmime +PORTVERSION= 2.4.3 +PORTREVISION?= 0 +CATEGORIES?= mail +MASTER_SITES= GNOME +PKGNAMESUFFIX?= -24 + +MAINTAINER?= mnag@FreeBSD.org +COMMENT?= Library (written in C) for parsing and creating messages using MIME + +CONFLICTS= gmime-1.0.* + +SLAVEDIRS= mail/gmime2-sharp + +USE_ICONV= yes +USE_GMAKE= yes +USE_GNOME?= gnomehack gnometarget glib20 +USE_LDCONFIG= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS?= --with-libiconv=${LOCALBASE} \ + --with-html-dir=${PREFIX}/share/doc \ + --enable-mono=no +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ + LIBS="-L${LOCALBASE}/lib" + +LATEST_LINK?= ${PORTNAME}2 + +PORTDOCS= * + +post-patch: + @${REINPLACE_CMD} -e "s|stdint.h|inttypes.h|" ${WRKSRC}/zentimer.h + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR}24 +.for i in docs/reference/html/* + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}24 +.endfor +.endif + +.include <bsd.port.mk> diff --git a/mail/gmime24/distinfo b/mail/gmime24/distinfo new file mode 100644 index 000000000000..ec2206f3d3b4 --- /dev/null +++ b/mail/gmime24/distinfo @@ -0,0 +1,3 @@ +MD5 (gmime-2.4.3.tar.gz) = fdf4fa9a859dc080fa9d50142835dbac +SHA256 (gmime-2.4.3.tar.gz) = 90ca4135f3abf1c5986d3bb1492cd3447272fe51602b65c7981a617c4c1141e2 +SIZE (gmime-2.4.3.tar.gz) = 1110738 diff --git a/mail/gmime24/files/patch-Makefile.in b/mail/gmime24/files/patch-Makefile.in new file mode 100644 index 000000000000..4d516817313e --- /dev/null +++ b/mail/gmime24/files/patch-Makefile.in @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- Makefile.in.orig ++++ Makefile.in +@@ -231,7 +231,7 @@ + target_alias = @target_alias@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-SUBDIRS = util gmime src $(am__append_1) tests docs $(am__append_2) \ ++SUBDIRS = util gmime $(am__append_1) tests docs $(am__append_2) \ + tools . + DISTCLEANFILES = iconv-detect.h + EXTRA_DIST = \ diff --git a/mail/gmime24/files/patch-docs_Makefile.in b/mail/gmime24/files/patch-docs_Makefile.in new file mode 100644 index 000000000000..d0cc6906ca1a --- /dev/null +++ b/mail/gmime24/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/gmime24/files/patch-gmime-2.4.pc.in b/mail/gmime24/files/patch-gmime-2.4.pc.in new file mode 100644 index 000000000000..1192ad41e49c --- /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_Makefile.in b/mail/gmime24/files/patch-mono_Makefile.in new file mode 100644 index 000000000000..299831f92557 --- /dev/null +++ b/mail/gmime24/files/patch-mono_Makefile.in @@ -0,0 +1,21 @@ + +$FreeBSD$ + +--- mono/Makefile.in.orig ++++ mono/Makefile.in +@@ -471,11 +471,11 @@ + install-data-local: + @if test -n '$(TARGET)'; then \ + if test -n '$(DESTDIR)'; then \ +- echo "$(GACUTIL) /i $(ASSEMBLY) /f /package $(PACKAGE_SHARP) /root $(DESTDIR)$(prefix)/lib"; \ +- $(GACUTIL) /i $(ASSEMBLY) /f /package $(PACKAGE_SHARP) /root $(DESTDIR)$(prefix)/lib || exit 1; \ ++ echo "$(GACUTIL) /i $(ASSEMBLY) /f /package $(PACKAGE_SHARP) /gacdir $(DESTDIR)$(libdir) /root $(DESTDIR)$(libdir)"; \ ++ $(GACUTIL) /i $(ASSEMBLY) /f /package $(PACKAGE_SHARP) /gacdir $(DESTDIR)$(libdir) /root $(DESTDIR)$(libdir) || exit 1; \ + else \ +- echo "$(GACUTIL) /i $(ASSEMBLY) /f /package $(PACKAGE_SHARP) /gacdir $(prefix)/lib"; \ +- $(GACUTIL) /i $(ASSEMBLY) /f /package $(PACKAGE_SHARP) /gacdir $(prefix)/lib || exit 1; \ ++ echo "$(GACUTIL) /i $(ASSEMBLY) /f /package $(PACKAGE_SHARP) /gacdir $(DESTDIR)$(libdir) /root $(DESTDIR)$(libdir)"; \ ++ $(GACUTIL) /i $(ASSEMBLY) /f /package $(PACKAGE_SHARP) /gacdir $(DESTDIR)$(libdir) /root $(DESTDIR)$(libdir) || exit 1; \ + fi; \ + fi + diff --git a/mail/gmime24/files/patch-src_Makefile.in b/mail/gmime24/files/patch-src_Makefile.in new file mode 100644 index 000000000000..e5c0b5b59f3a --- /dev/null +++ b/mail/gmime24/files/patch-src_Makefile.in @@ -0,0 +1,33 @@ +# +# http://www.freebsd.org/cgi/query-pr.cgi?pr=118092 +# +# Rename uudecode and uuencode to gmime-* to not conflict with userland +# +--- src/Makefile.in.orig 2008-07-19 20:57:47.000000000 -0300 ++++ src/Makefile.in 2008-07-20 21:29:18.000000000 -0300 +@@ -24,6 +24,7 @@ + install_sh_SCRIPT = $(install_sh) -c + INSTALL_HEADER = $(INSTALL_DATA) + transform = $(program_transform_name) ++add_gmime = s/^/gmime-/ + NORMAL_INSTALL = : + PRE_INSTALL = : + POST_INSTALL = : +@@ -293,7 +294,7 @@ + if test -f $$p \ + || test -f $$p1 \ + ; then \ +- f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ ++ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/;$(add_gmime)'`; \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ + else :; fi; \ +@@ -302,7 +303,7 @@ + uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(bin_PROGRAMS)'; for p in $$list; do \ +- f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ ++ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/;$(add_gmime)'`; \ + echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ + rm -f "$(DESTDIR)$(bindir)/$$f"; \ + done 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 000000000000..bba86048372d --- /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 000000000000..35067da0afa6 --- /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 000000000000..a408ff684cfe --- /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 000000000000..ebf3e2ce1115 --- /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 000000000000..7d2059b53c49 --- /dev/null +++ b/mail/gmime24/pkg-plist @@ -0,0 +1,140 @@ +include/gmime-2.4/gmime/gmime.h +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.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-gpg-context.h +include/gmime-2.4/gmime/gmime-header.h +include/gmime-2.4/gmime/gmime-iconv.h +include/gmime-2.4/gmime/gmime-iconv-utils.h +include/gmime-2.4/gmime/gmime-message.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-multipart.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-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.h +include/gmime-2.4/gmime/gmime-session-simple.h +include/gmime-2.4/gmime/gmime-stream.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-utils.h +include/gmime-2.4/gmime/internet-address.h +lib/libgmime-2.4.so.6 +lib/libgmime-2.4.so +lib/libgmime-2.4.la +lib/libgmime-2.4.a +libdata/pkgconfig/gmime-2.4.pc +%%DOCSDIR%%24/CipherContexts.html +%%DOCSDIR%%24/DataWrappers.html +%%DOCSDIR%%24/Filters.html +%%DOCSDIR%%24/Headers.html +%%DOCSDIR%%24/InternetAddresses.html +%%DOCSDIR%%24/MimeParts.html +%%DOCSDIR%%24/Parsers.html +%%DOCSDIR%%24/Sessions.html +%%DOCSDIR%%24/Streams.html +%%DOCSDIR%%24/ch01.html +%%DOCSDIR%%24/classes.html +%%DOCSDIR%%24/core.html +%%DOCSDIR%%24/fundamentals.html +%%DOCSDIR%%24/gmime-building.html +%%DOCSDIR%%24/gmime-changes-2-0.html +%%DOCSDIR%%24/gmime-changes-2-2.html +%%DOCSDIR%%24/gmime-changes-2-4.html +%%DOCSDIR%%24/gmime-compiling.html +%%DOCSDIR%%24/gmime-data-wrappers.html +%%DOCSDIR%%24/gmime-filters.html +%%DOCSDIR%%24/gmime-gmime-charset.html +%%DOCSDIR%%24/gmime-gmime-cipher-context.html +%%DOCSDIR%%24/gmime-gmime-content-type.html +%%DOCSDIR%%24/gmime-gmime-data-wrapper.html +%%DOCSDIR%%24/gmime-gmime-disposition.html +%%DOCSDIR%%24/gmime-gmime-encodings.html +%%DOCSDIR%%24/gmime-gmime-filter-basic.html +%%DOCSDIR%%24/gmime-gmime-filter-best.html +%%DOCSDIR%%24/gmime-gmime-filter-charset.html +%%DOCSDIR%%24/gmime-gmime-filter-crlf.html +%%DOCSDIR%%24/gmime-gmime-filter-enriched.html +%%DOCSDIR%%24/gmime-gmime-filter-from.html +%%DOCSDIR%%24/gmime-gmime-filter-gzip.html +%%DOCSDIR%%24/gmime-gmime-filter-html.html +%%DOCSDIR%%24/gmime-gmime-filter-md5.html +%%DOCSDIR%%24/gmime-gmime-filter-strip.html +%%DOCSDIR%%24/gmime-gmime-filter-windows.html +%%DOCSDIR%%24/gmime-gmime-filter-yenc.html +%%DOCSDIR%%24/gmime-gmime-filter.html +%%DOCSDIR%%24/gmime-gmime-gpg-context.html +%%DOCSDIR%%24/gmime-gmime-header.html +%%DOCSDIR%%24/gmime-gmime-iconv-utils.html +%%DOCSDIR%%24/gmime-gmime-iconv.html +%%DOCSDIR%%24/gmime-gmime-message-part.html +%%DOCSDIR%%24/gmime.html +%%DOCSDIR%%24/gmime-gmime-message-partial.html +%%DOCSDIR%%24/gmime-gmime-message.html +%%DOCSDIR%%24/gmime-gmime-multipart-encrypted.html +%%DOCSDIR%%24/gmime-gmime-multipart-signed.html +%%DOCSDIR%%24/gmime-gmime-multipart.html +%%DOCSDIR%%24/gmime-gmime-object.html +%%DOCSDIR%%24/gmime-gmime-param.html +%%DOCSDIR%%24/gmime-gmime-parser.html +%%DOCSDIR%%24/gmime-gmime-part.html +%%DOCSDIR%%24/gmime-gmime-session-simple.html +%%DOCSDIR%%24/gmime-gmime-session.html +%%DOCSDIR%%24/gmime-gmime-stream-buffer.html +%%DOCSDIR%%24/gmime-gmime-stream-cat.html +%%DOCSDIR%%24/gmime.devhelp +%%DOCSDIR%%24/gmime-gmime-stream-file.html +%%DOCSDIR%%24/gmime-gmime-stream-filter.html +%%DOCSDIR%%24/gmime-gmime-stream-fs.html +%%DOCSDIR%%24/gmime-gmime-stream-mem.html +%%DOCSDIR%%24/gmime-gmime-stream-mmap.html +%%DOCSDIR%%24/gmime-gmime-stream-null.html +%%DOCSDIR%%24/gmime-gmime-stream.html +%%DOCSDIR%%24/gmime-gmime-utils.html +%%DOCSDIR%%24/gmime-gmime.html +%%DOCSDIR%%24/gmime-internet-address-group.html +%%DOCSDIR%%24/gmime-internet-address-list.html +%%DOCSDIR%%24/gmime-internet-address-mailbox.html +%%DOCSDIR%%24/gmime-internet-address.html +%%DOCSDIR%%24/home.png +%%DOCSDIR%%24/gmime-question-index.html +%%DOCSDIR%%24/gmime-resources.html +%%DOCSDIR%%24/gmime-streams.html +%%DOCSDIR%%24/gmime.devhelp2 +%%DOCSDIR%%24/index.html +%%DOCSDIR%%24/index.sgml +%%DOCSDIR%%24/left.png +%%DOCSDIR%%24/right.png +%%DOCSDIR%%24/style.css +%%DOCSDIR%%24/up.png +@dirrm %%DOCSDIR%%24 +@dirrm include/gmime-2.4/gmime +@dirrm include/gmime-2.4 |