diff options
author | lth <lth@FreeBSD.org> | 2005-09-12 17:35:49 +0800 |
---|---|---|
committer | lth <lth@FreeBSD.org> | 2005-09-12 17:35:49 +0800 |
commit | ccb3016bdadd545a1ee817af5ce5694c6b384355 (patch) | |
tree | 2c09ca1fc15c0c4fc76e92212d3bd3db09b74469 | |
parent | c2769b9ef2297452863f552b56ee76c11fa37e28 (diff) | |
download | freebsd-ports-gnome-ccb3016bdadd545a1ee817af5ce5694c6b384355.tar.gz freebsd-ports-gnome-ccb3016bdadd545a1ee817af5ce5694c6b384355.tar.zst freebsd-ports-gnome-ccb3016bdadd545a1ee817af5ce5694c6b384355.zip |
Add p5-Module-Starter-PBP 0.0.2, create a module as recommended in "Perl
Best Practices".
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Module-Starter-PBP/Makefile | 32 | ||||
-rw-r--r-- | devel/p5-Module-Starter-PBP/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-Module-Starter-PBP/pkg-descr | 4 | ||||
-rw-r--r-- | devel/p5-Module-Starter-PBP/pkg-plist | 7 |
5 files changed, 46 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 7b369f6a0a76..854aa0d16566 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -993,6 +993,7 @@ SUBDIR += p5-Module-Reload SUBDIR += p5-Module-ScanDeps SUBDIR += p5-Module-Starter + SUBDIR += p5-Module-Starter-PBP SUBDIR += p5-Module-Versions-Report SUBDIR += p5-NEXT SUBDIR += p5-Net-LibIDN diff --git a/devel/p5-Module-Starter-PBP/Makefile b/devel/p5-Module-Starter-PBP/Makefile new file mode 100644 index 000000000000..0f0cf5bc31ea --- /dev/null +++ b/devel/p5-Module-Starter-PBP/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: devel/p5-Module-Starter-PBP +# Date created: 12 September 2005 +# Whom: Lars Thegler <lth@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Module-Starter-PBP +PORTVERSION= 0.0.2 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Module +PKGNAMEPREFIX= p5- + +MAINTAINER= lth@FreeBSD.org +COMMENT= Create a module as recommended in "Perl Best Practices" + +BUILD_DEPENDS= ${SITE_PERL}/Module/Starter.pm:${PORTSDIR}/devel/p5-Module-Starter \ + ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Module::Starter::PBP.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500601 +IGNORE= requires perl 5.6.x or later. Install lang/perl5 then try again +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-Module-Starter-PBP/distinfo b/devel/p5-Module-Starter-PBP/distinfo new file mode 100644 index 000000000000..019fa61b2b5c --- /dev/null +++ b/devel/p5-Module-Starter-PBP/distinfo @@ -0,0 +1,2 @@ +MD5 (Module-Starter-PBP-0.0.2.tar.gz) = f2417a7300d1dfb9d90ad3c8ed79511b +SIZE (Module-Starter-PBP-0.0.2.tar.gz) = 7856 diff --git a/devel/p5-Module-Starter-PBP/pkg-descr b/devel/p5-Module-Starter-PBP/pkg-descr new file mode 100644 index 000000000000..b89eda916321 --- /dev/null +++ b/devel/p5-Module-Starter-PBP/pkg-descr @@ -0,0 +1,4 @@ +This module implements a simple approach to creating modules and +their support files, based on the Module::Starter approach. + +WWW: http://search.cpan.org/dist/Module-Starter-PBP diff --git a/devel/p5-Module-Starter-PBP/pkg-plist b/devel/p5-Module-Starter-PBP/pkg-plist new file mode 100644 index 000000000000..5c7472650556 --- /dev/null +++ b/devel/p5-Module-Starter-PBP/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/Module/Starter/PBP.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/Starter/PBP/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/Starter/PBP +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/Starter 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Module 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Module/Starter 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Module 2>/dev/null || true |