Mikhail Teterin 498d5c10eb Bump PORTREVISION and otherwise adjust things depending on WordNet, which was
upgraded to 2.0 yesterday.

Insisted upon by:	clement
2004-02-18 19:30:28 +00:00

35 lines
772 B
Makefile

# New ports collection makefile for: p5-WordNet-QueryData
# Date created: 07 July 2003
# Whom: Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= WordNet-QueryData
PORTVERSION= 1.31
PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= WordNet
PKGNAMEPREFIX= p5-
MAINTAINER= clsung@dragon2.net
COMMENT= Perl interface to the WordNet database files
LIB_DEPENDS= wn2:${PORTSDIR}/textproc/wordnet
WNHOME?= ${LOCALBASE}/share/WordNet-2.0
PERL_CONFIGURE= yes
CONFIGURE_ENV= WNHOME=${WNHOME}
USE_REINPLACE= yes
MAN3= WordNet::QueryData.3
post-patch:
@${REINPLACE_CMD} -e \
'/wnHomeUnix/s|/usr/local/WordNet-2.0|${WNHOME}|; \
/wnPrefixUnix/s|/dict||' ${WRKSRC}/QueryData.pm
.include <bsd.port.mk>