aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-MIME-Tools/Makefile
blob: df830c0286a692b3b7fbd865128b6a534b6f2177 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Created by: Eivind Eklund <eivind@FreeBSD.org>
# $FreeBSD$

PORTNAME=   MIME-Tools
PORTVERSION=    5.504
PORTEPOCH=  2
CATEGORIES= mail perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:DSKOLL
PKGNAMEPREFIX=  p5-
DISTNAME=   MIME-tools-${PORTVERSION}

MAINTAINER= perl@FreeBSD.org
COMMENT=    Set of perl5 modules for MIME

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

BUILD_DEPENDS=  p5-Convert-BinHex>=0:${PORTSDIR}/converters/p5-Convert-BinHex \
        p5-IO-stringy>=2.11:${PORTSDIR}/devel/p5-IO-stringy \
        p5-Mail-Tools>=1.0203:${PORTSDIR}/mail/p5-Mail-Tools
RUN_DEPENDS:=   ${BUILD_DEPENDS}
TEST_DEPENDS=   p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep

USES=       perl5
USE_PERL5=  configure
NO_STAGE=   yes

MAN3=   MIME::Body.3 \
    MIME::Decoder.3 \
    MIME::Decoder::Base64.3 \
    MIME::Decoder::BinHex.3 \
    MIME::Decoder::Binary.3 \
    MIME::Decoder::Gzip64.3 \
    MIME::Decoder::NBit.3 \
    MIME::Decoder::QuotedPrint.3 \
    MIME::Decoder::UU.3 \
    MIME::Entity.3 \
    MIME::Field::ConTraEnc.3 \
    MIME::Field::ContDisp.3 \
    MIME::Field::ContType.3 \
    MIME::Field::ParamVal.3 \
    MIME::Head.3 \
    MIME::Parser.3 \
    MIME::Parser::Filer.3 \
    MIME::Parser::Reader.3 \
    MIME::Parser::Results.3 \
    MIME::Tools.3 \
    MIME::WordDecoder.3 \
    MIME::Words.3

.if !defined(NOPORTDOCS)
PORTDOCS=   ChangeLog README

post-install:
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
    @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif

.include <bsd.port.mk>