Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-dicts/wordnet/files/, app-dicts/wordnet/
Date: Sat, 16 Oct 2021 13:59:08
Message-Id: 1634392711.1946f9b3ada647f4fab1733c59dd2811f4532430.soap@gentoo
1 commit: 1946f9b3ada647f4fab1733c59dd2811f4532430
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 16 13:58:31 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 16 13:58:31 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1946f9b3
7
8 app-dicts/wordnet: port to EAPI 8
9
10 * merge build system patches
11 * use only libtool
12 * unconditionally install docs
13
14 Closes: https://bugs.gentoo.org/726502
15 Signed-off-by: David Seifert <soap <AT> gentoo.org>
16
17 app-dicts/wordnet/Manifest | 2 +-
18 .../wordnet-3.0-fix-indexing-bug-314799.patch | 20 ----
19 .../files/wordnet-3.0-format-security.patch | 48 --------
20 .../wordnet/files/wordnet-3.0-src_stubs_c.patch | 12 --
21 app-dicts/wordnet/files/wordnet-3.0-tcl8.6.patch | 133 ---------------------
22 app-dicts/wordnet/wordnet-3.1-r1.ebuild | 73 +++++++++++
23 app-dicts/wordnet/wordnet-3.1.ebuild | 94 ---------------
24 7 files changed, 74 insertions(+), 308 deletions(-)
25
26 diff --git a/app-dicts/wordnet/Manifest b/app-dicts/wordnet/Manifest
27 index 8e0432adcd5..9c606bbc624 100644
28 --- a/app-dicts/wordnet/Manifest
29 +++ b/app-dicts/wordnet/Manifest
30 @@ -1,3 +1,3 @@
31 DIST WordNet-3.0.tar.gz 11537227 BLAKE2B 358bdc3178f35f4f269ad9d0a5245396811f8678a020ab1ddf9978eef733bb91450f331d03734f585121b1532bb67ca97e765b13cb3f37018cd29df558201c5d SHA512 d39c008cec41de8f1b2aeacb4ad818f9997a13b30a992fda100b6dcc9c11c253530b00a1909b55ff7b564bafc33f7763c1ce9b0a6ae3e591695db2083e9ead7a
32 DIST wn3.1.dict.tar.gz 16358468 BLAKE2B f3df09f39ea29fce3378122f1a93d713acb8be39e6798695b8cc412a3ae6e644cfcf906426d4091d9849be60620367d3de541ec6dd0d8016b8f0cf39a7bad346 SHA512 16dca17a87026d8a0b7b4758219cd21a869c3ef3da23ce7875924546f2eacac4c2f376cb271b798b2c458fe8c078fb43d681356e3d9beef40f4bd88d3579394f
33 -DIST wordnet-3.0-patchset-1.tar.bz2 8076 BLAKE2B 20684bd96814db6e0bf2d9aeb455def682fc38566d6abd3832bf0f7eae3b65b63e8b16aa21656bb81c1696bec0d179028ea8bb4687e5566a6d679bc55e300b9c SHA512 17668d736dd6dfe83e4d5d328729cbcdfb4dbca9a9707651534169bd2ce6fc2238d5c820d63330c51c20ab9b2964b56a609f58242b05dabbcfdfc0da61c048cb
34 +DIST wordnet-3.0-patchset-2.tar.xz 8788 BLAKE2B 3e34b7f5f1011556fb9b53fc987fb3a0fd6818d68d8e71a35ee8d955071251648386c4a361bb902340c5ca899c993363721ee9acbea2eea1386e22502789be2d SHA512 2b72f12134cb60a1db98384650f13cd57012162908c0a37aa232ad0a04a249ce25cce76332dab08c5280d6f29fd58d5c874d5e8d6e00ef55523012d7faa09fcf
35
36 diff --git a/app-dicts/wordnet/files/wordnet-3.0-fix-indexing-bug-314799.patch b/app-dicts/wordnet/files/wordnet-3.0-fix-indexing-bug-314799.patch
37 deleted file mode 100644
38 index fafaa2c331d..00000000000
39 --- a/app-dicts/wordnet/files/wordnet-3.0-fix-indexing-bug-314799.patch
40 +++ /dev/null
41 @@ -1,20 +0,0 @@
42 -diff -p -u -r WordNet-3.0/lib/morph.c WordNet-3.0-mine/lib/morph.c
43 ---- a/lib/morph.c 2010-04-12 13:53:04.000000000 +0200
44 -+++ b/lib/morph.c 2010-04-12 13:54:53.000000000 +0200
45 -@@ -375,14 +375,14 @@ static char *exc_lookup(char *word, int
46 - static char line[WORDBUF], *beglp, *endlp;
47 - char *excline;
48 -
49 -- if (exc_fps[pos] == NULL)
50 -+ if (exc_fps[pos-1] == NULL)
51 - return(NULL);
52 -
53 - /* first time through load line from exception file */
54 - if(word != NULL){
55 - if (strlen(word) > WORDBUF - 1)
56 - return(NULL);
57 -- if ((excline = bin_search(word, exc_fps[pos])) != NULL) {
58 -+ if ((excline = bin_search(word, exc_fps[pos-1])) != NULL) {
59 - strcpy(line, excline);
60 - endlp = strchr(line,' ');
61 - } else
62
63 diff --git a/app-dicts/wordnet/files/wordnet-3.0-format-security.patch b/app-dicts/wordnet/files/wordnet-3.0-format-security.patch
64 deleted file mode 100644
65 index b5d86dbbdd8..00000000000
66 --- a/app-dicts/wordnet/files/wordnet-3.0-format-security.patch
67 +++ /dev/null
68 @@ -1,48 +0,0 @@
69 - lib/binsrch.c | 4 ++--
70 - src/wn.c | 4 ++--
71 - 2 files changed, 4 insertions(+), 4 deletions(-)
72 -
73 -diff --git a/lib/binsrch.c b/lib/binsrch.c
74 -index 8b71216..9ac51a7 100644
75 ---- a/lib/binsrch.c
76 -+++ b/lib/binsrch.c
77 -@@ -193,7 +193,7 @@ char *replace_line(char *new_line, char *searchkey, FILE *fp)
78 - copyfile(fp, tfp);
79 - if (fseek(fp, offset, 0) == -1)
80 - return(NULL); /* could not seek to offset */
81 -- fprintf(fp, new_line); /* write line */
82 -+ fprintf(fp, "%s", new_line); /* write line */
83 - rewind(tfp);
84 - copyfile(tfp, fp);
85 -
86 -@@ -220,7 +220,7 @@ char *insert_line(char *new_line, char *searchkey, FILE *fp)
87 - copyfile(fp, tfp);
88 - if (fseek(fp, offset, 0) == -1)
89 - return(NULL); /* could not seek to offset */
90 -- fprintf(fp, new_line); /* write line */
91 -+ fprintf(fp, "%s", new_line); /* write line */
92 - rewind(tfp);
93 - copyfile(tfp, fp);
94 -
95 -diff --git a/src/wn.c b/src/wn.c
96 -index 004e1e6..398632f 100644
97 ---- a/src/wn.c
98 -+++ b/src/wn.c
99 -@@ -284,7 +284,7 @@ static void printsearches(char *word, int dbase, unsigned long search)
100 - printf("\t");
101 - printf(searchstr[j].template,
102 - partchars[dbase], partchars[dbase]);
103 -- printf(searchstr[j].helpstr);
104 -+ printf("%s", searchstr[j].helpstr);
105 - printf("\n");
106 - }
107 - }
108 -@@ -345,7 +345,7 @@ static int getoptidx(char *searchtype)
109 -
110 - static int error_message(char *msg)
111 - {
112 -- fprintf(stderr, msg);
113 -+ fprintf(stderr, "%s", msg);
114 - return(0);
115 - }
116 -
117
118 diff --git a/app-dicts/wordnet/files/wordnet-3.0-src_stubs_c.patch b/app-dicts/wordnet/files/wordnet-3.0-src_stubs_c.patch
119 deleted file mode 100644
120 index 29c42dea9c3..00000000000
121 --- a/app-dicts/wordnet/files/wordnet-3.0-src_stubs_c.patch
122 +++ /dev/null
123 @@ -1,12 +0,0 @@
124 -diff -urNad wordnet-3.0/src/stubs.c.orig wordnet-3.0/src/stubs.c
125 ---- wordnet-3.0/src/stubs.c.orig 2007-01-04 18:47:55.000000000 +0100
126 -+++ wordnet-3.0/src/stubs.c 2007-01-20 19:01:19.000000000 +0100
127 -@@ -14,7 +14,7 @@
128 - #include <tk.h>
129 - #include <wn.h>
130 -
131 --static char *Id = "$Id: stubs.c,v 1.7 2005/04/29 19:01:57 wn Exp $";
132 -+static const char Id[] = "$Id: stubs.c,v 1.7 2005/04/29 19:01:57 wn Exp $";
133 -
134 - static char resultbuf[SEARCHBUF];
135 -
136
137 diff --git a/app-dicts/wordnet/files/wordnet-3.0-tcl8.6.patch b/app-dicts/wordnet/files/wordnet-3.0-tcl8.6.patch
138 deleted file mode 100644
139 index 110ffc2110b..00000000000
140 --- a/app-dicts/wordnet/files/wordnet-3.0-tcl8.6.patch
141 +++ /dev/null
142 @@ -1,133 +0,0 @@
143 - src/stubs.c | 33 +++++++++++++++++----------------
144 - 1 file changed, 17 insertions(+), 16 deletions(-)
145 -
146 -diff --git a/src/stubs.c b/src/stubs.c
147 -index 794485c..cec2c04 100644
148 ---- a/src/stubs.c
149 -+++ b/src/stubs.c
150 -@@ -40,8 +40,8 @@ int wn_findvalidsearches (ClientData clientData, Tcl_Interp *interp,
151 - char *morph;
152 - int pos;
153 - if (argc != 3) {
154 -- interp -> result =
155 -- "usage: findvalidsearches searchword partofspeechnum";
156 -+ Tcl_SetResult(interp,
157 -+ "usage: findvalidsearches searchword partofspeechnum", TCL_STATIC);
158 - return TCL_ERROR;
159 - }
160 - pos = atoi (argv[2]);
161 -@@ -52,7 +52,7 @@ int wn_findvalidsearches (ClientData clientData, Tcl_Interp *interp,
162 - } while ((morph = morphstr (NULL, pos)) != NULL);
163 - }
164 - sprintf (bitfieldstr, "%u", bitfield);
165 -- interp -> result = bitfieldstr;
166 -+ Tcl_SetResult(interp, bitfieldstr, TCL_STATIC);
167 - return TCL_OK;
168 - }
169 -
170 -@@ -69,13 +69,13 @@ int wn_bit (ClientData clientData, Tcl_Interp *interp,
171 - static char bitfieldstr[32];
172 - int whichbit;
173 - if (argc != 2) {
174 -- interp -> result = "usage: bit bitnum";
175 -+ Tcl_SetResult(interp, "usage: bit bitnum", TCL_STATIC);
176 - return TCL_ERROR;
177 - }
178 - whichbit = atoi (argv[1]);
179 - bitfield = bit (whichbit);
180 - sprintf (bitfieldstr, "%u", bitfield);
181 -- interp -> result = bitfieldstr;
182 -+ Tcl_SetResult(interp, bitfieldstr, TCL_STATIC);
183 - return TCL_OK;
184 - }
185 -
186 -@@ -89,8 +89,8 @@ int wn_search (ClientData clientData, Tcl_Interp *interp,
187 - int pos, searchtype, sense;
188 - char *morph;
189 - if (argc != 5) {
190 -- interp -> result =
191 -- "usage: search searchword partofspeechnum searchtypenum sensenum";
192 -+ Tcl_SetResult(interp,
193 -+ "usage: search searchword partofspeechnum searchtypenum sensenum", TCL_STATIC);
194 - return TCL_ERROR;
195 - }
196 - pos = atoi (argv[2]);
197 -@@ -102,7 +102,7 @@ int wn_search (ClientData clientData, Tcl_Interp *interp,
198 - strcat (resultbuf, findtheinfo (morph, pos, searchtype, sense));
199 - } while ((morph = morphstr (NULL, pos)) != NULL);
200 - }
201 -- interp -> result = resultbuf;
202 -+ Tcl_SetResult(interp, resultbuf, TCL_STATIC);
203 - return TCL_OK;
204 - }
205 -
206 -@@ -114,7 +114,7 @@ int wn_search (ClientData clientData, Tcl_Interp *interp,
207 - int wn_glosses (ClientData clientData, Tcl_Interp *interp,
208 - int argc, char *argv[]) {
209 - if (argc != 2) {
210 -- interp -> result = "usage: glosses [1 | 0]";
211 -+ Tcl_SetResult(interp, "usage: glosses [1 | 0]", TCL_STATIC);
212 - return TCL_ERROR;
213 - }
214 - dflag = atoi (argv[1]);
215 -@@ -129,7 +129,7 @@ int wn_glosses (ClientData clientData, Tcl_Interp *interp,
216 - int wn_fileinfo (ClientData clientData, Tcl_Interp *interp,
217 - int argc, char *argv[]) {
218 - if (argc != 2) {
219 -- interp -> result = "usage: fileinfo [1 | 0]";
220 -+ Tcl_SetResult(interp, "usage: fileinfo [1 | 0]", TCL_STATIC);
221 - return TCL_ERROR;
222 - }
223 - fileinfoflag = atoi (argv[1]);
224 -@@ -144,7 +144,7 @@ int wn_fileinfo (ClientData clientData, Tcl_Interp *interp,
225 - int wn_byteoffset (ClientData clientData, Tcl_Interp *interp,
226 - int argc, char *argv[]) {
227 - if (argc != 2) {
228 -- interp -> result = "usage: byteoffset [1 | 0]";
229 -+ Tcl_SetResult(interp, "usage: byteoffset [1 | 0]", TCL_STATIC);
230 - return TCL_ERROR;
231 - }
232 - offsetflag = atoi (argv[1]);
233 -@@ -159,7 +159,7 @@ int wn_byteoffset (ClientData clientData, Tcl_Interp *interp,
234 - int wn_senseflag (ClientData clientData, Tcl_Interp *interp,
235 - int argc, char *argv[]) {
236 - if (argc != 2) {
237 -- interp -> result = "usage: senseflag [1 | 0]";
238 -+ Tcl_SetResult(interp, "usage: senseflag [1 | 0]", TCL_STATIC);
239 - return TCL_ERROR;
240 - }
241 - wnsnsflag = atoi (argv[1]);
242 -@@ -175,12 +175,13 @@ int wn_contextualhelp (ClientData clientData, Tcl_Interp *interp,
243 - int argc, char *argv[]) {
244 - int pos, searchtype;
245 - if (argc != 3) {
246 -- interp -> result = "usage: contextualhelp partofspeechnum searchtypenum";
247 -+ Tcl_SetResult(interp,
248 -+ "usage: contextualhelp partofspeechnum searchtypenum", TCL_STATIC);
249 - return TCL_ERROR;
250 - }
251 - pos = atoi (argv[1]);
252 - searchtype = atoi (argv[2]);
253 -- interp -> result = helptext[pos][searchtype];
254 -+ Tcl_SetResult(interp, helptext[pos][searchtype], TCL_STATIC);
255 - return TCL_OK;
256 - }
257 -
258 -@@ -190,7 +191,7 @@ int wn_contextualhelp (ClientData clientData, Tcl_Interp *interp,
259 - int wn_reopendb (ClientData clientData, Tcl_Interp *interp,
260 - int argc, char *argv[]) {
261 - if (argc != 1) {
262 -- interp -> result = "usage: reopendb";
263 -+ Tcl_SetResult(interp, "usage: reopendb", TCL_STATIC);
264 - return TCL_ERROR;
265 - }
266 - re_wninit ();
267 -@@ -204,7 +205,7 @@ int wn_reopendb (ClientData clientData, Tcl_Interp *interp,
268 - int wn_abortsearch (ClientData clientData, Tcl_Interp *interp,
269 - int argc, char *argv[]) {
270 - if (argc != 1) {
271 -- interp -> result = "usage: abortsearch";
272 -+ Tcl_SetResult(interp, "usage: abortsearch", TCL_STATIC);
273 - return TCL_ERROR;
274 - }
275 - abortsearch = 1;
276
277 diff --git a/app-dicts/wordnet/wordnet-3.1-r1.ebuild b/app-dicts/wordnet/wordnet-3.1-r1.ebuild
278 new file mode 100644
279 index 00000000000..4601ea97c82
280 --- /dev/null
281 +++ b/app-dicts/wordnet/wordnet-3.1-r1.ebuild
282 @@ -0,0 +1,73 @@
283 +# Copyright 1999-2021 Gentoo Authors
284 +# Distributed under the terms of the GNU General Public License v2
285 +
286 +EAPI=8
287 +
288 +inherit autotools flag-o-matic
289 +
290 +DESCRIPTION="A lexical database for the English language"
291 +HOMEPAGE="https://wordnet.princeton.edu/"
292 +SRC_URI="
293 + http://wordnetcode.princeton.edu/3.0/WordNet-3.0.tar.gz
294 + http://wordnetcode.princeton.edu/wn3.1.dict.tar.gz
295 + https://dev.gentoo.org/~soap/distfiles/${PN}-3.0-patchset-2.tar.xz"
296 +S="${WORKDIR}/WordNet-3.0"
297 +
298 +LICENSE="Princeton"
299 +SLOT="0"
300 +KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
301 +
302 +# In contrast to what the configure script seems to imply, Tcl/Tk is NOT
303 +# optional. cf. bug 163478 for details. (Yes, it's about 2.1 but it's
304 +# still the same here.)
305 +DEPEND="
306 + dev-lang/tcl:0=
307 + dev-lang/tk:0="
308 +RDEPEND="${DEPEND}"
309 +
310 +PATCHES=(
311 + "${WORKDIR}"/patches/${PN}-3.0-build-system.patch
312 +
313 + "${WORKDIR}"/patches/${PN}-3.0-CVE-2008-3908.patch #211491
314 + "${WORKDIR}"/patches/${PN}-3.0-tcl8.6.patch
315 + "${WORKDIR}"/patches/${PN}-3.0-format-security.patch
316 + "${WORKDIR}"/patches/${PN}-3.0-src_stubs_c.patch
317 + "${WORKDIR}"/patches/${PN}-3.0-fix-indexing-bug-314799.patch
318 + "${WORKDIR}"/patches/${PN}-3.0-CVE-2008-2149.patch #211491
319 +)
320 +
321 +src_prepare() {
322 + default
323 + eautoreconf
324 +}
325 +
326 +src_configure() {
327 + append-cppflags -DUNIX -I"${T}"/usr/include
328 +
329 + PLATFORM=linux \
330 + WN_ROOT="${T}"/usr \
331 + WN_DICTDIR="${T}"/usr/share/wordnet/dict \
332 + WN_MANDIR="${T}"/usr/share/man \
333 + WN_DOCDIR="${T}"/usr/share/doc/wordnet-3.0 \
334 + WNHOME="${EPREFIX}"/usr/share/wordnet \
335 + econf \
336 + --with-tcl="${EPREFIX}"/usr/$(get_libdir) \
337 + --with-tk="${EPREFIX}"/usr/$(get_libdir)
338 +}
339 +
340 +src_install() {
341 + default
342 +
343 + # For clarification: WN is still on version 3.0. Only the database files
344 + # have been updated to 3.1 as a package for 3.1 does not currently exist.
345 + rm -r "${ED}"/usr/share/wordnet/dict || die
346 + insinto /usr/share/wordnet
347 + doins -r "${WORKDIR}"/dict
348 +
349 + find "${ED}" -name '*.la' -delete || die
350 +}
351 +
352 +pkg_postinst() {
353 + elog "The WordNet 3.1 ebuild has installed WordNet v3.0 with v3.1 database files instead."
354 + elog "See https://wordnet.princeton.edu/download/current-version/ for more."
355 +}
356
357 diff --git a/app-dicts/wordnet/wordnet-3.1.ebuild b/app-dicts/wordnet/wordnet-3.1.ebuild
358 deleted file mode 100644
359 index ff31be0b663..00000000000
360 --- a/app-dicts/wordnet/wordnet-3.1.ebuild
361 +++ /dev/null
362 @@ -1,94 +0,0 @@
363 -# Copyright 1999-2021 Gentoo Authors
364 -# Distributed under the terms of the GNU General Public License v2
365 -
366 -EAPI=6
367 -
368 -inherit autotools flag-o-matic
369 -
370 -DESCRIPTION="A lexical database for the English language"
371 -HOMEPAGE="https://wordnet.princeton.edu/"
372 -SRC_URI="
373 - http://wordnetcode.princeton.edu/3.0/WordNet-3.0.tar.gz
374 - mirror://gentoo/${PN}-3.0-patchset-1.tar.bz2
375 - http://wordnetcode.princeton.edu/wn3.1.dict.tar.gz"
376 -LICENSE="Princeton"
377 -
378 -SLOT="0"
379 -KEYWORDS="amd64 ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
380 -IUSE="doc"
381 -
382 -# In contrast to what the configure script seems to imply, Tcl/Tk is NOT
383 -# optional. cf. bug 163478 for details. (Yes, it's about 2.1 but it's
384 -# still the same here.)
385 -DEPEND="
386 - dev-lang/tcl:0=
387 - dev-lang/tk:0="
388 -RDEPEND="${DEPEND}"
389 -
390 -S="${WORKDIR}/WordNet-3.0"
391 -
392 -PATCHES1=(
393 - # Don't install into PREFIX/dict but PREFIX/share/wordnet/dict
394 - "${WORKDIR}/"${PN}-3.0"-dict-location.patch"
395 - # Fixes bug 130024, make an additional shared lib
396 - "${WORKDIR}/"${PN}-3.0"-shared-lib.patch"
397 - # Don't install the docs directly into PREFIX/doc but PREFIX/doc/PN
398 - "${WORKDIR}/"${PN}-3.0"-docs-path.patch"
399 - "${WORKDIR}"/"${PN}-3.0"-CVE-2008-3908.patch #211491
400 -
401 - "${FILESDIR}"/"${PN}-3.0"-tcl8.6.patch
402 - "${FILESDIR}"/"${PN}-3.0"-format-security.patch
403 - "${FILESDIR}"/"${PN}-3.0"-src_stubs_c.patch
404 - "${FILESDIR}"/"${PN}-3.0"-fix-indexing-bug-314799.patch
405 -)
406 -
407 -PATCHES0=(
408 - "${WORKDIR}"/"${PN}-3.0"-CVE-2008-2149.patch #211491
409 -)
410 -
411 -src_prepare() {
412 - eapply -p1 "${PATCHES1[@]}"
413 - eapply -p0 "${PATCHES0[@]}"
414 - eapply_user
415 -
416 - # Don't install all the extra docs (html, pdf, ps) without doc USE flag.
417 - if ! use doc; then
418 - sed -i -e "s:SUBDIRS =.*:SUBDIRS = man:" doc/Makefile.am || die
419 - fi
420 -
421 - # Drop installation of OLD tk.h headers #255590
422 - sed '/^SUBDIRS/d' -i include/Makefile.am || die
423 - sed 's: include/tk/Makefile::' -i configure.ac || die
424 - eautoreconf
425 -}
426 -
427 -src_configure() {
428 - append-cppflags -DUNIX -I"${T}"/usr/include
429 -
430 - PLATFORM=linux WN_ROOT="${T}/usr" \
431 - WN_DICTDIR="${T}/usr/share/wordnet/dict" \
432 - WN_MANDIR="${T}/usr/share/man" \
433 - WN_DOCDIR="${T}/usr/share/doc/wordnet-3.0" \
434 - WNHOME="${EPREFIX}/usr/share/wordnet" \
435 - econf \
436 - --with-tcl="${EPREFIX}"/usr/$(get_libdir) \
437 - --with-tk="${EPREFIX}"/usr/$(get_libdir)
438 -}
439 -
440 -src_compile() {
441 - emake -e
442 -}
443 -
444 -src_install() {
445 - # For clarification, WN is still on version 3.0. Only the database files
446 - # have been updated to 3.1 as a package for 3.1 does not currently exist.
447 - emake -e DESTDIR="${D}" install
448 - einstalldocs
449 - rm -r "${D}/usr/share/wordnet/dict" || die
450 - mv "${WORKDIR}/dict" "${D}/usr/share/wordnet" || die
451 -}
452 -
453 -pkg_postinst() {
454 - elog "The WordNet 3.1 ebuild has installed WordNet v3.0 with v3.1 database files instead."
455 - elog "See https://wordnet.princeton.edu/download/current-version/ for more."
456 -}