aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-WordNet-QueryData
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2003-07-08 01:28:13 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2003-07-08 01:28:13 +0000
commitb25cb77ce83fc6f88511398eaa9f55034da5997e (patch)
tree499861b74dc9b419246783498bdd2efb53854dae /textproc/p5-WordNet-QueryData
parent17c93d66db577f067e279036cebee6906bf633e3 (diff)
downloadports-b25cb77ce83fc6f88511398eaa9f55034da5997e.tar.gz
ports-b25cb77ce83fc6f88511398eaa9f55034da5997e.zip
Load WordNet database files from the proper locations.
Notes
Notes: svn path=/head/; revision=84424
Diffstat (limited to 'textproc/p5-WordNet-QueryData')
-rw-r--r--textproc/p5-WordNet-QueryData/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/textproc/p5-WordNet-QueryData/Makefile b/textproc/p5-WordNet-QueryData/Makefile
index 758e363e1e4f..2968f5cc391e 100644
--- a/textproc/p5-WordNet-QueryData/Makefile
+++ b/textproc/p5-WordNet-QueryData/Makefile
@@ -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>