diff options
author | trevor <trevor@FreeBSD.org> | 2004-04-21 04:40:01 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2004-04-21 04:40:01 +0800 |
commit | 71b627e6a282bd16acef4f77e1dc0b5be961f1c9 (patch) | |
tree | 5c4885be4f8e63d0374d1b32a0da30509fba3e5e /devel | |
parent | af19d0972bf360259abc6d3ff56d884d90635534 (diff) | |
download | freebsd-ports-gnome-71b627e6a282bd16acef4f77e1dc0b5be961f1c9.tar.gz freebsd-ports-gnome-71b627e6a282bd16acef4f77e1dc0b5be961f1c9.tar.zst freebsd-ports-gnome-71b627e6a282bd16acef4f77e1dc0b5be961f1c9.zip |
new port: the MakeMaker module generates a Makefile from a Makefile.PL
PR: 63254
Submitted by: Michael Johnson
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-ExtUtils-MakeMaker/Makefile | 41 | ||||
-rw-r--r-- | devel/p5-ExtUtils-MakeMaker/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-ExtUtils-MakeMaker/pkg-descr | 14 | ||||
-rw-r--r-- | devel/p5-ExtUtils-MakeMaker/pkg-plist | 39 |
5 files changed, 97 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 2a862e5f91f2..6d08f629e95a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -724,6 +724,7 @@ SUBDIR += p5-Exporter-Lite SUBDIR += p5-ExtUtils-CBuilder SUBDIR += p5-ExtUtils-Depends + SUBDIR += p5-ExtUtils-MakeMaker SUBDIR += p5-ExtUtils-ParseXS SUBDIR += p5-ExtUtils-PkgConfig SUBDIR += p5-ExtUtils-XSBuilder diff --git a/devel/p5-ExtUtils-MakeMaker/Makefile b/devel/p5-ExtUtils-MakeMaker/Makefile new file mode 100644 index 000000000000..51d4e075434f --- /dev/null +++ b/devel/p5-ExtUtils-MakeMaker/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: ExtUtils-MakeMaker +# Date created: Mon Feb 23 00:13:01 EST 2004 +# Whom: Michael Johnson <ahze@ahze.net> +# +# $FreeBSD$ +# + +PORTNAME= ExtUtils-MakeMaker +PORTVERSION= 6.21 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= ExtUtils +PKGNAMEPREFIX= p5- + +MAINTAINER= ahze@ahze.net +COMMENT= Designed to write a Makefile for an extension module + +PERL_CONFIGURE= YES +CONFIGURE_ARGS= INSTALLDIRS=site + +MAN1= instmodsh.1 +MAN3= ExtUtils::Installed.3 ExtUtils::MM_OS2.3 ExtUtils::MakeMaker.3 \ + ExtUtils::Install.3 ExtUtils::Manifest.3 ExtUtils::Command.3 \ + ExtUtils::MM_Unix.3 ExtUtils::Mksymlists.3 ExtUtils::MM.3 \ + ExtUtils::MM_Win32.3 ExtUtils::MM_UWIN.3 ExtUtils::testlib.3 \ + ExtUtils::MakeMaker::vmsish.3 ExtUtils::MY.3 ExtUtils::MM_DOS.3 \ + ExtUtils::MM_Cygwin.3 ExtUtils::MM_MacOS.3 ExtUtils::MM_Win95.3 \ + ExtUtils::MM_VMS.3 ExtUtils::MM_BeOS.3 ExtUtils::Liblist.3 \ + ExtUtils::MakeMaker::Tutorial.3 ExtUtils::Packlist.3 \ + ExtUtils::Mkbootstrap.3 ExtUtils::MakeMaker::FAQ.3 \ + ExtUtils::Command::MM.3 ExtUtils::MakeMaker::bytes.3 \ + ExtUtils::MM_NW5.3 ExtUtils::MM_Any.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/Pod/Man.pm:${PORTSDIR}/textproc/p5-podlators +RUN_DEPENDS+= ${BUILD_DEPENDS} +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-ExtUtils-MakeMaker/distinfo b/devel/p5-ExtUtils-MakeMaker/distinfo new file mode 100644 index 000000000000..07f04b0660ac --- /dev/null +++ b/devel/p5-ExtUtils-MakeMaker/distinfo @@ -0,0 +1,2 @@ +MD5 (ExtUtils-MakeMaker-6.21.tar.gz) = 551c73ed52a36a93af8c305c71a554e5 +SIZE (ExtUtils-MakeMaker-6.21.tar.gz) = 223111 diff --git a/devel/p5-ExtUtils-MakeMaker/pkg-descr b/devel/p5-ExtUtils-MakeMaker/pkg-descr new file mode 100644 index 000000000000..c118d4fac35f --- /dev/null +++ b/devel/p5-ExtUtils-MakeMaker/pkg-descr @@ -0,0 +1,14 @@ +This utility is designed to write a Makefile for an extension module from a +Makefile.PL. It is based on the Makefile.SH model provided by Andy Dougherty +and the perl5-porters. + +It splits the task of generating the Makefile into several subroutines that +can be individually overridden. Each subroutine returns the text it wishes to +have written to the Makefile. + +MakeMaker is object oriented. Each directory below the current directory that +contains a Makefile.PL is treated as a separate object. This makes it possible +to write an unlimited number of Makefiles with a single invocation of +WriteMakefile(). + +WWW: http://search.cpan.org/dist/ExtUtils-MakeMaker/ diff --git a/devel/p5-ExtUtils-MakeMaker/pkg-plist b/devel/p5-ExtUtils-MakeMaker/pkg-plist new file mode 100644 index 000000000000..5fbdd5b44774 --- /dev/null +++ b/devel/p5-ExtUtils-MakeMaker/pkg-plist @@ -0,0 +1,39 @@ +bin/instmodsh +%%SITE_PERL%%/ExtUtils/Command.pm +%%SITE_PERL%%/ExtUtils/Command/MM.pm +%%SITE_PERL%%/ExtUtils/Install.pm +%%SITE_PERL%%/ExtUtils/Installed.pm +%%SITE_PERL%%/ExtUtils/Liblist.pm +%%SITE_PERL%%/ExtUtils/Liblist/Kid.pm +%%SITE_PERL%%/ExtUtils/MANIFEST.SKIP +%%SITE_PERL%%/ExtUtils/MM.pm +%%SITE_PERL%%/ExtUtils/MM_Any.pm +%%SITE_PERL%%/ExtUtils/MM_BeOS.pm +%%SITE_PERL%%/ExtUtils/MM_Cygwin.pm +%%SITE_PERL%%/ExtUtils/MM_DOS.pm +%%SITE_PERL%%/ExtUtils/MM_MacOS.pm +%%SITE_PERL%%/ExtUtils/MM_NW5.pm +%%SITE_PERL%%/ExtUtils/MM_OS2.pm +%%SITE_PERL%%/ExtUtils/MM_UWIN.pm +%%SITE_PERL%%/ExtUtils/MM_Unix.pm +%%SITE_PERL%%/ExtUtils/MM_VMS.pm +%%SITE_PERL%%/ExtUtils/MM_Win32.pm +%%SITE_PERL%%/ExtUtils/MM_Win95.pm +%%SITE_PERL%%/ExtUtils/MY.pm +%%SITE_PERL%%/ExtUtils/MakeMaker.pm +%%SITE_PERL%%/ExtUtils/MakeMaker/FAQ.pod +%%SITE_PERL%%/ExtUtils/MakeMaker/Tutorial.pod +%%SITE_PERL%%/ExtUtils/MakeMaker/bytes.pm +%%SITE_PERL%%/ExtUtils/MakeMaker/vmsish.pm +%%SITE_PERL%%/ExtUtils/Manifest.pm +%%SITE_PERL%%/ExtUtils/Mkbootstrap.pm +%%SITE_PERL%%/ExtUtils/Mksymlists.pm +%%SITE_PERL%%/ExtUtils/Packlist.pm +%%SITE_PERL%%/ExtUtils/testlib.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto//ExtUtils/MakeMaker/.packlist +@dirrm %%SITE_PERL%%/ExtUtils/MakeMaker +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/ExtUtils/MakeMaker 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/ExtUtils/Command 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/ExtUtils/Liblist 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/ExtUtils 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/ExtUtils 2>/dev/null || true |