summaryrefslogtreecommitdiff
path: root/textproc/WordNet/Makefile
blob: 985a65e731614cf17946a5e6c5bb590244d5aee3 (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
32
33
# $NetBSD: Makefile,v 1.12 2014/01/20 19:20:08 joerg Exp $
#

DISTNAME=		WordNet-3.0
PKGREVISION=		7
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

CPPFLAGS+=	-DUSE_INTERP_RESULT

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