2001-11-23 00:36:22 +01:00
|
|
|
# New ports collection makefile for: RDF::Notation3
|
|
|
|
# Date created: 21 Nov 2001
|
|
|
|
# Whom: Sergey Skvortsov <skv@protey.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= RDF-Notation3
|
2003-02-11 14:26:56 +01:00
|
|
|
PORTVERSION= 0.83
|
2001-11-23 00:36:22 +01:00
|
|
|
CATEGORIES= textproc perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= RDF
|
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2002-05-30 18:14:26 +02:00
|
|
|
MAINTAINER= skv@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= RDF Notation3 parser
|
2001-11-23 00:36:22 +01:00
|
|
|
|
2003-02-11 14:26:56 +01:00
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/XML/SAX.pm:${PORTSDIR}/textproc/p5-XML-SAX \
|
|
|
|
${SITE_PERL}/RDF/Core.pm:${PORTSDIR}/textproc/p5-RDF-Core \
|
|
|
|
${SITE_PERL}/RDFStore.pm:${PORTSDIR}/textproc/p5-RDFStore
|
2002-05-30 18:14:26 +02:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
2001-11-23 00:36:22 +01:00
|
|
|
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
|
2002-05-30 18:14:26 +02:00
|
|
|
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
2001-11-23 00:36:22 +01:00
|
|
|
MAN3= RDF::Notation3.3 RDF::Notation3::PrefTriples.3 \
|
2002-05-30 18:14:26 +02:00
|
|
|
RDF::Notation3::RDFCore.3 RDF::Notation3::RDFStore.3 \
|
2001-11-23 00:36:22 +01:00
|
|
|
RDF::Notation3::ReaderFile.3 RDF::Notation3::ReaderString.3 \
|
2002-05-30 18:14:26 +02:00
|
|
|
RDF::Notation3::SAX.3 RDF::Notation3::Template::TReader.3 \
|
|
|
|
RDF::Notation3::Template::TTriples.3 \
|
|
|
|
RDF::Notation3::Template::TXML.3 RDF::Notation3::Triples.3 \
|
|
|
|
RDF::Notation3::XML.3
|
2001-11-23 00:36:22 +01:00
|
|
|
|
|
|
|
pre-patch:
|
2003-11-13 13:54:57 +01:00
|
|
|
@${FIND} ${WRKSRC} -name "*.pm" | ${XARGS} ${PERL} -pi -e \
|
2002-05-30 18:14:26 +02:00
|
|
|
'$$package=$$1 if /^package\s+([^\s;]*);/; s!^require 5.005_62;!!; s!^use warnings;!!; s!^our\s+(\$$)(VERSION)\s+=!$$1$${package}::$$2=!;'
|
2001-11-23 00:36:22 +01:00
|
|
|
|
2003-02-11 14:26:56 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} < 500800
|
|
|
|
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|