From 596292b4a76153c9070bb1d1648faa2cf0aef152 Mon Sep 17 00:00:00 2001 From: markp Date: Fri, 15 Jun 2001 12:19:36 +0000 Subject: Add mguesser 0.1, a tool for guessing a text's charset and language. --- textproc/mguesser/Makefile | 28 ++++++++++++++++ textproc/mguesser/distinfo | 1 + textproc/mguesser/pkg-comment | 1 + textproc/mguesser/pkg-descr | 4 +++ textproc/mguesser/pkg-plist | 74 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 108 insertions(+) create mode 100644 textproc/mguesser/Makefile create mode 100644 textproc/mguesser/distinfo create mode 100644 textproc/mguesser/pkg-comment create mode 100644 textproc/mguesser/pkg-descr create mode 100644 textproc/mguesser/pkg-plist (limited to 'textproc/mguesser') diff --git a/textproc/mguesser/Makefile b/textproc/mguesser/Makefile new file mode 100644 index 000000000000..e59965a41729 --- /dev/null +++ b/textproc/mguesser/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: mguesser +# Date created: Jun 15, 2001 +# Whom: Mark Pulford +# +# $FreeBSD$ +# + +PORTNAME= mguesser +PORTVERSION= 0.1 +CATEGORIES= textproc +MASTER_SITES= http://www.mnogosearch.org/guesser/ + +MAINTAINER= markp@FreeBSD.org + +WRKSRC= ${WRKDIR}/guesser +CFLAGS+= -DUDM_GUESSER_STANDALONG -DLMDIR=\"${PREFIX}/share/mguesser\" +MAKE_ENV+= CFLAGS="${$CFLAGS}" + +post-patch: + ${PERL} -pi -e "s/^CC=.+//g; s|^CFLAGS=|CFLAGS+=|g; s|-Wall -g||g; \ + s|./maps|${PREFIX}/share/mguesser|g" ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/mguesser ${PREFIX}/bin + ${MKDIR} ${PREFIX}/share/mguesser + ${INSTALL_DATA} ${WRKSRC}/maps/*.lm ${PREFIX}/share/mguesser + +.include diff --git a/textproc/mguesser/distinfo b/textproc/mguesser/distinfo new file mode 100644 index 000000000000..db31a09cf867 --- /dev/null +++ b/textproc/mguesser/distinfo @@ -0,0 +1 @@ +MD5 (mguesser-0.1.tar.gz) = 0af5df6b3bb2b02b57002293be1ad5b5 diff --git a/textproc/mguesser/pkg-comment b/textproc/mguesser/pkg-comment new file mode 100644 index 000000000000..c70d85288a0f --- /dev/null +++ b/textproc/mguesser/pkg-comment @@ -0,0 +1 @@ +A tool for guessing a text's charset and language diff --git a/textproc/mguesser/pkg-descr b/textproc/mguesser/pkg-descr new file mode 100644 index 000000000000..83f68ae20276 --- /dev/null +++ b/textproc/mguesser/pkg-descr @@ -0,0 +1,4 @@ +Mguesser is a utility which guesses the corresponding charset and +language for the data piped from standard input. + +WWW: http://www.mnogosearch.org/guesser/ diff --git a/textproc/mguesser/pkg-plist b/textproc/mguesser/pkg-plist new file mode 100644 index 000000000000..00f740233666 --- /dev/null +++ b/textproc/mguesser/pkg-plist @@ -0,0 +1,74 @@ +bin/mguesser +share/mguesser/af.latin1.lm +share/mguesser/ar.arabic.lm +share/mguesser/ar.cp1256.lm +share/mguesser/be.cp1251.lm +share/mguesser/bg.cp1251.lm +share/mguesser/bg.cyrillic.lm +share/mguesser/br.latin1.lm +share/mguesser/bs.ascii.lm +share/mguesser/bs.cp1250.lm +share/mguesser/bs.latin2.lm +share/mguesser/ca.latin1.lm +share/mguesser/cs.cp1250.lm +share/mguesser/cs.latin2.lm +share/mguesser/cy.latin1.lm +share/mguesser/da.latin1.lm +share/mguesser/de.latin1.lm +share/mguesser/el.cp1253.lm +share/mguesser/el.greek.lm +share/mguesser/en.ascii.lm +share/mguesser/eo.latin3.lm +share/mguesser/es.latin1.lm +share/mguesser/et.cp1257.lm +share/mguesser/et.latin4.lm +share/mguesser/eu.latin1.lm +share/mguesser/fi.latin1.lm +share/mguesser/fr.latin1.lm +share/mguesser/ga.latin1.lm +share/mguesser/he.hebrew.lm +share/mguesser/hr.cp1250.lm +share/mguesser/hr.latin2.lm +share/mguesser/hu.cp1250.lm +share/mguesser/hu.latin2.lm +share/mguesser/hy.armscii-8.lm +share/mguesser/is.latin1.lm +share/mguesser/it.latin1.lm +share/mguesser/la.ascii.lm +share/mguesser/lt.cp1257.lm +share/mguesser/lt.latin4.lm +share/mguesser/lv.cp1257.lm +share/mguesser/lv.latin4.lm +share/mguesser/nl.latin1.lm +share/mguesser/no.latin1.lm +share/mguesser/po.latin2.lm +share/mguesser/pt-br.latin1.lm +share/mguesser/pt-pt.latin1.lm +share/mguesser/ro.ascii.lm +share/mguesser/ro.cp1250.lm +share/mguesser/ro.latin2.lm +share/mguesser/ru.cp1251.lm +share/mguesser/ru.cp866.lm +share/mguesser/ru.cyrillic.lm +share/mguesser/ru.koi8-r.lm +share/mguesser/ru.maccyr.lm +share/mguesser/sk.ascii.lm +share/mguesser/sk.cp1250.lm +share/mguesser/sk.latin2.lm +share/mguesser/sl.ascii.lm +share/mguesser/sl.cp1250.lm +share/mguesser/sl.latin2.lm +share/mguesser/sq.latin1.lm +share/mguesser/sr.cp1250.lm +share/mguesser/sr.latin2.lm +share/mguesser/sv.latin1.lm +share/mguesser/sw.latin1.lm +share/mguesser/th.cp874.lm +share/mguesser/tl.ascii.lm +share/mguesser/tr.cp1254.lm +share/mguesser/tr.cp857.lm +share/mguesser/tr.latin5.lm +share/mguesser/ua.cp1251.lm +share/mguesser/ua.koi8-u.lm +share/mguesser/vi.viscii.lm +@dirrm share/mguesser -- cgit