[Midnightbsd-cvs] mports: mports/devel:

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Mar 21 16:31:59 EDT 2008


Log Message:
-----------


Modified Files:
--------------
    mports/devel:
        Makefile (r1.196 -> r1.197)

Added Files:
-----------
    mports/devel/p5-Module-Pluggable:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/devel/Makefile,v
retrieving revision 1.196
retrieving revision 1.197
diff -L devel/Makefile -L devel/Makefile -u -r1.196 -r1.197
--- devel/Makefile
+++ devel/Makefile
@@ -164,6 +164,7 @@
     SUBDIR += p5-Locale-gettext
     SUBDIR += p5-Module-Build
     SUBDIR += p5-Module-Find
+    SUBDIR += p5-Module-Pluggable
     SUBDIR += p5-MRO-Compat
     SUBDIR += p5-Net-DBus
     SUBDIR += p5-Params-Validate
--- /dev/null
+++ devel/p5-Module-Pluggable/pkg-descr
@@ -0,0 +1,11 @@
+Provides a simple but, hopefully, extensible way of having 'plugins'
+for your module. Obviously this isn't going to be the be all and
+end all of solutions but it works for me.
+
+Essentially all it does is export a method into your namespace that
+looks through a search path for .pm files and turn those into class
+names.
+
+Optionally it instantiates those classes for you.
+
+WWW:	http://search.cpan.org/dist/Module-Pluggable/
--- /dev/null
+++ devel/p5-Module-Pluggable/pkg-plist
@@ -0,0 +1,6 @@
+%%SITE_PERL%%/Devel/InnerPackage.pm
+%%SITE_PERL%%/Module/Pluggable.pm
+%%SITE_PERL%%/Module/Pluggable/Object.pm
+ at dirrmtry %%SITE_PERL%%/Devel
+ at dirrmtry %%SITE_PERL%%/Module/Pluggable
+ at dirrmtry %%SITE_PERL%%/Module
--- /dev/null
+++ devel/p5-Module-Pluggable/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for:	p5-Module-Pluggable
+# Date created:		2004-07-26
+# Whom:			Lars Thegler <lth at FreeBSD.org>
+#
+# $MidnightBSD: mports/devel/p5-Module-Pluggable/Makefile,v 1.1 2008/03/21 20:31:57 laffer1 Exp $
+# $FreeBSD: ports/devel/p5-Module-Pluggable/Makefile,v 1.22 2007/04/08 15:21:39 lth Exp $
+#
+
+PORTNAME=	Module-Pluggable
+PORTVERSION=	3.6
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Automatically give your module the ability to have plugins
+
+RUN_DEPENDS=	p5-PathTools>=3.0:${PORTSDIR}/devel/p5-PathTools
+BUILD_DEPENDS=	${RUN_DEPENDS}
+
+PERL_MODBUILD=	yes
+
+MAN3=		Devel::InnerPackage.3 \
+		Module::Pluggable.3 \
+		Module::Pluggable::Object.3
+
+.include <bsd.port.mk>
--- /dev/null
+++ devel/p5-Module-Pluggable/distinfo
@@ -0,0 +1,3 @@
+MD5 (Module-Pluggable-3.6.tar.gz) = 9b804c4a3dc2df0c6259ff43ee0a165c
+SHA256 (Module-Pluggable-3.6.tar.gz) = 9c570ccef259a82db5ddf3479bf67811fb20054c098db35c6bc321c6d1d97a94
+SIZE (Module-Pluggable-3.6.tar.gz) = 14991


More information about the Midnightbsd-cvs mailing list