aboutsummaryrefslogtreecommitdiffstats
path: root/converters/fix-mime-charset/Makefile
blob: a5f341ffe151919de00a29a0a115cd4010d7b2ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Created by: Nosov Artem <chip-set@mail.ru>
# $FreeBSD$

PORTNAME=   fix-mime-charset
PORTVERSION=    0.5.3
PORTREVISION=   1
CATEGORIES= converters textproc russian ukrainian
MASTER_SITES=   SF/fix-mime-chr/${PORTNAME}/${PORTVERSION}

MAINTAINER= chip-set@mail.ru
COMMENT=    Fix incorrect Content-Type MIME headers of e-mail messages

LIB_DEPENDS=    libenca.so:${PORTSDIR}/converters/enca

PORTDOCS=   README.koi8r README

GNU_CONFIGURE=  yes
USES=       perl5
USE_PERL5=  build

CONFIGURE_ENV=  LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+=  -I${LOCALBASE}/include

MAN1=       fix-mime-charset.1
PLIST_FILES=    bin/fix-mime-charset

NO_STAGE=   yes

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
    @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>