1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/textproc/link-grammar/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

49 lines
1.1 KiB
Makefile

# New ports collection makefile for: link-grammar
# Date created: 22 May 2005
# Whom: Mezz <mezz@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= link-grammar
PORTVERSION= 4.7.4
CATEGORIES= textproc
MASTER_SITES= http://www.abisource.com/downloads/${PORTNAME}/${PORTVERSION}/
MAINTAINER= gnome@FreeBSD.org
COMMENT= A grammar checking library
LIB_DEPENDS= pspell.16:${PORTSDIR}/textproc/aspell
USE_GNOME= gnomehack ltverhack pkgconfig
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
USE_DOS2UNIX= yes
USE_CSTD= gnu99
CFLAGS+= ${PTHREAD_CFLAGS}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-pthreads \
--disable-java-bindings \
--disable-hunspell \
--enable-aspell
MAKE_JOBS_UNSAFE= yes
DOCS= AUTHORS LICENSE MAINTAINERS README
MAN1= link-parser.1
post-patch:
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \
${WRKSRC}/configure ${WRKSRC}/${PORTNAME}/Makefile.in
.ifndef (NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>