fe3cd0525f
grammar, an original theory of English syntax. Given a sentence, the system assigns to it a syntactic structure, which consists of a set of labeled links connecting pairs of words. The parser also produces a "constituent" representation of a sentence (showing noun phrases, verb phrases, etc.). WWW: http://www.link.cs.cmu.edu/link/
38 lines
815 B
Makefile
38 lines
815 B
Makefile
# New ports collection makefile for: link-grammar
|
|
# Date created: 22 May 2005
|
|
# Whom: Mezz <mezz@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= link-grammar
|
|
PORTVERSION= 4.1.1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://www.abisource.com/downloads/${PORTNAME}/${PORTVERSION}/
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= A grammar checking library
|
|
|
|
USE_GNOME= gnometarget
|
|
USE_GMAKE= yes
|
|
USE_REINPLACE= yes
|
|
INSTALLS_SHLIB= yes
|
|
USE_LIBTOOL_VER=15
|
|
|
|
DOCS= LICENSE README
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
|
|
${WRKSRC}/Makefile.in
|
|
@${REINPLACE_CMD} -e 's|/words/|/en/words/|g' \
|
|
${WRKSRC}/data/en/4.0.dict
|
|
|
|
.ifndef (NOPORTDOCS)
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for i in ${DOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|