aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-08-05 12:43:58 +0800
committerlioux <lioux@FreeBSD.org>2001-08-05 12:43:58 +0800
commita26a957b7642e5b56d65a02ee6af63ecaa733168 (patch)
treec2aadc532bb6d2c82124dd96e48735676a03f57a
parent2e62b5a84b372da273d6881895b9a411ce8bc78b (diff)
downloadfreebsd-ports-gnome-a26a957b7642e5b56d65a02ee6af63ecaa733168.tar.gz
freebsd-ports-gnome-a26a957b7642e5b56d65a02ee6af63ecaa733168.tar.zst
freebsd-ports-gnome-a26a957b7642e5b56d65a02ee6af63ecaa733168.zip
o Update to 1.04
o Update COMMENT, DESCR o Add WWW tag o More graceful dir removal using @unexec PR: 29436 Submitted by: Pete Fritchman <petef@databits.net>
-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 799702aa455b..f22388e6c434 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 c900953cdb58..e4c1883ae55d 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 880e1d555c4f..c8890beb3245 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 880e1d555c4f..2e7f06d78f49 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 ef5042af6bdd..74ad061abbe7 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