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:
parent
eec6901352
commit
baffdd74c3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97637
@ -12,6 +12,7 @@
|
|||||||
SUBDIR += dumpasn1
|
SUBDIR += dumpasn1
|
||||||
SUBDIR += enca
|
SUBDIR += enca
|
||||||
SUBDIR += fconv
|
SUBDIR += fconv
|
||||||
|
SUBDIR += fix-mime-charset
|
||||||
SUBDIR += fribidi
|
SUBDIR += fribidi
|
||||||
SUBDIR += gbase
|
SUBDIR += gbase
|
||||||
SUBDIR += i18ntools
|
SUBDIR += i18ntools
|
||||||
|
39
converters/fix-mime-charset/Makefile
Normal file
39
converters/fix-mime-charset/Makefile
Normal 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>
|
1
converters/fix-mime-charset/distinfo
Normal file
1
converters/fix-mime-charset/distinfo
Normal file
@ -0,0 +1 @@
|
|||||||
|
MD5 (fix-mime-charset-0.5.2.tar.gz) = 4380dadef00657817dd61a35e51a1d17
|
9
converters/fix-mime-charset/pkg-descr
Normal file
9
converters/fix-mime-charset/pkg-descr
Normal 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
|
1
converters/fix-mime-charset/pkg-plist
Normal file
1
converters/fix-mime-charset/pkg-plist
Normal file
@ -0,0 +1 @@
|
|||||||
|
bin/fix-mime-charset
|
Loading…
Reference in New Issue
Block a user