aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Module-Starter-PBP
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2005-09-12 09:35:49 +0000
committerLars Thegler <lth@FreeBSD.org>2005-09-12 09:35:49 +0000
commit316ce6a427ac3d7397b458dc4391ebff06d4ed31 (patch)
tree7f0eea7edf02497c6a6820e62a90222fd0c54fd0 /devel/p5-Module-Starter-PBP
parentdc26e2248fe6d2ed1791fa2806ba32f813c1499d (diff)
downloadports-316ce6a427ac3d7397b458dc4391ebff06d4ed31.tar.gz
ports-316ce6a427ac3d7397b458dc4391ebff06d4ed31.zip
Notes
Diffstat (limited to 'devel/p5-Module-Starter-PBP')
-rw-r--r--devel/p5-Module-Starter-PBP/Makefile32
-rw-r--r--devel/p5-Module-Starter-PBP/distinfo2
-rw-r--r--devel/p5-Module-Starter-PBP/pkg-descr4
-rw-r--r--devel/p5-Module-Starter-PBP/pkg-plist7
4 files changed, 45 insertions, 0 deletions
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