aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2006-04-07 16:23:52 +0800
committerskv <skv@FreeBSD.org>2006-04-07 16:23:52 +0800
commitac111e443dcf99108fc3d315536319fa4d7a72b8 (patch)
tree25dc1dc0486000f762346b9fc6719986e7a4f9e7 /textproc
parentb5a2a480fd8efc958e815016188f5dab11f65378 (diff)
downloadfreebsd-ports-graphics-ac111e443dcf99108fc3d315536319fa4d7a72b8.tar.gz
freebsd-ports-graphics-ac111e443dcf99108fc3d315536319fa4d7a72b8.tar.zst
freebsd-ports-graphics-ac111e443dcf99108fc3d315536319fa4d7a72b8.zip
Update to 0.40
Changes: http://search.cpan.org/src/DPOKORNY/RDF-Core-0.40/Changes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-RDF-Core/Makefile15
-rw-r--r--textproc/p5-RDF-Core/distinfo6
2 files changed, 12 insertions, 9 deletions
diff --git a/textproc/p5-RDF-Core/Makefile b/textproc/p5-RDF-Core/Makefile
index a14f014733a..9be5167a550 100644
--- a/textproc/p5-RDF-Core/Makefile
+++ b/textproc/p5-RDF-Core/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= RDF-Core
-PORTVERSION= 0.31
+PORTVERSION= 0.40
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= RDF
@@ -16,6 +16,7 @@ MAINTAINER= skv@FreeBSD.org
COMMENT= An object oriented Perl modules for handling tasks related to RDF
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \
+ ${SITE_PERL}/${PERL_ARCH}/Bundle/DBI.pm:${PORTSDIR}/databases/p5-DBI \
${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI
RUN_DEPENDS= ${BUILD_DEPENDS}
@@ -37,10 +38,6 @@ MAN3= RDF::Core.3 RDF::Core::Constants.3 RDF::Core::Enumerator.3 \
DOCSUBDIR= / RDF RDF/Core RDF/Core/Enumerator RDF/Core/Model \
RDF/Core/Storage
-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=!;'
-
post-install:
.ifndef(NOPORTDOCS)
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
@@ -50,4 +47,10 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= perl 5.6 or newer required. Install lang/perl5.8 or lang/perl5 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-RDF-Core/distinfo b/textproc/p5-RDF-Core/distinfo
index 1c94d58be22..ac253663702 100644
--- a/textproc/p5-RDF-Core/distinfo
+++ b/textproc/p5-RDF-Core/distinfo
@@ -1,3 +1,3 @@
-MD5 (RDF-Core-0.31.tar.gz) = 212f52d432288f0ea5ec55a0c0803825
-SHA256 (RDF-Core-0.31.tar.gz) = 752fd64a14208fdd840cb97e0c3a4b66b0611321f03d758079bee66703b22f5f
-SIZE (RDF-Core-0.31.tar.gz) = 75154
+MD5 (RDF-Core-0.40.tar.gz) = 1cd2d22b4410ff2eb4e83b1304762309
+SHA256 (RDF-Core-0.40.tar.gz) = 857416184ffe1fdf78dfd313341f35a967427d1a7274c10be8b9d0a482c5fba8
+SIZE (RDF-Core-0.40.tar.gz) = 76171