aboutsummaryrefslogtreecommitdiff
path: root/mail/firemime
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-05-30 12:04:30 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-05-30 12:04:30 +0000
commit6d70eea6637c27820f450a2f1ab8270ad92a13e8 (patch)
treea47ed7de14e58a4a7d745a4f8d11c33c2aef341c /mail/firemime
parent97d7d074ce6c989a149add9cef6bb6b9c7759dfd (diff)
downloadports-6d70eea6637c27820f450a2f1ab8270ad92a13e8.tar.gz
ports-6d70eea6637c27820f450a2f1ab8270ad92a13e8.zip
Notes
Diffstat (limited to 'mail/firemime')
-rw-r--r--mail/firemime/Makefile41
-rw-r--r--mail/firemime/distinfo2
-rw-r--r--mail/firemime/files/patch-firemake_makefiletop11
-rw-r--r--mail/firemime/pkg-descr6
-rw-r--r--mail/firemime/pkg-plist7
5 files changed, 67 insertions, 0 deletions
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