blob: 7baffa8990516bcaf5624a48f682829f65dfe55a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# $NetBSD: Makefile,v 1.3 2001/02/25 04:18:16 hubertf Exp $
DISTNAME= dictd-1.4.9
PKGNAME= dict-server-1.4.9
CATEGORIES= textproc
MASTER_SITES= ftp://ftp.cs.unc.edu/pub/users/faith/dict/ \
ftp://ftp.cs.unc.edu/pub/users/faith/dict/pre/ \
ftp://ftp.dict.org/pub/dict/ \
ftp://ftp.dict.org/pub/dict/pre/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
dict-gazetteer-1.2-pre.tar.gz \
dict-misc-1.5-pre.tar.gz \
dict-web1913-1.4-pre.tar.gz \
dict-wn-1.5-pre.tar.gz
MAINTAINER= mike@ethmoid.org
HOMEPAGE= http://www.dict.org/
COMMENT= Dictionary Service Protocol server
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-etcdir=${PREFIX}/etc
ALL_TARGET= dictd dictzip
INSTALL_TARGET= install.dictd install.dictzip
LEXICONS= easton.dict.dz \
easton.index \
elements.dict.dz \
elements.index \
foldoc.dict.dz \
foldoc.index \
gazetteer.dict.dz \
gazetteer.index \
hitchcock.dict.dz \
hitchcock.index \
jargon.dict.dz \
jargon.index \
web1913.dict.dz \
web1913.index \
wn.dict.dz \
wn.index \
world95.dict.dz \
world95.index
post-install:
${SED} "s#/usr/lib/dict#${PREFIX}/share/dictd#" \
${WRKSRC}/dictd.conf >${PREFIX}/etc/dictd.conf
${INSTALL_DATA_DIR} ${PREFIX}/share/dictd
.for FILE in ${LEXICONS}
${INSTALL_DATA} ${WRKDIR}/${FILE} ${PREFIX}/share/dictd
.endfor
.include "../../mk/bsd.pkg.mk"
|