1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- Add p5-mem 0.4.5

mem is a trivial pragma to either allow defining the module it is included from
as being defined so that later classes or packages in the same file can use the
package to pull in a reference to it, or to be able to call its import routine
from a different package in the same file.

With parameter assignments or other actions, it forces those assignments to be
done, immediately, at compile time instead of later at run time. It can be use,
for example, with Exporter, to export typed-sub's among other usages.

WWW: http://search.cpan.org/dist/mem/
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-01-18 10:26:58 +00:00
parent 87ccc8ec61
commit b2ff345e99
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=377289
5 changed files with 41 additions and 0 deletions

View File

@ -3194,6 +3194,7 @@
SUBDIR += p5-libxml-enno
SUBDIR += p5-local-lib
SUBDIR += p5-match-simple
SUBDIR += p5-mem
SUBDIR += p5-mixin
SUBDIR += p5-mocked
SUBDIR += p5-multidimensional

26
devel/p5-mem/Makefile Normal file
View File

@ -0,0 +1,26 @@
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= mem
PORTVERSION= 0.4.5
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:LAWALSH
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Use "in-mem" pkgs and force definitions into mem early
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
USE_PERL5= configure
USES= perl5
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502000
BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.82:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
.endif
.include <bsd.port.post.mk>

2
devel/p5-mem/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (mem-0.4.5.tar.gz) = cd0dc335ea9589e76b7b81fa15902300889ac3308b8783a52d65e3c46f11576d
SIZE (mem-0.4.5.tar.gz) = 11792

10
devel/p5-mem/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
mem is a trivial pragma to either allow defining the module it is included from
as being defined so that later classes or packages in the same file can use the
package to pull in a reference to it, or to be able to call its import routine
from a different package in the same file.
With parameter assignments or other actions, it forces those assignments to be
done, immediately, at compile time instead of later at run time. It can be use,
for example, with Exporter, to export typed-sub's among other usages.
WWW: http://search.cpan.org/dist/mem/

2
devel/p5-mem/pkg-plist Normal file
View File

@ -0,0 +1,2 @@
%%PERL5_MAN3%%/mem.3.gz
%%SITE_PERL%%/mem.pm