Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2001 23:42:00 -0400 (EDT)
From:      petef@databits.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/26868: New port: mail/demime
Message-ID:  <200104260342.f3Q3g0p06426@electron.databits.net>

next in thread | raw e-mail | index | archive | help

>Number:         26868
>Category:       ports
>Synopsis:       New port: mail/demime
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 25 20:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Pete Fritchman
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
Databits Network Services, Inc.
>Environment:
System: FreeBSD electron.databits.net 4.3-STABLE FreeBSD 4.3-STABLE #4: Sun Apr 22 21:17:37 EDT 2001 root@electron.databits.net:/usr/obj/usr/src/sys/ELECTRON i386

>Description:

A tool to scrub mime from mailing lists

This is a *very* cool program - see http://scifi.squawk.com/demime.html
for more discussion.

(I became aware of this tool when OpenBSD announced they were going to be
using demime on many of their mailing lists, and wosch@ noted this on -doc
as well).

>How-To-Repeat:

N/A

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	demime
#	demime/Makefile
#	demime/distinfo
#	demime/pkg-comment
#	demime/pkg-descr
#	demime/pkg-plist
#
echo c - demime
mkdir -p demime > /dev/null 2>&1
echo x - demime/Makefile
sed 's/^X//' >demime/Makefile << 'END-of-demime/Makefile'
X# New ports collection makefile for:	demime
X# Date Created:				25 April 2001
X# Whom:					Pete Fritchman <petef@databits.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	demime
XPORTVERSION= 	0.98b
XCATEGORIES=	mail textproc
XMASTER_SITES=	http://scifi.squawk.com/
XDISTFILES=	${PORTNAME}.stable demime_junkmail.cf
X
XMAINTAINER=     petef@databits.net
X
XRUN_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Bundle/LWP.pm:${PORTSDIR}/www/p5-libwww \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/HTML/FormatText.pm:${PORTSDIR}/textproc/p5-HTML-Format \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/HTML/Element.pm:${PORTSDIR}/www/p5-HTML-Tree
X
XNO_BUILD=	yes
X
XUSE_PERL5=	yes
XPOD2MAN?=	/usr/bin/pod2man
XMAN1=		demime.1
X
Xdo-extract:
X	@${MKDIR} ${WRKSRC}
X	@${CP} ${DISTDIR}/demime.stable ${WRKSRC}/demime
X
Xpost-patch:
X	@${PERL} -pi -e 's!/usr/lib/majordomo/demime_junkmail.cf!${PREFIX}/etc/demime_junkmail.cf!g' ${WRKSRC}/demime
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/demime ${PREFIX}/bin/demime
X	${INSTALL_DATA} ${DISTDIR}/demime_junkmail.cf ${PREFIX}/etc
X	${POD2MAN} ${WRKSRC}/demime > ${PREFIX}/man/man1/demime.1
X
X.include <bsd.port.mk>
END-of-demime/Makefile
echo x - demime/distinfo
sed 's/^X//' >demime/distinfo << 'END-of-demime/distinfo'
XMD5 (demime.stable) = 951acd055c203ed18dc373ab4bb50bfa
XMD5 (demime_junkmail.cf) = 1e0a379cbd5d9b11ec21b6d804cdef02
END-of-demime/distinfo
echo x - demime/pkg-comment
sed 's/^X//' >demime/pkg-comment << 'END-of-demime/pkg-comment'
XA tool to scrub mime from mailing lists
END-of-demime/pkg-comment
echo x - demime/pkg-descr
sed 's/^X//' >demime/pkg-descr << 'END-of-demime/pkg-descr'
XA perl script to flatten some mime types to make mailing lists and
Xarchives more readable. This tool is designed to run with the
XMajordomo list manager, but can most likely be adapted to different
Xlist software.
X
XWWW: http://scifi.squawk.com/demime.html
X
X- Pete
Xpetef@databits.net
END-of-demime/pkg-descr
echo x - demime/pkg-plist
sed 's/^X//' >demime/pkg-plist << 'END-of-demime/pkg-plist'
Xbin/demime
Xetc/demime_junkmail.cf
END-of-demime/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104260342.f3Q3g0p06426>