2013-09-10 09:55:33 +02:00
|
|
|
# Created by: Nosov Artem <chip-set@mail.ru>
|
2004-01-08 03:50:16 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= fix-mime-charset
|
2004-10-16 17:21:29 +02:00
|
|
|
PORTVERSION= 0.5.3
|
2006-06-14 17:27:13 +02:00
|
|
|
PORTREVISION= 1
|
2004-01-08 03:50:16 +01:00
|
|
|
CATEGORIES= converters textproc russian ukrainian
|
2009-08-22 02:15:15 +02:00
|
|
|
MASTER_SITES= SF/fix-mime-chr/${PORTNAME}/${PORTVERSION}
|
2004-01-08 03:50:16 +01:00
|
|
|
|
|
|
|
MAINTAINER= chip-set@mail.ru
|
|
|
|
COMMENT= Fix incorrect Content-Type MIME headers of e-mail messages
|
|
|
|
|
2014-01-09 14:36:10 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2013-12-11 16:15:48 +01:00
|
|
|
LIB_DEPENDS= libenca.so:${PORTSDIR}/converters/enca
|
2004-01-08 03:50:16 +01:00
|
|
|
|
|
|
|
PORTDOCS= README.koi8r README
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2013-09-10 09:55:33 +02:00
|
|
|
USES= perl5
|
|
|
|
USE_PERL5= build
|
2004-01-08 03:50:16 +01:00
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2004-01-08 03:50:16 +01:00
|
|
|
|
2014-01-09 14:36:10 +01:00
|
|
|
PLIST_FILES= bin/fix-mime-charset \
|
|
|
|
man/man1/fix-mime-charset.1.gz
|
2014-01-03 17:12:21 +01:00
|
|
|
|
2004-01-08 03:50:16 +01:00
|
|
|
post-install:
|
2014-01-09 14:36:10 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2004-01-08 03:50:16 +01:00
|
|
|
.for f in ${PORTDOCS}
|
2014-01-09 14:36:10 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
2004-01-08 03:50:16 +01:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|