summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/p5-Date-Leapyear/Makefile4
-rw-r--r--devel/p5-Date-Leapyear/distinfo2
-rw-r--r--devel/p5-Date-Leapyear/pkg-comment2
-rw-r--r--devel/p5-Date-Leapyear/pkg-descr5
-rw-r--r--devel/p5-Date-Leapyear/pkg-plist4
5 files changed, 11 insertions, 6 deletions
diff --git a/devel/p5-Date-Leapyear/Makefile b/devel/p5-Date-Leapyear/Makefile
index 799702a..f22388e 100644
--- a/devel/p5-Date-Leapyear/Makefile
+++ b/devel/p5-Date-Leapyear/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= Date-Leapyear
-PORTVERSION= 1.02
+PORTVERSION= 1.04
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Date
@@ -15,6 +15,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/0//}
+
PERL_CONFIGURE= yes
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
diff --git a/devel/p5-Date-Leapyear/distinfo b/devel/p5-Date-Leapyear/distinfo
index c900953..e4c1883 100644
--- a/devel/p5-Date-Leapyear/distinfo
+++ b/devel/p5-Date-Leapyear/distinfo
@@ -1 +1 @@
-MD5 (Date-Leapyear-1.02.tar.gz) = 0e0d99734440674369cfd3648e5efed2
+MD5 (Date-Leapyear-1.04.tar.gz) = 78b54d8bcb7783fdf7f3aeb1de3b0153
diff --git a/devel/p5-Date-Leapyear/pkg-comment b/devel/p5-Date-Leapyear/pkg-comment
index 880e1d5..c8890be 100644
--- a/devel/p5-Date-Leapyear/pkg-comment
+++ b/devel/p5-Date-Leapyear/pkg-comment
@@ -1 +1 @@
-Is a particular year a leap year?
+Perl module to determine if a particular year a leap year
diff --git a/devel/p5-Date-Leapyear/pkg-descr b/devel/p5-Date-Leapyear/pkg-descr
index 880e1d5..2e7f06d 100644
--- a/devel/p5-Date-Leapyear/pkg-descr
+++ b/devel/p5-Date-Leapyear/pkg-descr
@@ -1 +1,4 @@
-Is a particular year a leap year?
+Date::Leapyear is a Perl module which exports one function: isleap(),
+which returns a 1 or 0 if the year is a leap year or not, respectively.
+
+WWW: http://search.cpan.org/search?dist=Date-Leapyear
diff --git a/devel/p5-Date-Leapyear/pkg-plist b/devel/p5-Date-Leapyear/pkg-plist
index ef5042a..74ad061 100644
--- a/devel/p5-Date-Leapyear/pkg-plist
+++ b/devel/p5-Date-Leapyear/pkg-plist
@@ -1,5 +1,5 @@
lib/perl5/site_perl/%%PERL_VER%%/Date/Leapyear.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date/Leapyear/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Date
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date/Leapyear
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Date 2>/dev/null || true
OpenPOWER on IntegriCloud