Update games/scummvm to version 1.7.0
[dports.git] / textproc / link-grammar / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       link-grammar
4 PORTVERSION=    4.7.4
5 PORTREVISION=   2
6 CATEGORIES=     textproc
7 MASTER_SITES=   http://www.abisource.com/downloads/${PORTNAME}/${PORTVERSION}/
8
9 MAINTAINER=     gnome@FreeBSD.org
10 COMMENT=        Grammar checking library
11
12 LIB_DEPENDS=    libaspell.so:${PORTSDIR}/textproc/aspell
13
14 OPTIONS_DEFINE= DOCS
15
16 USES=           dos2unix gmake libtool pathfix
17 USE_LDCONFIG=   yes
18 USE_CSTD=       gnu99
19 CPPFLAGS+=      -I${LOCALBASE}/include
20 LDFLAGS+=       -L${LOCALBASE}/lib
21 GNU_CONFIGURE=  yes
22 CONFIGURE_ARGS= --enable-pthreads \
23                 --disable-java-bindings \
24                 --disable-hunspell \
25                 --enable-aspell
26 MAKE_JOBS_UNSAFE=       yes
27 INSTALL_TARGET= install-strip
28
29 DOCS=           AUTHORS LICENSE MAINTAINERS README
30
31 post-patch:
32         @${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \
33                 ${WRKSRC}/configure ${WRKSRC}/${PORTNAME}/Makefile.in
34
35 post-install:
36         @${MKDIR} ${STAGEDIR}${DOCSDIR}
37 .for i in ${DOCS}
38         @${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
39 .endfor
40
41 .include <bsd.port.mk>