diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2003-10-16 13:11:54 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2003-10-16 13:11:54 +0000 |
commit | f616b23d9d139ddd1fdce9e92c0c4f0478cbcabe (patch) | |
tree | 9a30ca38d8ea1c0627d8385a9155f96e33376ac4 /devel | |
parent | Add p5-Devel-Trace 0.10, (diff) |
Add p5-Devel-Size 0.58,
Perl extension for finding the memory usage of Perl variables.
Notes
Notes:
svn path=/head/; revision=91432
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Devel-Size/Makefile | 22 | ||||
-rw-r--r-- | devel/p5-Devel-Size/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-Devel-Size/pkg-descr | 6 | ||||
-rw-r--r-- | devel/p5-Devel-Size/pkg-plist | 7 |
5 files changed, 37 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 9c2a8233745f..1941fe935290 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -621,6 +621,7 @@ SUBDIR += p5-Devel-Peek SUBDIR += p5-Devel-Profile SUBDIR += p5-Devel-Profiler + SUBDIR += p5-Devel-Size SUBDIR += p5-Devel-StackTrace SUBDIR += p5-Devel-Symdump SUBDIR += p5-Devel-Trace diff --git a/devel/p5-Devel-Size/Makefile b/devel/p5-Devel-Size/Makefile new file mode 100644 index 000000000000..13665b56ed5f --- /dev/null +++ b/devel/p5-Devel-Size/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: Devel-Size +# Date created: 16 Octobre 2003 +# Whom: mat +# +# $FreeBSD$ +# + +PORTNAME= Devel-Size +PORTVERSION= 0.58 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Devel +PKGNAMEPREFIX= p5- + +MAINTAINER= mat@FreeBSD.org +COMMENT= Perl extension for finding the memory usage of Perl variables + +PERL_CONFIGURE= yes + +MAN3= Devel::Size.3 + +.include <bsd.port.mk> diff --git a/devel/p5-Devel-Size/distinfo b/devel/p5-Devel-Size/distinfo new file mode 100644 index 000000000000..7409f383c85e --- /dev/null +++ b/devel/p5-Devel-Size/distinfo @@ -0,0 +1 @@ +MD5 (Devel-Size-0.58.tar.gz) = 3043357cff650863b00cb54e511e38f0 diff --git a/devel/p5-Devel-Size/pkg-descr b/devel/p5-Devel-Size/pkg-descr new file mode 100644 index 000000000000..55ba6a0bc1f1 --- /dev/null +++ b/devel/p5-Devel-Size/pkg-descr @@ -0,0 +1,6 @@ +This module figures out the real sizes of Perl variables in bytes. Call +functions with a reference to the variable you want the size of. If the +variable is a plain scalar it returns the size of the scalar. If the variable +is a hash or an array, use a reference when calling. + +WWW: http://search.cpan.org/dist/Devel-Size/ diff --git a/devel/p5-Devel-Size/pkg-plist b/devel/p5-Devel-Size/pkg-plist new file mode 100644 index 000000000000..73d2a3a0248b --- /dev/null +++ b/devel/p5-Devel-Size/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Size.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/Size/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/Size/Size.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/Size/Size.so +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/Size +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Devel 2>/dev/null || true |