aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-XML-RSS-LibXML/Makefile
blob: 234456c95db8d3f3ce1c33c3f0b89f9dda93c093 (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
# New ports collection makefile for:	p5-XML-RSS-LibXML
# Date created:		2006-01-15
# Whom:			Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=	XML-RSS-LibXML
PORTVERSION=	0.30.01
CATEGORIES=	textproc perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	XML
PKGNAMEPREFIX=	p5-
DISTNAME=	${PORTNAME}-0.3001

MAINTAINER=	clsung@FreeBSD.org
COMMENT=	XML::RSS with XML::LibXML

RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \
		${SITE_PERL}/Class/Accessor/Fast.pm:${PORTSDIR}/devel/p5-Class-Accessor \
		${SITE_PERL}/DateTime/Format/Mail.pm:${PORTSDIR}/devel/p5-DateTime-Format-Mail \
		${SITE_PERL}/DateTime/Format/W3CDTF.pm:${PORTSDIR}/devel/p5-DateTime-Format-W3CDTF \
		${SITE_PERL}/UNIVERSAL/require.pm:${PORTSDIR}/devel/p5-UNIVERSAL-require
BUILD_DEPENDS=	${RUN_DEPENDS}

PERL_CONFIGURE=	yes

MAN3=		XML::RSS::LibXML.3 XML::RSS::LibXML::ImplBase.3 \
		XML::RSS::LibXML::MagicElement.3 \
		XML::RSS::LibXML::Namespaces.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500703	# inherited from converters/p5-Encode
IGNORE=		requires perl 5.7.3 or later. Install lang/perl5.8 then try again
.endif

post-install:
	${MKDIR} ${EXAMPLESDIR}
	${INSTALL_SCRIPT} ${WRKSRC}/tools/benchmark.pl ${EXAMPLESDIR}

.include <bsd.port.post.mk>