1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/textproc/mguesser/Makefile
Jimmy Olgeni 22d7896c17 Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. A few Makefiles
where not included as they contain Latin-1 characters that break
the Phabricator workflow. Categories T-V.

CR:		D509
Approved by:	portmgr (antoine)
2014-08-03 14:15:08 +00:00

25 lines
616 B
Makefile

# Created by: Mark Pulford <mark@kyne.com.au>
# $FreeBSD$
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 <bsd.port.mk>