diff options
author | markp <markp@FreeBSD.org> | 2001-06-15 20:19:36 +0800 |
---|---|---|
committer | markp <markp@FreeBSD.org> | 2001-06-15 20:19:36 +0800 |
commit | 596292b4a76153c9070bb1d1648faa2cf0aef152 (patch) | |
tree | 525e605aff42af3746a707c8c61761bc51824366 /textproc/mguesser | |
parent | 72a87aa1921b1f0a2b1a49626be8e469cb814805 (diff) | |
download | freebsd-ports-graphics-596292b4a76153c9070bb1d1648faa2cf0aef152.tar.gz freebsd-ports-graphics-596292b4a76153c9070bb1d1648faa2cf0aef152.tar.zst freebsd-ports-graphics-596292b4a76153c9070bb1d1648faa2cf0aef152.zip |
Add mguesser 0.1, a tool for guessing a text's charset and language.
Diffstat (limited to 'textproc/mguesser')
-rw-r--r-- | textproc/mguesser/Makefile | 28 | ||||
-rw-r--r-- | textproc/mguesser/distinfo | 1 | ||||
-rw-r--r-- | textproc/mguesser/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/mguesser/pkg-descr | 4 | ||||
-rw-r--r-- | textproc/mguesser/pkg-plist | 74 |
5 files changed, 108 insertions, 0 deletions
diff --git a/textproc/mguesser/Makefile b/textproc/mguesser/Makefile new file mode 100644 index 00000000000..e59965a4172 --- /dev/null +++ b/textproc/mguesser/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: mguesser +# Date created: Jun 15, 2001 +# Whom: Mark Pulford <mark@kyne.com.au> +# +# $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 <bsd.port.mk> diff --git a/textproc/mguesser/distinfo b/textproc/mguesser/distinfo new file mode 100644 index 00000000000..db31a09cf86 --- /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 00000000000..c70d85288a0 --- /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 00000000000..83f68ae2027 --- /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 00000000000..00f74023366 --- /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 |