aboutsummaryrefslogtreecommitdiffstats
path: root/converters/fix-mime-charset/Makefile
blob: a8918b099ffb1da343aa6086876ec43156d779d3 (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
40
41
# 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.3
PORTREVISION=   1
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.5:${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
PLIST_FILES=    bin/fix-mime-charset

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
    @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>