aboutsummaryrefslogtreecommitdiff
path: root/textproc/mguesser/Makefile
diff options
context:
space:
mode:
authorMark Pulford <markp@FreeBSD.org>2001-06-15 12:19:36 +0000
committerMark Pulford <markp@FreeBSD.org>2001-06-15 12:19:36 +0000
commitd48c79770ed6879e6608e96befb17a233be7437c (patch)
tree0e68605eb5213697c918b26fa50ae253776bfe54 /textproc/mguesser/Makefile
parent4ff0dd1679f86d27489e356d24b2f9484e3d9d8f (diff)
downloadports-d48c79770ed6879e6608e96befb17a233be7437c.tar.gz
ports-d48c79770ed6879e6608e96befb17a233be7437c.zip
Add mguesser 0.1, a tool for guessing a text's charset and language.
Notes
Notes: svn path=/head/; revision=44020
Diffstat (limited to 'textproc/mguesser/Makefile')
-rw-r--r--textproc/mguesser/Makefile28
1 files changed, 28 insertions, 0 deletions
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 <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>