aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2005-12-03 03:57:13 +0800
committererwin <erwin@FreeBSD.org>2005-12-03 03:57:13 +0800
commitfaba6c9ae2add384b82c3cfa5853c00e7eeaa69e (patch)
tree2f5cbe839f82b9c9e91ff1ee5faa996966ec977b
parenteb07963b2199808dd81aeca846aee68fc7b5cab8 (diff)
downloadfreebsd-ports-gnome-faba6c9ae2add384b82c3cfa5853c00e7eeaa69e.tar.gz
freebsd-ports-gnome-faba6c9ae2add384b82c3cfa5853c00e7eeaa69e.tar.zst
freebsd-ports-gnome-faba6c9ae2add384b82c3cfa5853c00e7eeaa69e.zip
Supports mo/po files and Maketext classes under your applications I18N
namespace. WWW: http://search.cpan.org/dist/Catalyst-Plugin-I18N/ PR: ports/89845 Submitted by: Lars Balker Rasmussen <lars@balker.dk>
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-Catalyst-Plugin-I18N/Makefile34
-rw-r--r--www/p5-Catalyst-Plugin-I18N/distinfo3
-rw-r--r--www/p5-Catalyst-Plugin-I18N/pkg-descr4
-rw-r--r--www/p5-Catalyst-Plugin-I18N/pkg-plist7
5 files changed, 49 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index dbc1d42eb07d..bf94c965833e 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -498,6 +498,7 @@
SUBDIR += p5-Catalyst-Plugin-FillInForm
SUBDIR += p5-Catalyst-Plugin-FormValidator
SUBDIR += p5-Catalyst-Plugin-FormValidator-Simple
+ SUBDIR += p5-Catalyst-Plugin-I18N
SUBDIR += p5-Catalyst-Plugin-Pluggable
SUBDIR += p5-Catalyst-Plugin-Prototype
SUBDIR += p5-Catalyst-Plugin-Session
diff --git a/www/p5-Catalyst-Plugin-I18N/Makefile b/www/p5-Catalyst-Plugin-I18N/Makefile
new file mode 100644
index 000000000000..e55f5b9e1bbb
--- /dev/null
+++ b/www/p5-Catalyst-Plugin-I18N/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: www/p5-Catalyst-Plugin-I18N
+# Date created: 2 Dec 2005
+# Whom: Lars Balker Rasmussen <lars@balker.dk>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Catalyst-Plugin-I18N
+PORTVERSION= 0.04
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../by-authors/id/S/SR/SRI
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lars@balker.dk
+COMMENT= I18N for Catalyst
+
+BUILD_DEPENDS= p5-Catalyst>=2.99:${PORTSDIR}/www/p5-Catalyst \
+ p5-Locale-Maketext-Lexicon>=0:${PORTSDIR}/devel/p5-Locale-Maketext-Lexicon \
+ p5-Locale-Maketext-Simple>=0:${PORTSDIR}/devel/p5-Locale-Maketext-Simple
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Catalyst::Plugin::I18N.3
+
+.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500800
+IGNORE= requires at least Perl 5.8. Install lang/perl5.8, and try again
+.elif ${PERL_LEVEL} < 500805
+BUILD_DEPENDS+= p5-I18N-LangTags-Detect>=0:${PORTSDIR}/misc/p5-I18N-LangTags
+RUN_DEPENDS+= p5-I18N-LangTags-Detect>=0:${PORTSDIR}/misc/p5-I18N-LangTags
+.endif
+.include <bsd.port.post.mk>
diff --git a/www/p5-Catalyst-Plugin-I18N/distinfo b/www/p5-Catalyst-Plugin-I18N/distinfo
new file mode 100644
index 000000000000..f6b0d96d21e1
--- /dev/null
+++ b/www/p5-Catalyst-Plugin-I18N/distinfo
@@ -0,0 +1,3 @@
+MD5 (Catalyst-Plugin-I18N-0.04.tar.gz) = 5e3a3eee6eae7570242c915ef6032b37
+SHA256 (Catalyst-Plugin-I18N-0.04.tar.gz) = 8018e7cf69a4a84a9988af84e393e90b425534754c1133db029fe4327bf1d7e9
+SIZE (Catalyst-Plugin-I18N-0.04.tar.gz) = 3319
diff --git a/www/p5-Catalyst-Plugin-I18N/pkg-descr b/www/p5-Catalyst-Plugin-I18N/pkg-descr
new file mode 100644
index 000000000000..5166ad8674f2
--- /dev/null
+++ b/www/p5-Catalyst-Plugin-I18N/pkg-descr
@@ -0,0 +1,4 @@
+Supports mo/po files and Maketext classes under your applications I18N
+namespace.
+
+WWW: http://search.cpan.org/dist/Catalyst-Plugin-I18N/
diff --git a/www/p5-Catalyst-Plugin-I18N/pkg-plist b/www/p5-Catalyst-Plugin-I18N/pkg-plist
new file mode 100644
index 000000000000..73fc94da8b63
--- /dev/null
+++ b/www/p5-Catalyst-Plugin-I18N/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Catalyst/Plugin/I18N.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Catalyst/Plugin/I18N/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Catalyst/Plugin/I18N 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Catalyst/Plugin 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Catalyst 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Catalyst/Plugin 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Catalyst 2>/dev/null || true