aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/link-grammar/Makefile
blob: d5ecddfb6b1281b089d6faaf61d29afc8e0ffd79 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:    link-grammar
# Date created:             22 May 2005
# Whom:                 Mezz <mezz@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   link-grammar
PORTVERSION=    4.3.9
CATEGORIES= textproc
MASTER_SITES=   http://www.abisource.com/downloads/${PORTNAME}/${PORTVERSION}/

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A grammar checking library

USE_GNOME=  gnomehack gnometarget ltverhack
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:15
USE_LDCONFIG=   yes
CFLAGS+=    ${PTHREAD_CFLAGS}
CONFIGURE_ARGS= --enable-pthreads

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>