summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorhiramatsu <hiramatsu@pkgsrc.org>2011-11-14 08:08:04 +0000
committerhiramatsu <hiramatsu@pkgsrc.org>2011-11-14 08:08:04 +0000
commitb5c650e1f4a53c3b1a367d6b1c680e637ad4ce28 (patch)
tree9c6fe64147ced65032887edbe7f564ecf0372717 /textproc
parent17daea3f5c6828393a970b1aec28c9524d7665fd (diff)
downloadpkgsrc-b5c650e1f4a53c3b1a367d6b1c680e637ad4ce28.tar.gz
Import String::ToIdentifier::EN into textproc/p5-String-ToIdentifier-EN,
which is required to update databases/p5-DBIx-Class-Schema-Loader. This module provides a utility method, "to_identifier" for converting an arbitrary string into a readable representation using the ASCII subset of "\w" for use as an identifier in a computer program. The intent is to make unique identifier names from which the content of the original string can be easily inferred by a human just by reading the identifier.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-String-ToIdentifier-EN/DESCR6
-rw-r--r--textproc/p5-String-ToIdentifier-EN/Makefile23
-rw-r--r--textproc/p5-String-ToIdentifier-EN/distinfo5
3 files changed, 34 insertions, 0 deletions
diff --git a/textproc/p5-String-ToIdentifier-EN/DESCR b/textproc/p5-String-ToIdentifier-EN/DESCR
new file mode 100644
index 00000000000..47cac29c358
--- /dev/null
+++ b/textproc/p5-String-ToIdentifier-EN/DESCR
@@ -0,0 +1,6 @@
+This module provides a utility method, "to_identifier" for converting
+an arbitrary string into a readable representation using the ASCII
+subset of "\w" for use as an identifier in a computer program. The
+intent is to make unique identifier names from which the content of
+the original string can be easily inferred by a human just by reading
+the identifier.
diff --git a/textproc/p5-String-ToIdentifier-EN/Makefile b/textproc/p5-String-ToIdentifier-EN/Makefile
new file mode 100644
index 00000000000..d924aa92217
--- /dev/null
+++ b/textproc/p5-String-ToIdentifier-EN/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/11/14 08:08:04 hiramatsu Exp $
+#
+
+DISTNAME= String-ToIdentifier-EN-0.05
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=String/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/String-ToIdentifier-EN/
+COMMENT= Convert Strings to English Program Identifiers
+LICENSE= ${PERL5_LICENSE}
+
+DEPENDS+= p5-Lingua-EN-Inflect-Phrase>=0.07:../../textproc/p5-Lingua-EN-Inflect-Phrase
+DEPENDS+= p5-Text-Unidecode>=0.04:../../textproc/p5-Text-Unidecode
+DEPENDS+= p5-namespace-clean>=0.20:../../devel/p5-namespace-clean
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PERL5_PACKLIST= auto/String/ToIdentifier/EN/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-String-ToIdentifier-EN/distinfo b/textproc/p5-String-ToIdentifier-EN/distinfo
new file mode 100644
index 00000000000..f77b21cdda8
--- /dev/null
+++ b/textproc/p5-String-ToIdentifier-EN/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/11/14 08:08:04 hiramatsu Exp $
+
+SHA1 (String-ToIdentifier-EN-0.05.tar.gz) = a5b9ab109bde32262c98a00b82937648f27f2b1a
+RMD160 (String-ToIdentifier-EN-0.05.tar.gz) = fa479beca7c56937d04f43030f365161c203c743
+Size (String-ToIdentifier-EN-0.05.tar.gz) = 34109 bytes