mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
27 lines
581 B
Makefile
27 lines
581 B
Makefile
# Created by: Adam Weinberger <adamw@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= WordNet-QueryData
|
|
PORTVERSION= 1.49
|
|
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>
|