aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-04-14 20:02:19 +0800
committeredwin <edwin@FreeBSD.org>2003-04-14 20:02:19 +0800
commita2266d78bc88b54482d7bfbfc8a47293701117dc (patch)
treed1b9cab991d2cdbc1de7eb20d2d4be857827812a /devel
parente08ed09d2406dd3a0ee728e12a9d2e4e2c1d4fe5 (diff)
downloadfreebsd-ports-gnome-a2266d78bc88b54482d7bfbfc8a47293701117dc.tar.gz
freebsd-ports-gnome-a2266d78bc88b54482d7bfbfc8a47293701117dc.tar.zst
freebsd-ports-gnome-a2266d78bc88b54482d7bfbfc8a47293701117dc.zip
New port devel/p5-Locale-Maketext-Fuzzy
This module is a subclass of Locale::Maketext, with additional support for localizing messages that already contains interpolated variables. This is most useful when the messages are returned by external modules -- for example, to match dir: command not found against [_1]: command not found. PR: ports/50934 Submitted by: Erwin Lansing <erwin@lansing.dk>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Locale-Maketext-Fuzzy/Makefile26
-rw-r--r--devel/p5-Locale-Maketext-Fuzzy/distinfo1
-rw-r--r--devel/p5-Locale-Maketext-Fuzzy/pkg-descr7
-rw-r--r--devel/p5-Locale-Maketext-Fuzzy/pkg-plist6
5 files changed, 41 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 778b89ca5fcf..4a34a47882bf 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -569,6 +569,7 @@
SUBDIR += p5-Inline-Tcl
SUBDIR += p5-Ioctl
SUBDIR += p5-Locale-Maketext
+ SUBDIR += p5-Locale-Maketext-Fuzzy
SUBDIR += p5-Locale-Maketext-Lexicon
SUBDIR += p5-Locale-PGetText
SUBDIR += p5-Locale-gettext
diff --git a/devel/p5-Locale-Maketext-Fuzzy/Makefile b/devel/p5-Locale-Maketext-Fuzzy/Makefile
new file mode 100644
index 000000000000..24001113744b
--- /dev/null
+++ b/devel/p5-Locale-Maketext-Fuzzy/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: p5-Locale-Maketext-Fuzzy
+# Date created: Mon April 14th, 2003
+# Whom: Erwin Lansing <erwin@lansing.dk>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Locale-Maketext-Fuzzy
+PORTVERSION= 0.02
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Locale
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= erwin@lansing.dk
+COMMENT= Locale::Maketext::Fuzzy - Maketext from already interpolated strings
+
+BUILD_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
+ ${SITE_PERL}/Locale/Maketext.pm:${PORTSDIR}/devel/p5-Locale-Maketext
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Locale::Maketext::Fuzzy.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Locale-Maketext-Fuzzy/distinfo b/devel/p5-Locale-Maketext-Fuzzy/distinfo
new file mode 100644
index 000000000000..2f826557c282
--- /dev/null
+++ b/devel/p5-Locale-Maketext-Fuzzy/distinfo
@@ -0,0 +1 @@
+MD5 (Locale-Maketext-Fuzzy-0.02.tar.gz) = 0425610d448900a774ed253eb678c559
diff --git a/devel/p5-Locale-Maketext-Fuzzy/pkg-descr b/devel/p5-Locale-Maketext-Fuzzy/pkg-descr
new file mode 100644
index 000000000000..444ffc405410
--- /dev/null
+++ b/devel/p5-Locale-Maketext-Fuzzy/pkg-descr
@@ -0,0 +1,7 @@
+This module is a subclass of Locale::Maketext, with additional
+support for localizing messages that already contains interpolated
+variables. This is most useful when the messages are returned by
+external modules -- for example, to match dir: command not found
+against [_1]: command not found.
+
+WWW: http://search.cpan.org/dist/Locale-Maketext-Fuzzy/
diff --git a/devel/p5-Locale-Maketext-Fuzzy/pkg-plist b/devel/p5-Locale-Maketext-Fuzzy/pkg-plist
new file mode 100644
index 000000000000..e49785bcb1fa
--- /dev/null
+++ b/devel/p5-Locale-Maketext-Fuzzy/pkg-plist
@@ -0,0 +1,6 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Locale/Maketext/Fuzzy/.packlist
+%%SITE_PERL%%/Locale/Maketext/Fuzzy.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Locale/Maketext/Fuzzy
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Locale/Maketext 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Locale 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Locale/Maketext 2>/dev/null || true