aboutsummaryrefslogtreecommitdiffstats
path: root/german/mythes/Makefile
blob: b1e4bf7ba57b7d819462d6292e98c98320643ed0 (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
# Created by: Baptiste Daroussin <bapt@FreeBSD.org>
# $FreeBSD$

PORTNAME=   mythes
PORTVERSION=    2012.10.07
CATEGORIES= german textproc
MASTER_SITES=   LOCAL/sunpoet/${PORTNAME}/
DISTNAME=   Deutscher-Thesaurus-${PORTVERSION:C/\.//g}
EXTRACT_SUFX=   .oxt
DIST_SUBDIR=    ${PORTNAME}

MAINTAINER= office@FreeBSD.org
COMMENT=    German thesaurus

LICENSE=    LGPL21

USE_ZIP=    yes
NO_BUILD=   yes
NO_WRKSUBDIR=   yes

PLIST_FILES=    %%DATADIR%%/th_de_DE_v2.idx \
        %%DATADIR%%/th_de_DE_v2.dat
PLIST_DIRSTRY=  %%DATADIR%%

DEALIASES=  de_AT de_BE de_CH de_LI de_LU

.for ALIAS in ${DEALIASES}
PLIST_FILES+=   %%DATADIR%%/th_${ALIAS}_v2.idx \
        %%DATADIR%%/th_${ALIAS}_v2.dat
.endfor

do-install:
    ${MKDIR} ${DATADIR}/
    ${INSTALL_DATA} ${WRKSRC}/th_de_DE_v2.dat ${WRKSRC}/th_de_DE_v2.idx ${DATADIR}/
.for ALIAS in ${DEALIASES}
    ${LN} -s th_de_DE_v2.dat ${DATADIR}/th_${ALIAS}_v2.dat
    ${LN} -s th_de_DE_v2.idx ${DATADIR}/th_${ALIAS}_v2.idx
.endfor

.include <bsd.port.mk>