aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-XML-TreePP/Makefile
blob: 8ef7a9ccfb2e784cf7c99203d8beca763cefbcc2 (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
PORTNAME=	XML-TreePP
PORTVERSION=	0.43
CATEGORIES=	textproc perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Pure Perl implementation for parsing/writing xml files

LICENSE=	ART10 GPLv1+
LICENSE_COMB=	dual

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-libwww>=5.811:www/p5-libwww
TEST_DEPENDS=	p5-HTTP-Lite>=0:www/p5-HTTP-Lite \
		p5-Tie-IxHash>=0:devel/p5-Tie-IxHash

OPTIONS_DEFINE=	EXAMPLES

USES=		perl5 shebangfix
USE_PERL5=	configure

PORTEXAMPLES=	envxml.cgi

SHEBANG_FILES=	example/envxml.cgi

post-install:
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_SCRIPT} ${WRKSRC}/example/envxml.cgi ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>