aboutsummaryrefslogtreecommitdiff
path: root/textproc/wordnet/scripts
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2006-01-16 03:48:42 +0000
committerMikhail Teterin <mi@FreeBSD.org>2006-01-16 03:48:42 +0000
commit8ebfc55a6eebdea8999a838c47b84ac3aae8f8e4 (patch)
treec34641f77bda875b1082c7958d2dd3241ea893d6 /textproc/wordnet/scripts
parent360872c2f7438b258e1e9cbd7473f7abeffb1338 (diff)
downloadports-8ebfc55a6eebdea8999a838c47b84ac3aae8f8e4.tar.gz
ports-8ebfc55a6eebdea8999a838c47b84ac3aae8f8e4.zip
Notes
Diffstat (limited to 'textproc/wordnet/scripts')
-rw-r--r--textproc/wordnet/scripts/configure23
1 files changed, 19 insertions, 4 deletions
diff --git a/textproc/wordnet/scripts/configure b/textproc/wordnet/scripts/configure
index b02bfa80a898..297a996aa8a7 100644
--- a/textproc/wordnet/scripts/configure
+++ b/textproc/wordnet/scripts/configure
@@ -1,12 +1,27 @@
#!/bin/sh
for mf in ${FILESDIR}/*Makefile ; do \
- dir=${WRKSRC}/`basename $mf | sed -e s%Makefile%% -e 's%\.%/%g'` ; \
+ dir=`basename $mf | sed -e s%Makefile%% -e 's%\.%/%g'`
+ case "$dir" in
+ "man/")
+ dir=doc/man/
+ ;;
+ "src/lib/")
+ dir=lib/
+ ;;
+ "src/wn/")
+ dir=src/
+ ;;
+ "src/wnb/")
+ dir=lib/wnres/
+ ;;
+ esac
+ dir=${WRKSRC}/$dir
test -f ${dir}Makefile.orig && continue
- mv ${dir}Makefile ${dir}Makefile.orig ; \
- cp -p $mf ${dir}Makefile ; \
+ test -f ${dir}Makefile && mv ${dir}Makefile ${dir}Makefile.orig
+ cp -p $mf ${dir}Makefile
done
-patch -d ${WRKSRC}/src/wnb -p << EOPATCH
+patch -d ${WRKSRC}/src -p << EOPATCH
Configuring the wnb script to call the right wish-binary directly
--- wnb Sun Feb 22 12:49:56 1998
+++ wnb Sat Feb 26 17:41:06 2000