summaryrefslogtreecommitdiff
path: root/textproc/WordNet/Makefile
blob: aba9ec328d0fea5e1397b28b06f5fadca8a66b8f (plain)
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
# $NetBSD: Makefile,v 1.10 2013/06/06 12:55:06 wiz Exp $
#

DISTNAME=		WordNet-3.0
PKGREVISION=		6
CATEGORIES=		textproc
MASTER_SITES=		http://wordnet.princeton.edu/3.0/ \
			ftp://ftp.cogsci.princeton.edu/pub/wordnet/3.0/

PATCHFILES=		wordnet.patch.2
PATCH_SITES=		http://www.ocert.org/analysis/2008-014/
PATCH_DIST_STRIP=	-p1

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://wordnet.princeton.edu/
COMMENT=		Lexical reference system

USE_PKGLOCALEDIR=	yes
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-tcl=${BUILDLINK_PREFIX.tcl}/lib
CONFIGURE_ARGS+=	--with-tk=${BUILDLINK_PREFIX.tk}/lib

SUBST_CLASSES+=		docpath
SUBST_FILES.docpath=	doc/html/Makefile.in doc/pdf/Makefile.in
SUBST_FILES.docpath+=	doc/ps/Makefile.in
SUBST_MESSAGE.docpath=	Fixing path for documentation.
SUBST_SED.docpath=	-e 's,prefix)/doc,prefix)/share/doc/WordNet,'
SUBST_STAGE.docpath=	pre-configure

.include "../../x11/tk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"