aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-WordNet-QueryData/Makefile
blob: 4fd2082e3810031b9f04202d7f7e358c7c38c2ae (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
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$

PORTNAME=	WordNet-QueryData
PORTVERSION=	1.49
PORTREVISION=	1
CATEGORIES=	textproc perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Perl interface to the WordNet database files

LIB_DEPENDS=	libWN.so:${PORTSDIR}/textproc/wordnet

WNHOME?=	${LOCALBASE}/share/WordNet

USES=		perl5
USE_PERL5=	configure
CONFIGURE_ENV=	WNHOME=${WNHOME}

post-patch:
	@${REINPLACE_CMD} -e  \
		'/wnHomeUnix/s|/usr/local/WordNet-3.0|${WNHOME}|; \
		 /wnPrefixUnix/s|/dict||' ${WRKSRC}/QueryData.pm

.include <bsd.port.mk>