aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlth <lth@FreeBSD.org>2012-09-17 01:09:44 +0800
committerlth <lth@FreeBSD.org>2012-09-17 01:09:44 +0800
commit7341f6ab1e9614ee3f282b0fa69f2177b5dd2d61 (patch)
tree09297025a71e1e06753457574f5b3d3ab237403d
parent25a1710315e6cac47567c650cc42253128f88e89 (diff)
downloadfreebsd-ports-graphics-7341f6ab1e9614ee3f282b0fa69f2177b5dd2d61.tar.gz
freebsd-ports-graphics-7341f6ab1e9614ee3f282b0fa69f2177b5dd2d61.tar.zst
freebsd-ports-graphics-7341f6ab1e9614ee3f282b0fa69f2177b5dd2d61.zip
Add p5-Version-Next 0.002, increment module version numbers simply and
correctly.
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Version-Next/Makefile20
-rw-r--r--textproc/p5-Version-Next/distinfo2
-rw-r--r--textproc/p5-Version-Next/pkg-descr7
-rw-r--r--textproc/p5-Version-Next/pkg-plist5
5 files changed, 35 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index e8bd43f4ff9..872886dc893 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -871,6 +871,7 @@
SUBDIR += p5-Unicode-Normalize
SUBDIR += p5-Unicode-Unihan
SUBDIR += p5-Validator-Custom
+ SUBDIR += p5-Version-Next
SUBDIR += p5-Vroom
SUBDIR += p5-WDDX
SUBDIR += p5-WWW-Google-SiteMap
diff --git a/textproc/p5-Version-Next/Makefile b/textproc/p5-Version-Next/Makefile
new file mode 100644
index 00000000000..24f713eee3d
--- /dev/null
+++ b/textproc/p5-Version-Next/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= Version-Next
+PORTVERSION= 0.002
+CATEGORIES= textproc perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:DAGOLDEN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lth@FreeBSD.org
+COMMENT= Increment module version numbers simply and correctly
+
+BUILD_DEPENDS= p5-Sub-Exporter>=0:${PORTSDIR}/devel/p5-Sub-Exporter
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Version::Next.3
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Version-Next/distinfo b/textproc/p5-Version-Next/distinfo
new file mode 100644
index 00000000000..a52ad136aca
--- /dev/null
+++ b/textproc/p5-Version-Next/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Version-Next-0.002.tar.gz) = 1f225b63088667a4408d1cdd20fb31a11ec98ec9df5c846ccae205af102df27a
+SIZE (Version-Next-0.002.tar.gz) = 9428
diff --git a/textproc/p5-Version-Next/pkg-descr b/textproc/p5-Version-Next/pkg-descr
new file mode 100644
index 00000000000..d0f739ba07a
--- /dev/null
+++ b/textproc/p5-Version-Next/pkg-descr
@@ -0,0 +1,7 @@
+This module provides a simple, correct way to increment a Perl module version
+number. It does not attempt to guess what the original version number author
+intended, it simply increments in the smallest possible fashion. Decimals are
+incremented like an odometer. Dotted decimals are incremented piecewise and
+presented in a standardized way.
+
+WWW: http://search.cpan.org/dist/Version-Next/
diff --git a/textproc/p5-Version-Next/pkg-plist b/textproc/p5-Version-Next/pkg-plist
new file mode 100644
index 00000000000..bb64676c519
--- /dev/null
+++ b/textproc/p5-Version-Next/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Version/Next.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Version/Next/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Version/Next
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Version
+@dirrmtry %%SITE_PERL%%/Version