aboutsummaryrefslogtreecommitdiffstats
path: root/converters/fix-mime-charset/Makefile
blob: 3cf690717c5509d96c5544def65fd911ca6ce442 (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.2
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.4:${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>