freebsd-ports/textproc/p5-RDF-Notation3/Makefile
Anton Berezin a7bc987205 Add p5-RDF-Notation3 0.40, RDF Notation3 parser.
PR:		32162
Submitted by:	Sergey Skvortsov <skv@protey.ru>
2001-11-22 23:36:22 +00:00

34 lines
980 B
Makefile

# 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>