Add p5-Module-Reload-Sel 1.02, reload perl library files when updated on

disk.

PR:		ports/85126
Submitted by:	simond@irrelevant.org
This commit is contained in:
Lars Thegler 2005-09-17 17:45:30 +00:00
parent 54f8073b04
commit 9dd55cf6f5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=143017
6 changed files with 53 additions and 0 deletions

View file

@ -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

View file

@ -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>

View file

@ -0,0 +1,2 @@
MD5 (Module-Reload-Sel-1.02.tar.gz) = 27c209d6143b15d036263e31b18f6128
SIZE (Module-Reload-Sel-1.02.tar.gz) = 10584

View file

@ -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

View file

@ -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/

View file

@ -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