blob: b08c1f05ee7e9ab8f8581aaa0d9e6e829f63f780 (
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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# New ports collection makefile for: nl-mythes
# Date created: 2011-07-21
# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= nl-mythes
PORTVERSION= 2011.06.09
CATEGORIES= textproc
MASTER_SITES= http://data.opentaal.org/opentaalbank/thesaurus/download/
DISTNAME= thes_nl
EXTRACT_SUFX= .oxt
MAINTAINER= bapt@FreeBSD.org
COMMENT= Dutch thesaurus
LICENSE= BSD
USE_ZIP= yes
NO_BUILD= yes
PLIST_FILES= share/mythes/th_nl_NL_v2.dat \
share/mythes/th_nl_NL_v2.idx
PLIST_DIRS= share/mythes
NLALIASES= nl_AW nl_BE
.for ALIAS in ${NLALIASES}
PLIST_FILES+= share/mythes/th_${ALIAS}_v2.dat \
share/mythes/th_${ALIAS}_v2.idx
.endfor
do-install:
@${MKDIR} ${PREFIX}/share/mythes
@${INSTALL_DATA} ${WRKDIR}/th_nl_v2.dat ${PREFIX}/share/mythes/th_nl_NL_v2.dat
@${INSTALL_DATA} ${WRKDIR}/th_nl_v2.dat ${PREFIX}/share/mythes/th_nl_NL_v2.idx
@cd ${PREFIX}/share/mythes; \
for alias in ${NLALIASES}; do \
${LN} -s th_nl_NL_v2.dat th_$${alias}_v2.dat ; \
${LN} -s th_nl_NL_v2.dat th_$${alias}_v2.idx ; \
done
.include <bsd.port.mk>
|