diff options
author | pav <pav@FreeBSD.org> | 2004-05-30 20:04:30 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-05-30 20:04:30 +0800 |
commit | 88f10d13fe383f1881cc8b6b60da5c16737013bc (patch) | |
tree | f33d41e5759d959367883caae5aa0f5c14efcfdd | |
parent | 8c8ab1fb80418f8de3ef463b6a08a6afa5d3b982 (diff) | |
download | freebsd-ports-gnome-88f10d13fe383f1881cc8b6b60da5c16737013bc.tar.gz freebsd-ports-gnome-88f10d13fe383f1881cc8b6b60da5c16737013bc.tar.zst freebsd-ports-gnome-88f10d13fe383f1881cc8b6b60da5c16737013bc.zip |
Add firemime, an easy to use, callback-based interface for parsing
MIME-encoded messages
PR: ports/67375
Submitted by: Dean Hollister <dean@odyssey.apana.org.au>
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/firemime/Makefile | 41 | ||||
-rw-r--r-- | mail/firemime/distinfo | 2 | ||||
-rw-r--r-- | mail/firemime/files/patch-firemake_makefiletop | 11 | ||||
-rw-r--r-- | mail/firemime/pkg-descr | 6 | ||||
-rw-r--r-- | mail/firemime/pkg-plist | 7 |
6 files changed, 68 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index b1e5eaf0ca6f..03f17f8a2110 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -87,6 +87,7 @@ SUBDIR += fetchmail SUBDIR += fetchyahoo SUBDIR += filtermail + SUBDIR += firemime SUBDIR += ftrack SUBDIR += gbuffy SUBDIR += gdesklets-imapmail diff --git a/mail/firemime/Makefile b/mail/firemime/Makefile new file mode 100644 index 000000000000..beac31ac9a25 --- /dev/null +++ b/mail/firemime/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: mail/firemime +# Date created: Sun 31 May 16:35:00 WST 2004 +# Whom: Dean Hollister <dean@odyssey.apana.org.au> +# +# $FreeBSD$ +# + +PORTNAME= firemime +PORTVERSION= 0.9.4 +CATEGORIES= mail devel +MASTER_SITES= http://www.firestuff.org/projects/ \ + http://www.wa.apana.org.au/~dean/sources/ \ + ftp://ftp.wa.apana.org.au/pub/pc/unix/packages/ + +MAINTAINER= dean@odyssey.apana.org.au +COMMENT= Callback-based interface for parsing MIME-encoded messages + +USE_BZIP2= yes +HAS_CONFIGURE= yes +INSTALLS_SHLIB= yes +NO_FILTER_SHLIBS= yes +WRKSRC= ${WRKDIR}/${PORTNAME} + +MAN1= mimedump.1 +MAN3= firemime_decode_body.3 firemime_get_full_header.3 firemime_get_header.3 \ + firemime_param_value.3 firemime_parse.3 firemime_strerror.3 \ + firemime_strip_comments.3 firemime_strip_markup.3 libfiremime.3 + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +USE_GCC= 3.3 +.endif + +pre-configure: + @-${RM} -r ${WRKSRC}/firemake/*.orig + +post-install: + ${LN} -s libfiremime.so.0.9.4 ${PREFIX}/lib/libfiremime.so.0 + +.include <bsd.port.post.mk> diff --git a/mail/firemime/distinfo b/mail/firemime/distinfo new file mode 100644 index 000000000000..89a0b5437f50 --- /dev/null +++ b/mail/firemime/distinfo @@ -0,0 +1,2 @@ +MD5 (firemime-0.9.4.tar.bz2) = 5df7584e37dca2444ff8aa414fa9a24b +SIZE (firemime-0.9.4.tar.bz2) = 40316 diff --git a/mail/firemime/files/patch-firemake_makefiletop b/mail/firemime/files/patch-firemake_makefiletop new file mode 100644 index 000000000000..848b52f9ea38 --- /dev/null +++ b/mail/firemime/files/patch-firemake_makefiletop @@ -0,0 +1,11 @@ +--- firemake/makefiletop.orig Sun May 30 16:52:57 2004 ++++ firemake/makefiletop Sun May 30 16:53:06 2004 +@@ -3,7 +3,7 @@ + #require make + #phase makefile + dispn "Writing Makefile top entries..." +-if test "$MAKE_CONDSET" = "y"; then ++if test "$MAKE_CONDSET" = "never"; then + $ECHO "PREFIX ?= $FM_PREFIX" + + if test "$FM_MANDIRSTRICT" = "y"; then diff --git a/mail/firemime/pkg-descr b/mail/firemime/pkg-descr new file mode 100644 index 000000000000..22277ed595e8 --- /dev/null +++ b/mail/firemime/pkg-descr @@ -0,0 +1,6 @@ +FireMIME is a library providing an easy to use, callback-based interface +for parsing MIME-encoded messages. It parses messages in accordance with +RFC2045 and RFC2046, attempting to follow all rules set out in those +documents while still allowing leniency with some common errors. FireMIME +uses libfirestring for string handling. This allows it to be completely +8bit clean, including allowing \0 anywhere in messages. diff --git a/mail/firemime/pkg-plist b/mail/firemime/pkg-plist new file mode 100644 index 000000000000..6d62df5977cf --- /dev/null +++ b/mail/firemime/pkg-plist @@ -0,0 +1,7 @@ +bin/mimedump +include/firemime.h +lib/libfiremime.a +lib/libfiremime.so +lib/libfiremime.so.0 +lib/libfiremime.so.0.9 +lib/libfiremime.so.0.9.4 |