aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-RDF-Simple/Makefile
blob: 27753f461e24227f7c94f8ae11d2d792f52e92c6 (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
# New ports collection makefile for: p5-RDF-Simple
# Date created: July 12 2004
# Whom: Aaron Straup Cope <ascope@cpan.org>
#
# $FreeBSD$
#

PORTNAME=   RDF-Simple
PORTVERSION=    0.13
PORTREVISION=   1
CATEGORIES= textproc perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= RDF
PKGNAMEPREFIX=  p5-

MAINTAINER= ascope@cpan.org
COMMENT=    Read and write RDF without complication

BUILD_DEPENDS=  ${SITE_PERL}/XML/SAX.pm:${PORTSDIR}/textproc/p5-XML-SAX \
        ${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit \
        ${SITE_PERL}/${PERL_ARCH}/Class/MethodMaker.pm:${PORTSDIR}/devel/p5-Class-MethodMaker \
        ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=   RDF::Simple.3 RDF::Simple::Parser.3 RDF::Simple::Serialiser.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
post-patch:
    @${PERL} -pi -e 's/^our (\S+)/use vars q{$$1};$$1/g' \
    ${WRKSRC}/lib/RDF/Simple.pm ${WRKSRC}/lib/RDF/Simple/*.pm
.endif

.include <bsd.port.post.mk>