blob: 297211e54e54507f7ba668b630ff23066f8387f8 (
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: mythes
# Date created: 2011-07-21
# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= mythes
PORTVERSION= 2.2.2
CATEGORIES= french textproc
MASTER_SITES= http://www.dicollecte.org/download/fr/
DISTNAME= thesaurus-v${PORTVERSION}
MAINTAINER= office@FreeBSD.org
COMMENT= French thesaurus
LICENSE= LGPL21
USE_ZIP= yes
NO_BUILD= yes
FRALIASES= fr_BE fr_CA fr_CH fr_LU
PLIST_FILES= share/mythes/th_fr_FR_v2.dat \
share/mythes/th_fr_FR_v2.idx
.for ALIAS in ${FRALIASES}
PLIST_FILES+= share/mythes/th_${ALIAS}_v2.dat \
share/mythes/th_${ALIAS}_v2.idx
.endfor
PLIST_DIRS= share/mythes
do-install:
@${MKDIR} ${PREFIX}/share/mythes
@${INSTALL_DATA} ${WRKDIR}/thes_fr.dat ${PREFIX}/share/mythes/th_fr_FR_v2.dat
@${INSTALL_DATA} ${WRKDIR}/thes_fr.idx ${PREFIX}/share/mythes/th_fr_FR_v2.idx
@cd ${PREFIX}/share/mythes; \
for alias in ${FRALIASES}; do \
${LN} -s th_fr_FR_v2.idx th_$${alias}_v2.idx ; \
${LN} -s th_fr_FR_v2.dat th_$${alias}_v2.dat ; \
done
.include <bsd.port.mk>
|