Load WordNet database files from the proper locations.

This commit is contained in:
Adam Weinberger 2003-07-08 01:28:13 +00:00
parent 17c93d66db
commit b25cb77ce8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84424

View file

@ -7,7 +7,7 @@
PORTNAME= WordNet-QueryData
PORTVERSION= 1.28
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= WordNet
@ -22,7 +22,13 @@ WNHOME?= ${LOCALBASE}/share/WordNet-1.7.1
PERL_CONFIGURE= yes
CONFIGURE_ENV= WNHOME=${WNHOME}
USE_REINPLACE= yes
MAN3= WordNet::QueryData.3
post-patch:
@${REINPLACE_CMD} -e \
'/wnHomeUnix/s|/usr/local/WordNet-1.7.1|${WNHOME}|; \
/wnPrefixUnix/s|/dict||' ${WRKSRC}/QueryData.pm
.include <bsd.port.mk>