# Created by: Mark Pulford # $FreeBSD: head/textproc/mguesser/Makefile 363904 2014-08-03 14:15:08Z olgeni $ PORTNAME= mguesser PORTVERSION= 0.4 CATEGORIES= textproc MASTER_SITES= http://www.mnogosearch.org/guesser/ MAINTAINER= ports@FreeBSD.org COMMENT= Tool for guessing a text's charset and language post-patch: ${REINPLACE_CMD} -E \ "s/^CC=.+//g; s|^CFLAGS=|CFLAGS+=|g; s|-Wall -g||g; \ s|./maps|${PREFIX}/share/mguesser|g; \ s/0.3/0.4/" \ ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mguesser ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/maps/*.lm ${STAGEDIR}${DATADIR} .include