diff options
author | adamw <adamw@FreeBSD.org> | 2016-04-03 01:32:53 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2016-04-03 01:32:53 +0800 |
commit | 12f9df80cef8cdd251db5c7f488993e61d5415c0 (patch) | |
tree | 31a7f4255b402d4d0eb8fd4270e7122266f00973 /devel | |
parent | e783e4adfea5ced7fbf2d556cd908c1897f27c90 (diff) | |
download | freebsd-ports-gnome-12f9df80cef8cdd251db5c7f488993e61d5415c0.tar.gz freebsd-ports-gnome-12f9df80cef8cdd251db5c7f488993e61d5415c0.tar.zst freebsd-ports-gnome-12f9df80cef8cdd251db5c7f488993e61d5415c0.zip |
Add devel/p5-namespace-clean-xs, essentially a drop-in replacement for
devel/p5-namespace-clean, but in XS and with no dependencies.
WWW: https://metacpan.org/pod/namespace::clean::xs
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-namespace-clean-xs/Makefile | 24 | ||||
-rw-r--r-- | devel/p5-namespace-clean-xs/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-namespace-clean-xs/pkg-descr | 4 | ||||
-rw-r--r-- | devel/p5-namespace-clean-xs/pkg-plist | 6 |
5 files changed, 37 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index c73faf9ba4a4..edda30dfc318 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3484,6 +3484,7 @@ SUBDIR += p5-multidimensional SUBDIR += p5-namespace-autoclean SUBDIR += p5-namespace-clean + SUBDIR += p5-namespace-clean-xs SUBDIR += p5-namespace-sweep SUBDIR += p5-orz SUBDIR += p5-parent diff --git a/devel/p5-namespace-clean-xs/Makefile b/devel/p5-namespace-clean-xs/Makefile new file mode 100644 index 000000000000..7a6e0c43f623 --- /dev/null +++ b/devel/p5-namespace-clean-xs/Makefile @@ -0,0 +1,24 @@ +# Created by: Adam Weinberger <adamw@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= namespace-clean-xs +PORTVERSION= 0.05 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= adamw@FreeBSD.org +COMMENT= Keep imports and functions out of your namespace, in XS + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +TEST_DEPENDS= p5-Test-LeakTrace>=0:devel/p5-Test-LeakTrace + +USES= perl5 +USE_PERL5= configure + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/namespace/clean/xs/xs.so + +.include <bsd.port.mk> diff --git a/devel/p5-namespace-clean-xs/distinfo b/devel/p5-namespace-clean-xs/distinfo new file mode 100644 index 000000000000..4dcd25d3f328 --- /dev/null +++ b/devel/p5-namespace-clean-xs/distinfo @@ -0,0 +1,2 @@ +SHA256 (namespace-clean-xs-0.05.tar.gz) = e17e7890f09833f7acd1d852995ec84ff3c374a74c6a1b9d3af2fadff6ca264e +SIZE (namespace-clean-xs-0.05.tar.gz) = 12085 diff --git a/devel/p5-namespace-clean-xs/pkg-descr b/devel/p5-namespace-clean-xs/pkg-descr new file mode 100644 index 000000000000..b17cbf8ee887 --- /dev/null +++ b/devel/p5-namespace-clean-xs/pkg-descr @@ -0,0 +1,4 @@ +This module does the same thing as devel/p5-namespace-clean, but in +XS and with no dependencies. + +WWW: https://metacpan.org/pod/namespace::clean::xs diff --git a/devel/p5-namespace-clean-xs/pkg-plist b/devel/p5-namespace-clean-xs/pkg-plist new file mode 100644 index 000000000000..26cfa0df5ec2 --- /dev/null +++ b/devel/p5-namespace-clean-xs/pkg-plist @@ -0,0 +1,6 @@ +%%SITE_ARCH%%/auto/namespace/clean/xs/xs.so +%%SITE_ARCH%%/namespace/clean/xs.pm +%%SITE_ARCH%%/namespace/clean/xs/all.pm +%%SITE_ARCH%%/namespace/clean/xs/compat.h +%%PERL5_MAN3%%/namespace::clean::xs.3.gz +%%PERL5_MAN3%%/namespace::clean::xs::all.3.gz |