aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-04-24 01:09:14 +0800
committermiwi <miwi@FreeBSD.org>2009-04-24 01:09:14 +0800
commite7b7334cad954e004a38bd2bdc531316b5960c17 (patch)
treed71ed1b7e4ea1a9bb1cf6100328763ff3b4fe667 /devel
parent7a2472c7a7e39767a936c8efe50de76e347d60ed (diff)
downloadfreebsd-ports-gnome-e7b7334cad954e004a38bd2bdc531316b5960c17.tar.gz
freebsd-ports-gnome-e7b7334cad954e004a38bd2bdc531316b5960c17.tar.zst
freebsd-ports-gnome-e7b7334cad954e004a38bd2bdc531316b5960c17.zip
This is an abstract role which provides an alternate constructor
for creating objects using parameters passed in from a configuration file. The actual implementation of reading the configuration file is left to concrete subroles. WWW: http://search.cpan.org/dist/MouseX-ConfigFromFile/ PR: ports/133914 Submitted by: TERAMOTO Masahiro <markun at onohara.to>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-MouseX-ConfigFromFile/Makefile27
-rw-r--r--devel/p5-MouseX-ConfigFromFile/distinfo3
-rw-r--r--devel/p5-MouseX-ConfigFromFile/pkg-descr6
-rw-r--r--devel/p5-MouseX-ConfigFromFile/pkg-plist6
5 files changed, 43 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 46b7f00e9b6a..fc2d3e8e493d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1604,6 +1604,7 @@
SUBDIR += p5-MooseX-Types-Path-Class
SUBDIR += p5-Mouse
SUBDIR += p5-MouseX-AttributeHelpers
+ SUBDIR += p5-MouseX-ConfigFromFile
SUBDIR += p5-MouseX-Getopt
SUBDIR += p5-MouseX-Types
SUBDIR += p5-MouseX-Types-Path-Class
diff --git a/devel/p5-MouseX-ConfigFromFile/Makefile b/devel/p5-MouseX-ConfigFromFile/Makefile
new file mode 100644
index 000000000000..e0852a6f9059
--- /dev/null
+++ b/devel/p5-MouseX-ConfigFromFile/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: p5-MouseX-ConfigFromFile
+# Date created: 2009-04-22
+# Whom: TERAMOTO Masahiro <markun@onohara.to>
+#
+# $FreeBSD$
+#
+
+PORTNAME= MouseX-ConfigFromFile
+PORTVERSION= 0.03
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= ../by-authors/id/M/MA/MASAKI
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= markun@onohara.to
+COMMENT= An abstract Mouse role for setting attributes from a configfile
+
+BUILD_DEPENDS= p5-Filter>=0:${PORTSDIR}/devel/p5-Filter \
+ p5-Mouse>=0.19:${PORTSDIR}/devel/p5-Mouse \
+ p5-MouseX-Types-Path-Class>=0.05:${PORTSDIR}/devel/p5-MouseX-Types-Path-Class
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= MouseX::ConfigFromFile.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-MouseX-ConfigFromFile/distinfo b/devel/p5-MouseX-ConfigFromFile/distinfo
new file mode 100644
index 000000000000..19b2241f223f
--- /dev/null
+++ b/devel/p5-MouseX-ConfigFromFile/distinfo
@@ -0,0 +1,3 @@
+MD5 (MouseX-ConfigFromFile-0.03.tar.gz) = 1299c2e66efefc113b8b5ac0405a5c24
+SHA256 (MouseX-ConfigFromFile-0.03.tar.gz) = 87ca1ad41a691d3b2c03306597f9ab12b7daefe6e702124d4c1c17e682d0a8a2
+SIZE (MouseX-ConfigFromFile-0.03.tar.gz) = 58327
diff --git a/devel/p5-MouseX-ConfigFromFile/pkg-descr b/devel/p5-MouseX-ConfigFromFile/pkg-descr
new file mode 100644
index 000000000000..5d977e9e0363
--- /dev/null
+++ b/devel/p5-MouseX-ConfigFromFile/pkg-descr
@@ -0,0 +1,6 @@
+This is an abstract role which provides an alternate constructor
+for creating objects using parameters passed in from a configuration file.
+The actual implementation of reading the configuration file is
+left to concrete subroles.
+
+WWW: http://search.cpan.org/dist/MouseX-ConfigFromFile/
diff --git a/devel/p5-MouseX-ConfigFromFile/pkg-plist b/devel/p5-MouseX-ConfigFromFile/pkg-plist
new file mode 100644
index 000000000000..cfbfe214f465
--- /dev/null
+++ b/devel/p5-MouseX-ConfigFromFile/pkg-plist
@@ -0,0 +1,6 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/MouseX/ConfigFromFile/.packlist
+%%SITE_PERL%%/MouseX/ConfigFromFile.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MouseX/ConfigFromFile
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MouseX
+@dirrmtry %%SITE_PERL%%/MouseX