aboutsummaryrefslogtreecommitdiff
path: root/textproc/wordnet/files/dict.Makefile
blob: e77eaf1e9b9d464a90f3384f85079711af61963a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
WN_INSTALLDIR=	${PREFIX}/share/WordNet-${VER}
WN_FILES=	data.noun data.verb data.adj data.adv index.noun \
		index.verb index.adj index.adv noun.exc verb.exc \
		adj.exc adv.exc index.sense cntlist.rev \
		cntlist lexnames sentidx.vrb sents.vrb

all: $(WN_FILES)

${WN_INSTALLDIR}:
	mkdir -p ${WN_INSTALLDIR}

.for f in ${WN_FILES}
INSTALLED+=	${WN_INSTALLDIR}/$f

${WN_INSTALLDIR}/$f: $f
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} \
		$f ${WN_INSTALLDIR}/$f
.endfor

install: ${WN_INSTALLDIR} ${INSTALLED}

NOOBJ=  noobj
.include <bsd.prog.mk>