aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2004-07-08 20:18:07 +0800
committertobez <tobez@FreeBSD.org>2004-07-08 20:18:07 +0800
commit8520fd6b9cca0df142b07248dbf0a0ec97e585ee (patch)
tree03638b885f037de17e36e253e346a8f229626dac /devel
parentd38dd5f713daf3b88b95d0151a5644ae4df65498 (diff)
downloadfreebsd-ports-graphics-8520fd6b9cca0df142b07248dbf0a0ec97e585ee.tar.gz
freebsd-ports-graphics-8520fd6b9cca0df142b07248dbf0a0ec97e585ee.tar.zst
freebsd-ports-graphics-8520fd6b9cca0df142b07248dbf0a0ec97e585ee.zip
Add devel/p5-File-Modified, a Perl module for checking intelligently if
files have changed.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-File-Modified/Makefile30
-rw-r--r--devel/p5-File-Modified/distinfo2
-rw-r--r--devel/p5-File-Modified/pkg-descr5
-rw-r--r--devel/p5-File-Modified/pkg-plist4
5 files changed, 42 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index af3ef3c803c..bd343db92a7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -766,6 +766,7 @@
SUBDIR += p5-File-Grep
SUBDIR += p5-File-Lock
SUBDIR += p5-File-MMagic
+ SUBDIR += p5-File-Modified
SUBDIR += p5-File-NCopy
SUBDIR += p5-File-NFSLock
SUBDIR += p5-File-Path-Expand
diff --git a/devel/p5-File-Modified/Makefile b/devel/p5-File-Modified/Makefile
new file mode 100644
index 00000000000..2283ce7385e
--- /dev/null
+++ b/devel/p5-File-Modified/Makefile
@@ -0,0 +1,30 @@
+# New Ports Collection Makefile for: p5-File-Modified
+# Date created: 2004-07-08
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= File-Modified
+PORTVERSION= 0.06
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= File
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= Perl module for checking intelligently if files have changed
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
+ ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
+ ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= File::Modified.3
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+ ${PERL} -pi -e 's/\r\n/\n/;' -e 's/^use warnings;//' ${WRKSRC}/Modified.pm
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-File-Modified/distinfo b/devel/p5-File-Modified/distinfo
new file mode 100644
index 00000000000..b5d276109ef
--- /dev/null
+++ b/devel/p5-File-Modified/distinfo
@@ -0,0 +1,2 @@
+MD5 (File-Modified-0.06.tar.gz) = d1fe91da113dfe9e96952f04dcaae5e4
+SIZE (File-Modified-0.06.tar.gz) = 6271
diff --git a/devel/p5-File-Modified/pkg-descr b/devel/p5-File-Modified/pkg-descr
new file mode 100644
index 00000000000..1edcedc3c1d
--- /dev/null
+++ b/devel/p5-File-Modified/pkg-descr
@@ -0,0 +1,5 @@
+The Modified module is intended as a simple method for programs to
+detect whether configuration files (or modules they rely on) have
+changed.
+
+WWW: http://search.cpan.org/search?dist=File-Modified
diff --git a/devel/p5-File-Modified/pkg-plist b/devel/p5-File-Modified/pkg-plist
new file mode 100644
index 00000000000..f428504c144
--- /dev/null
+++ b/devel/p5-File-Modified/pkg-plist
@@ -0,0 +1,4 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Modified/.packlist
+%%SITE_PERL%%/File/Modified.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Modified
+@unexec rmdir %D/%%SITE_PERL%%/File 2>/dev/null || true