1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

New port: converters/fix-mime-charset - Fix incorrect Content-Type

MIME headers of e-mail messages

	Categories: converters textproc russian ukrainian

	Fix-mime-charset automatically detects character sets of
	email message and modifies the Content-Type header
	appropriately. It can be used as mail filter in mailing
	lists where users often set the charset of their messages
	incorrectly. It processes messages fast and accurately,
	ignoring attachments, and correctly interprets transfer-encodings.
	None but the Content-Type header is changed.

PR:		ports/61050
Submitted by:	Nosov Artem <chip-set@mail.ru>
This commit is contained in:
Edwin Groothuis 2004-01-08 02:50:16 +00:00
parent eec6901352
commit baffdd74c3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97637
5 changed files with 51 additions and 0 deletions

View File

@ -12,6 +12,7 @@
SUBDIR += dumpasn1
SUBDIR += enca
SUBDIR += fconv
SUBDIR += fix-mime-charset
SUBDIR += fribidi
SUBDIR += gbase
SUBDIR += i18ntools

View File

@ -0,0 +1,39 @@
# New ports collection makefile for: fix-mime-charset
# Date created: 26 November 2003
# Whom: Nosov Artem <chip-set@mail.ru>
#
# $FreeBSD$
#
PORTNAME= fix-mime-charset
PORTVERSION= 0.5.2
CATEGORIES= converters textproc russian ukrainian
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= fix-mime-chr
MAINTAINER= chip-set@mail.ru
COMMENT= Fix incorrect Content-Type MIME headers of e-mail messages
LIB_DEPENDS= enca.3:${PORTSDIR}/converters/enca
PORTDOCS= README.koi8r README
GNU_CONFIGURE= yes
USE_GETOPT_LONG= yes
USE_PERL5_BUILD= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
MAN1= fix-mime-charset.1
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (fix-mime-charset-0.5.2.tar.gz) = 4380dadef00657817dd61a35e51a1d17

View File

@ -0,0 +1,9 @@
Fix-mime-charset automatically detects character sets of email message and
modifies the Content-Type header appropriately. It can be used as mail
filter in mailing lists where users often set the charset of their messages
incorrectly. It processes messages fast and accurately, ignoring
attachments, and correctly interprets transfer-encodings. None but the
Content-Type header is changed.
- Nosov Artem
chip-set@mail.ru

View File

@ -0,0 +1 @@
bin/fix-mime-charset