1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/textproc/link-grammar/Makefile
Tijl Coosemans 3127da9b78 Convert textproc/aspell to "USES=libtool tar:bzip2" and bump dependent ports
Approved by:	portmgr (implicit, PORTREVISION bump on unstaged port)
2014-07-04 20:28:31 +00:00

42 lines
944 B
Makefile

# $FreeBSD$
PORTNAME= link-grammar
PORTVERSION= 4.7.4
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= http://www.abisource.com/downloads/${PORTNAME}/${PORTVERSION}/
MAINTAINER= gnome@FreeBSD.org
COMMENT= Grammar checking library
LIB_DEPENDS= libaspell.so:${PORTSDIR}/textproc/aspell
OPTIONS_DEFINE= DOCS
USES= dos2unix gmake libtool pathfix
USE_LDCONFIG= yes
USE_CSTD= gnu99
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-pthreads \
--disable-java-bindings \
--disable-hunspell \
--enable-aspell
MAKE_JOBS_UNSAFE= yes
INSTALL_TARGET= install-strip
DOCS= AUTHORS LICENSE MAINTAINERS README
post-patch:
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \
${WRKSRC}/configure ${WRKSRC}/${PORTNAME}/Makefile.in
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>