diff --git a/devel/Makefile b/devel/Makefile index 16a49a88157a..aa3c7451362a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -632,6 +632,7 @@ SUBDIR += p5-Event SUBDIR += p5-Exception-Class SUBDIR += p5-Exporter-Lite + SUBDIR += p5-ExtUtils-Depends SUBDIR += p5-ExtUtils-ParseXS SUBDIR += p5-ExtUtils-XSBuilder SUBDIR += p5-File-BasicFlock diff --git a/devel/p5-ExtUtils-Depends/Makefile b/devel/p5-ExtUtils-Depends/Makefile new file mode 100644 index 000000000000..198ba79c68ad --- /dev/null +++ b/devel/p5-ExtUtils-Depends/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: ExtUtils-Depends +# Date created: 18 October 2003 +# Whom: Sergey Skvortsov +# +# $FreeBSD$ +# + +PORTNAME= ExtUtils-Depends +PORTVERSION= 0.102 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= ExtUtils +PKGNAMEPREFIX= p5- + +MAINTAINER= skv@FreeBSD.org +COMMENT= Easily build XS extensions that depend on XS extensions + +PERL_CONFIGURE= yes + +MAN3= ExtUtils::Depends.3 + +.include diff --git a/devel/p5-ExtUtils-Depends/distinfo b/devel/p5-ExtUtils-Depends/distinfo new file mode 100644 index 000000000000..9c3871d513e9 --- /dev/null +++ b/devel/p5-ExtUtils-Depends/distinfo @@ -0,0 +1 @@ +MD5 (ExtUtils-Depends-0.102.tar.gz) = 1f966c1bd5bab35b0eb9172a5db1f9a3 diff --git a/devel/p5-ExtUtils-Depends/pkg-descr b/devel/p5-ExtUtils-Depends/pkg-descr new file mode 100644 index 000000000000..8d427cb08a6f --- /dev/null +++ b/devel/p5-ExtUtils-Depends/pkg-descr @@ -0,0 +1,16 @@ +This module tries to make it easy to build Perl extensions that use +functions and typemaps provided by other perl extensions. This means +that a perl extension is treated like a shared library that provides +also a C and an XS interface besides the perl one. This works as long +as the base extension is loaded with the RTLD_GLOBAL flag (usually done +with a + + sub dl_load_flags {0x01} + +in the main .pm file) if you need to use functions defined in the +module. + +WWW: http://search.cpan.org/dist/ExtUtils-Depends/ + +-- Sergey Skvortsov +skv@FreeBSD.org diff --git a/devel/p5-ExtUtils-Depends/pkg-plist b/devel/p5-ExtUtils-Depends/pkg-plist new file mode 100644 index 000000000000..5d81f0c16e7f --- /dev/null +++ b/devel/p5-ExtUtils-Depends/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/ExtUtils/Depends/.packlist +%%SITE_PERL%%/ExtUtils/Depends.pm +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/ExtUtils/Depends +@unexec rmdir %D/%%SITE_PERL%%/ExtUtils 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/ExtUtils 2>/dev/null || true