diff options
author | lth <lth@FreeBSD.org> | 2005-09-18 01:45:30 +0800 |
---|---|---|
committer | lth <lth@FreeBSD.org> | 2005-09-18 01:45:30 +0800 |
commit | d738a81e382f302db4d4e672f5b52abd9575db9c (patch) | |
tree | 29abb4a20356d42b023f78f6416eb8158a3d0f72 | |
parent | bdca9334ab1f05a57a4db4a40f37001895becc9f (diff) | |
download | freebsd-ports-gnome-d738a81e382f302db4d4e672f5b52abd9575db9c.tar.gz freebsd-ports-gnome-d738a81e382f302db4d4e672f5b52abd9575db9c.tar.zst freebsd-ports-gnome-d738a81e382f302db4d4e672f5b52abd9575db9c.zip |
Add p5-Module-Reload-Sel 1.02, reload perl library files when updated on
disk.
PR: ports/85126
Submitted by: simond@irrelevant.org
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Module-Reload-Sel/Makefile | 22 | ||||
-rw-r--r-- | devel/p5-Module-Reload-Sel/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-Module-Reload-Sel/files/patch-Selective.pm | 11 | ||||
-rw-r--r-- | devel/p5-Module-Reload-Sel/pkg-descr | 10 | ||||
-rw-r--r-- | devel/p5-Module-Reload-Sel/pkg-plist | 7 |
6 files changed, 53 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index a2ea022c7fcb..b23fa564b333 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -996,6 +996,7 @@ SUBDIR += p5-Module-Pluggable-Ordered SUBDIR += p5-Module-Refresh SUBDIR += p5-Module-Reload + SUBDIR += p5-Module-Reload-Sel SUBDIR += p5-Module-ScanDeps SUBDIR += p5-Module-Starter SUBDIR += p5-Module-Starter-PBP diff --git a/devel/p5-Module-Reload-Sel/Makefile b/devel/p5-Module-Reload-Sel/Makefile new file mode 100644 index 000000000000..4d6420fab1a3 --- /dev/null +++ b/devel/p5-Module-Reload-Sel/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: p5-Module-Reload-Selective +# Date created: 25 April 2005 +# Whom: simond@irrelevant.org +# +# $FreeBSD$ +# + +PORTNAME= Module-Reload-Sel +PORTVERSION= 1.02 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Module +PKGNAMEPREFIX= p5- + +MAINTAINER= simond@irrelevant.org +COMMENT= Reload perl library files when updated on disk + +PERL_CONFIGURE= yes + +MAN3= Module::Reload::Selective.3 + +.include <bsd.port.mk> diff --git a/devel/p5-Module-Reload-Sel/distinfo b/devel/p5-Module-Reload-Sel/distinfo new file mode 100644 index 000000000000..0ac154474872 --- /dev/null +++ b/devel/p5-Module-Reload-Sel/distinfo @@ -0,0 +1,2 @@ +MD5 (Module-Reload-Sel-1.02.tar.gz) = 27c209d6143b15d036263e31b18f6128 +SIZE (Module-Reload-Sel-1.02.tar.gz) = 10584 diff --git a/devel/p5-Module-Reload-Sel/files/patch-Selective.pm b/devel/p5-Module-Reload-Sel/files/patch-Selective.pm new file mode 100644 index 000000000000..c7b4a6f78eb7 --- /dev/null +++ b/devel/p5-Module-Reload-Sel/files/patch-Selective.pm @@ -0,0 +1,11 @@ +--- Selective.pm.orig Wed May 8 01:45:28 2002 ++++ Selective.pm Mon Apr 25 14:48:59 2005 +@@ -412,8 +412,6 @@ + + =cut + +-{}; ## Get emacs to indent correctly. Sigh. +- + use Data::Dumper; + + BEGIN diff --git a/devel/p5-Module-Reload-Sel/pkg-descr b/devel/p5-Module-Reload-Sel/pkg-descr new file mode 100644 index 000000000000..c0328fadc5e7 --- /dev/null +++ b/devel/p5-Module-Reload-Sel/pkg-descr @@ -0,0 +1,10 @@ +Utility for module developers to selectively reload needed modules +and/or conditionally augment @INC with additional, per-developer +library directories, at development time based on environment +variables. + +Particularly helpful in conjunction with mod_perl applications where +some or all application logic resides in separate Perl modules that +would otherwise not get reloaded until the server restarts. + +WWW: http://search.cpan.org/dist/Module-Reload-Sel/ diff --git a/devel/p5-Module-Reload-Sel/pkg-plist b/devel/p5-Module-Reload-Sel/pkg-plist new file mode 100644 index 000000000000..64cb37c4943c --- /dev/null +++ b/devel/p5-Module-Reload-Sel/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/Module/Reload/Selective.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/Reload/Selective/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/Reload/Selective +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/Reload 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Module 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Module/Reload 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Module 2>/dev/null || true |