New port: p5-Module-Versions-Report.

Report versions of all modules in memory.
This commit is contained in:
Dmitry Sivachenko 2004-07-07 13:32:33 +00:00
parent 5614a2d825
commit dc4e047ead
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=113138
5 changed files with 48 additions and 0 deletions

View file

@ -838,6 +838,7 @@
SUBDIR += p5-Module-Info SUBDIR += p5-Module-Info
SUBDIR += p5-Module-Reload SUBDIR += p5-Module-Reload
SUBDIR += p5-Module-ScanDeps SUBDIR += p5-Module-ScanDeps
SUBDIR += p5-Module-Versions-Report
SUBDIR += p5-NEXT SUBDIR += p5-NEXT
SUBDIR += p5-Net-LibIDN SUBDIR += p5-Net-LibIDN
SUBDIR += p5-OLE-Storage_Lite SUBDIR += p5-OLE-Storage_Lite

View file

@ -0,0 +1,22 @@
# New ports collection makefile for: Module::Versions::Report
# Date created: 7 July 2004
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Module-Versions-Report
PORTVERSION= 1.02
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Module
PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Report versions of all modules in memory
PERL_CONFIGURE= yes
MAN3= Module::Versions::Report.3
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
MD5 (Module-Versions-Report-1.02.tar.gz) = a2ef9353386df4c4e49c7e4031c45bd3
SIZE (Module-Versions-Report-1.02.tar.gz) = 4671

View file

@ -0,0 +1,20 @@
use Module::Versions::Report;
...and any code you want...
This will run all your code normally, but then as the Perl interpreter
is about to exit, it will print something like:
Perl v5.6.1 under MSWin32.
Modules in memory:
attributes;
AutoLoader v5.58;
Carp;
Config;
DynaLoader v1.04;
Exporter v5.562;
Module::Versions::Report v1.01;
HTML::Entities v1.22;
HTML::HeadParser v2.15;
HTML::Parser v3.25;
[... and whatever other modules were loaded that session...]

View file

@ -0,0 +1,3 @@
%%SITE_PERL%%/Module/Versions/Report.pm
@dirrm %%SITE_PERL%%/Module/Versions
@unexec rmdir %D/%%SITE_PERL%%/Module 2>/dev/null || true