From 9e35da574c6c0d489c5fae3a0fc1ea812fff713c Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Fri, 20 Feb 2004 13:52:00 +0000 Subject: [PATCH] Add p5-ExtUtils-CBuilder 0.01, compile and link C code for Perl modules. --- devel/Makefile | 1 + devel/p5-ExtUtils-CBuilder/Makefile | 29 ++++++++++++++++++++++++++++ devel/p5-ExtUtils-CBuilder/distinfo | 2 ++ devel/p5-ExtUtils-CBuilder/pkg-descr | 8 ++++++++ devel/p5-ExtUtils-CBuilder/pkg-plist | 15 ++++++++++++++ 5 files changed, 55 insertions(+) create mode 100644 devel/p5-ExtUtils-CBuilder/Makefile create mode 100644 devel/p5-ExtUtils-CBuilder/distinfo create mode 100644 devel/p5-ExtUtils-CBuilder/pkg-descr create mode 100644 devel/p5-ExtUtils-CBuilder/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index e0b3b70145f4..04acf4fead9d 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -682,6 +682,7 @@ SUBDIR += p5-Event SUBDIR += p5-Exception-Class SUBDIR += p5-Exporter-Lite + SUBDIR += p5-ExtUtils-CBuilder SUBDIR += p5-ExtUtils-Depends SUBDIR += p5-ExtUtils-ParseXS SUBDIR += p5-ExtUtils-PkgConfig diff --git a/devel/p5-ExtUtils-CBuilder/Makefile b/devel/p5-ExtUtils-CBuilder/Makefile new file mode 100644 index 000000000000..328df6789991 --- /dev/null +++ b/devel/p5-ExtUtils-CBuilder/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: ExtUtils::CBuilder +# Date created: 20 Feb 2004 +# Whom: Mathieu Arnold +# +# $FreeBSD$ +# + +PORTNAME= ExtUtils-CBuilder +PORTVERSION= 0.01 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= ExtUtils +PKGNAMEPREFIX= p5- + +MAINTAINER= mat@FreeBSD.org +COMMENT= Compile and link C code for Perl modules + +PERL_CONFIGURE= yes + +MAN3= ExtUtils::CBuilder.3 ExtUtils::CBuilder::Platform::Windows.3 + +.include + +.if ${PERL_LEVEL} <= 500600 +BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +.endif + +.include diff --git a/devel/p5-ExtUtils-CBuilder/distinfo b/devel/p5-ExtUtils-CBuilder/distinfo new file mode 100644 index 000000000000..507acfb45ca5 --- /dev/null +++ b/devel/p5-ExtUtils-CBuilder/distinfo @@ -0,0 +1,2 @@ +MD5 (ExtUtils-CBuilder-0.01.tar.gz) = e318cf8a2f53a11091bb535283818dcc +SIZE (ExtUtils-CBuilder-0.01.tar.gz) = 10248 diff --git a/devel/p5-ExtUtils-CBuilder/pkg-descr b/devel/p5-ExtUtils-CBuilder/pkg-descr new file mode 100644 index 000000000000..3550b9001fe8 --- /dev/null +++ b/devel/p5-ExtUtils-CBuilder/pkg-descr @@ -0,0 +1,8 @@ +This module can build the C portions of Perl modules by invoking the +appropriate compilers and linkers in a cross-platform manner. It was motivated +by the Module::Build project, but may be useful for other purposes as well. +However, it is not intended as a general cross-platform interface to all your C +building needs. That would have been a much more ambitious goal! + +-- +mat diff --git a/devel/p5-ExtUtils-CBuilder/pkg-plist b/devel/p5-ExtUtils-CBuilder/pkg-plist new file mode 100644 index 000000000000..64a974c072b2 --- /dev/null +++ b/devel/p5-ExtUtils-CBuilder/pkg-plist @@ -0,0 +1,15 @@ +%%SITE_PERL%%/ExtUtils/CBuilder.pm +%%SITE_PERL%%/ExtUtils/CBuilder/Base.pm +%%SITE_PERL%%/ExtUtils/CBuilder/Platform/Unix.pm +%%SITE_PERL%%/ExtUtils/CBuilder/Platform/VMS.pm +%%SITE_PERL%%/ExtUtils/CBuilder/Platform/Windows.pm +%%SITE_PERL%%/ExtUtils/CBuilder/Platform/aix.pm +%%SITE_PERL%%/ExtUtils/CBuilder/Platform/cygwin.pm +%%SITE_PERL%%/ExtUtils/CBuilder/Platform/darwin.pm +%%SITE_PERL%%/ExtUtils/CBuilder/Platform/os2.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/ExtUtils/CBuilder/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/ExtUtils/CBuilder +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/ExtUtils 2>/dev/null || true +@dirrm %%SITE_PERL%%/ExtUtils/CBuilder/Platform +@dirrm %%SITE_PERL%%/ExtUtils/CBuilder +@unexec rmdir %D/%%SITE_PERL%%/ExtUtils 2>/dev/null || true