summaryrefslogtreecommitdiff
path: root/misc/p5-File-CounterFile
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2003-07-06 13:08:01 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2003-07-06 13:08:01 +0000
commit2f1942cee974440a332530dbc072fcac31b71cf0 (patch)
treed46a8f684e68f999a472a195e1421d405417a34a /misc/p5-File-CounterFile
parentAdd p5-DateTime-Format-Bork 0.01, (diff)
Update to 1.00.
Add WWW:. Reset maintainer to ports@ (bounce). Submitted by: Mathieu Arnold <m@absolight.net> PR: ports/52327
Diffstat (limited to 'misc/p5-File-CounterFile')
-rw-r--r--misc/p5-File-CounterFile/Makefile5
-rw-r--r--misc/p5-File-CounterFile/distinfo2
-rw-r--r--misc/p5-File-CounterFile/files/patch-aa24
-rw-r--r--misc/p5-File-CounterFile/pkg-descr2
-rw-r--r--misc/p5-File-CounterFile/pkg-plist10
5 files changed, 21 insertions, 22 deletions
diff --git a/misc/p5-File-CounterFile/Makefile b/misc/p5-File-CounterFile/Makefile
index 156e43585cd7..e216569d0840 100644
--- a/misc/p5-File-CounterFile/Makefile
+++ b/misc/p5-File-CounterFile/Makefile
@@ -6,18 +6,17 @@
#
PORTNAME= File-CounterFile
-PORTVERSION= 0.12
+PORTVERSION= 1.00
CATEGORIES= misc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= File
PKGNAMEPREFIX= p5-
-MAINTAINER= wchao@isi.edu
+MAINTAINER= ports@FreeBSD.org
COMMENT= Perl module for persistent counter class
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= File::CounterFile.3
.include <bsd.port.mk>
diff --git a/misc/p5-File-CounterFile/distinfo b/misc/p5-File-CounterFile/distinfo
index c7586a49f2fa..ab1994013aa5 100644
--- a/misc/p5-File-CounterFile/distinfo
+++ b/misc/p5-File-CounterFile/distinfo
@@ -1 +1 @@
-MD5 (File-CounterFile-0.12.tar.gz) = 3102c3a464278b42ccd5a2eca250cabc
+MD5 (File-CounterFile-1.00.tar.gz) = 101bff08b3d307f8e9018cd9fcff45fc
diff --git a/misc/p5-File-CounterFile/files/patch-aa b/misc/p5-File-CounterFile/files/patch-aa
index 8852aa1342ae..dbea78491478 100644
--- a/misc/p5-File-CounterFile/files/patch-aa
+++ b/misc/p5-File-CounterFile/files/patch-aa
@@ -1,6 +1,15 @@
---- CounterFile.pm.orig Sat May 16 21:47:34 1998
-+++ CounterFile.pm Mon Apr 8 11:48:26 2002
-@@ -31,7 +31,7 @@
+--- CounterFile.pm.orig Tue Jul 30 23:45:06 2002
++++ CounterFile.pm Sun Jul 6 08:08:46 2003
+@@ -19,7 +19,7 @@
+ $DEFAULT_INITIAL = 0; # default initial counter value
+
+ # default location for counter files
+-$DEFAULT_DIR = $ENV{TMPDIR} || "/usr/tmp";
++$DEFAULT_DIR = $ENV{TMPDIR} || "/var/tmp";
+
+ # Experimental overloading.
+ use overload ('++' => \&inc,
+@@ -205,7 +205,7 @@
If the file name does not start with "/" or ".", then it is
interpreted as a file relative to C<$File::CounterFile::DEFAULT_DIR>.
The default value for this variable is initialized from the
@@ -9,12 +18,3 @@
variable is defined. You may want to assign a different value to this
variable before creating counters.
-@@ -88,7 +88,7 @@
- $DEFAULT_INITIAL = 0; # default initial counter value
-
- # default location for counter files
--$DEFAULT_DIR = $ENV{TMPDIR} || "/usr/tmp";
-+$DEFAULT_DIR = $ENV{TMPDIR} || "/var/tmp";
-
- # Experimental overloading.
- use overload ('++' => \&inc,
diff --git a/misc/p5-File-CounterFile/pkg-descr b/misc/p5-File-CounterFile/pkg-descr
index 66b0967b252e..aa376fa96edf 100644
--- a/misc/p5-File-CounterFile/pkg-descr
+++ b/misc/p5-File-CounterFile/pkg-descr
@@ -3,4 +3,4 @@ represented by a separate file in the file system. File locking is applied,
so multiple processes might try to access the same counters at the same
time without risk fo counter destruction.
-WWW: http://www.cpan.org/
+WWW: http://search.cpan.org/dist/File-CounterFile/
diff --git a/misc/p5-File-CounterFile/pkg-plist b/misc/p5-File-CounterFile/pkg-plist
index 3ef585b5e00c..f9212e5ad3e3 100644
--- a/misc/p5-File-CounterFile/pkg-plist
+++ b/misc/p5-File-CounterFile/pkg-plist
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/File/CounterFile.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File/CounterFile/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File/CounterFile
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/File 2>/dev/null || true
+%%SITE_PERL%%/File/CounterFile.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/CounterFile/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/CounterFile
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/File 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/File 2>/dev/null || true