summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Module-Reload/Makefile22
-rw-r--r--devel/p5-Module-Reload/distinfo1
-rw-r--r--devel/p5-Module-Reload/pkg-descr12
-rw-r--r--devel/p5-Module-Reload/pkg-plist5
5 files changed, 41 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index c49edd80652e..c6fee0aca2de 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -672,6 +672,7 @@
SUBDIR += p5-Module-Build
SUBDIR += p5-Module-CoreList
SUBDIR += p5-Module-Info
+ SUBDIR += p5-Module-Reload
SUBDIR += p5-Module-ScanDeps
SUBDIR += p5-OLE-Storage_Lite
SUBDIR += p5-ORBit
diff --git a/devel/p5-Module-Reload/Makefile b/devel/p5-Module-Reload/Makefile
new file mode 100644
index 000000000000..67da59badc86
--- /dev/null
+++ b/devel/p5-Module-Reload/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: p5-Module-Reload
+# Date created: 01 September 2003
+# Whom: andrew@scoop.co.nz
+#
+# $FreeBSD$
+#
+
+PORTNAME= Module-Reload
+PORTVERSION= 1.07
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Module
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= andrew@scoop.co.nz
+COMMENT= Reload perl library files when updated on disk
+
+PERL_CONFIGURE= yes
+
+MAN3= Module::Reload.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Module-Reload/distinfo b/devel/p5-Module-Reload/distinfo
new file mode 100644
index 000000000000..6a36f2c52d6e
--- /dev/null
+++ b/devel/p5-Module-Reload/distinfo
@@ -0,0 +1 @@
+MD5 (Module-Reload-1.07.tar.gz) = 17fa42608052a79bf2f0c24221bd8c31
diff --git a/devel/p5-Module-Reload/pkg-descr b/devel/p5-Module-Reload/pkg-descr
new file mode 100644
index 000000000000..cda95acbee98
--- /dev/null
+++ b/devel/p5-Module-Reload/pkg-descr
@@ -0,0 +1,12 @@
+p5-Module-Reload
+================
+
+Similar to Apache::Reload, this module allows a running perl program to reload
+all its libraries. Very useful for developing perl servers.
+
+When Perl pulls a file via require, it stores the filename in the global hash
+%INC. The next time Perl tries to 'require' the same file, it sees the file in
+%INC and does not reload from disk. This module's handler iterates over %INC
+and reloads the file if it has changed on disk.
+
+WWW: http://search.cpan.org/dist/Module-Reload/
diff --git a/devel/p5-Module-Reload/pkg-plist b/devel/p5-Module-Reload/pkg-plist
new file mode 100644
index 000000000000..fb89618a353f
--- /dev/null
+++ b/devel/p5-Module-Reload/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Module/Reload.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/Reload/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/Reload
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Module 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Module 2>/dev/null || true