mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
75 lines
2.1 KiB
Makefile
75 lines
2.1 KiB
Makefile
# New ports collection makefile for: p5-MIME-Tools
|
|
# Date created: April 27th 1998
|
|
# Whom: Eivind Eklund <eivind@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= p5-MIME-Tools
|
|
PORTVERSION= 5.420
|
|
PORTEPOCH= 2
|
|
CATEGORIES= mail perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= MIME
|
|
DISTNAME= MIME-tools-${PORTVERSION}
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= A set of perl5 modules for MIME
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/Mail/Header.pm:${PORTSDIR}/mail/p5-Mail-Tools \
|
|
${SITE_PERL}/IO/Wrap.pm:${PORTSDIR}/devel/p5-IO-stringy \
|
|
${SITE_PERL}/Convert/BinHex.pm:${PORTSDIR}/converters/p5-Convert-BinHex \
|
|
${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
PERL_CONFIGURE= 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
|
|
PORTEXAMPLES= examples/README examples/mimeabuse examples/mimedump examples/mimeencode \
|
|
examples/mimeexplode examples/mimepostcard examples/mimeprint \
|
|
examples/mimeref examples/mimesend examples/mimesender examples/mimetour
|
|
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
|
@${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
|
|
@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500600
|
|
IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
|
|
.endif
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name "*.orig" | ${XARGS} ${RM} -f
|
|
|
|
.include <bsd.port.post.mk>
|