diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2001-11-22 23:36:22 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2001-11-22 23:36:22 +0000 |
commit | a7bc9872058dd6bd81fe68674b523c389a65fdd8 (patch) | |
tree | 2df9bd473f72b7daf46ce94982a99ac21294257e /textproc/p5-RDF-Notation3/Makefile | |
parent | Add p5-XML-SAX-Expat 0.05, simple API for XML. (diff) |
Add p5-RDF-Notation3 0.40, RDF Notation3 parser.
PR: 32162
Submitted by: Sergey Skvortsov <skv@protey.ru>
Notes
Notes:
svn path=/head/; revision=50387
Diffstat (limited to 'textproc/p5-RDF-Notation3/Makefile')
-rw-r--r-- | textproc/p5-RDF-Notation3/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/textproc/p5-RDF-Notation3/Makefile b/textproc/p5-RDF-Notation3/Makefile new file mode 100644 index 000000000000..5ec849967a6e --- /dev/null +++ b/textproc/p5-RDF-Notation3/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: RDF::Notation3 +# Date created: 21 Nov 2001 +# Whom: Sergey Skvortsov <skv@protey.ru> +# +# $FreeBSD$ +# + +PORTNAME= RDF-Notation3 +PORTVERSION= 0.40 +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= RDF +PKGNAMEPREFIX= p5- + +MAINTAINER= skv@protey.ru + +RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +BUILD_DEPENDS= ${RUN_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= RDF::Notation3.3 RDF::Notation3::PrefTriples.3 \ + RDF::Notation3::ReaderFile.3 RDF::Notation3::ReaderString.3 \ + RDF::Notation3::Template::TReader.3 \ + RDF::Notation3::Template::TTriples.3 RDF::Notation3::Triples.3 + +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +pre-patch: + @find ${WRKSRC} -name "*.pm" | xargs ${PERL} -pi -e \ + '$$package=$$1 if /^package\s+([^\s;]*);/; s!^require 5.005_62;!!; s!^use warnings;!!; s!^our\s+(\$$)(VERSION)\s+=!$$1$${package}::$$2=!;' + +.include <bsd.port.mk> |