mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
3127da9b78
Approved by: portmgr (implicit, PORTREVISION bump on unstaged port)
42 lines
944 B
Makefile
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>
|