mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Load WordNet database files from the proper locations.
This commit is contained in:
parent
17c93d66db
commit
b25cb77ce8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84424
1 changed files with 7 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= WordNet-QueryData
|
PORTNAME= WordNet-QueryData
|
||||||
PORTVERSION= 1.28
|
PORTVERSION= 1.28
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= textproc perl5
|
CATEGORIES= textproc perl5
|
||||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||||
MASTER_SITE_SUBDIR= WordNet
|
MASTER_SITE_SUBDIR= WordNet
|
||||||
|
@ -22,7 +22,13 @@ WNHOME?= ${LOCALBASE}/share/WordNet-1.7.1
|
||||||
|
|
||||||
PERL_CONFIGURE= yes
|
PERL_CONFIGURE= yes
|
||||||
CONFIGURE_ENV= WNHOME=${WNHOME}
|
CONFIGURE_ENV= WNHOME=${WNHOME}
|
||||||
|
USE_REINPLACE= yes
|
||||||
|
|
||||||
MAN3= WordNet::QueryData.3
|
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>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue