diff options
author | mat <mat@FreeBSD.org> | 2003-09-02 22:33:48 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2003-09-02 22:33:48 +0800 |
commit | 2560291248167ed9060030aa686fe02f468d1dbb (patch) | |
tree | e78f06b3100ad52402551bd85086eccb63318ad0 /devel/p5-Module-Reload | |
parent | 489c4f8b4d643358c908efcf4df0c54b79741311 (diff) | |
download | freebsd-ports-gnome-2560291248167ed9060030aa686fe02f468d1dbb.tar.gz freebsd-ports-gnome-2560291248167ed9060030aa686fe02f468d1dbb.tar.zst freebsd-ports-gnome-2560291248167ed9060030aa686fe02f468d1dbb.zip |
Add p5-Module-Reload 1.07,
Reload perl library files when updated on disk.
PR: 56261
Submitted by: Andrew McNaughton <andrew@scoop.co.nz>
Diffstat (limited to 'devel/p5-Module-Reload')
-rw-r--r-- | devel/p5-Module-Reload/Makefile | 22 | ||||
-rw-r--r-- | devel/p5-Module-Reload/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-Module-Reload/pkg-descr | 12 | ||||
-rw-r--r-- | devel/p5-Module-Reload/pkg-plist | 5 |
4 files changed, 40 insertions, 0 deletions
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 |