From 53e3bc5f4669e865fd1d0db6785790cb5766a48e Mon Sep 17 00:00:00 2001 From: Dmitry Sivachenko Date: Thu, 28 Aug 2003 07:35:04 +0000 Subject: [PATCH] New port: p5-Locale-Maketext-Simple This module is a simple wrapper around Locale::Maketext::Lexicon, designed to alleviate the need of creating Language Classes for module authors. If Locale::Maketext::Lexicon is not present, it implements a minimal localization function, so the program can function normally. Submitted by: Autrijus Tang --- devel/Makefile | 1 + devel/p5-Locale-Maketext-Simple/Makefile | 22 ++++++++++++++++++++++ devel/p5-Locale-Maketext-Simple/distinfo | 1 + devel/p5-Locale-Maketext-Simple/pkg-descr | 6 ++++++ devel/p5-Locale-Maketext-Simple/pkg-plist | 7 +++++++ 5 files changed, 37 insertions(+) create mode 100644 devel/p5-Locale-Maketext-Simple/Makefile create mode 100644 devel/p5-Locale-Maketext-Simple/distinfo create mode 100644 devel/p5-Locale-Maketext-Simple/pkg-descr create mode 100644 devel/p5-Locale-Maketext-Simple/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index 604f49b8433c..a484621c686c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -651,6 +651,7 @@ SUBDIR += p5-Locale-Maketext-Fuzzy SUBDIR += p5-Locale-Maketext-Gettext SUBDIR += p5-Locale-Maketext-Lexicon + SUBDIR += p5-Locale-Maketext-Simple SUBDIR += p5-Locale-PGetText SUBDIR += p5-Locale-gettext SUBDIR += p5-LockFile-Simple diff --git a/devel/p5-Locale-Maketext-Simple/Makefile b/devel/p5-Locale-Maketext-Simple/Makefile new file mode 100644 index 000000000000..53d71526954a --- /dev/null +++ b/devel/p5-Locale-Maketext-Simple/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: p5-Locale-Maketext-Simple +# Date created: Aug 27 2003 +# Whom: Autrijus Tang +# +# $FreeBSD$ +# + +PORTNAME= Locale-Maketext-Simple +PORTVERSION= 0.08 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= ../../authors/id/A/AU/AUTRIJUS +PKGNAMEPREFIX= p5- + +MAINTAINER= autrijus@autrijus.org +COMMENT= Simple interface to Locale::Maketext::Lexicon + +PERL_CONFIGURE= yes + +MAN3= Locale::Maketext::Simple.3 + +.include diff --git a/devel/p5-Locale-Maketext-Simple/distinfo b/devel/p5-Locale-Maketext-Simple/distinfo new file mode 100644 index 000000000000..5b65931bde0d --- /dev/null +++ b/devel/p5-Locale-Maketext-Simple/distinfo @@ -0,0 +1 @@ +MD5 (Locale-Maketext-Simple-0.08.tar.gz) = 074add0d861eff0032562271976041cb diff --git a/devel/p5-Locale-Maketext-Simple/pkg-descr b/devel/p5-Locale-Maketext-Simple/pkg-descr new file mode 100644 index 000000000000..07eeac1c4fa8 --- /dev/null +++ b/devel/p5-Locale-Maketext-Simple/pkg-descr @@ -0,0 +1,6 @@ +This module is a simple wrapper around Locale::Maketext::Lexicon, +designed to alleviate the need of creating Language Classes for module +authors. + +If Locale::Maketext::Lexicon is not present, it implements a minimal +localization function, so the program can function normally. diff --git a/devel/p5-Locale-Maketext-Simple/pkg-plist b/devel/p5-Locale-Maketext-Simple/pkg-plist new file mode 100644 index 000000000000..6b144ba14d4b --- /dev/null +++ b/devel/p5-Locale-Maketext-Simple/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/Locale/Maketext/Simple.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Locale/Maketext/Simple/.packlist +@dirrm %%SITE_PERL%%/Locale/Maketext +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Locale/Maketext/Simple +@unexec rmdir %D/%%SITE_PERL%%/Locale 2>/dev/null || true +@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