aboutsummaryrefslogtreecommitdiffstats
path: root/german/hyphen/Makefile
blob: 237ae3caf86c859fb5e26e22cd9965e5c6c026d4 (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
# New ports collection makefile for:    de-hyphen
# Date created:     2011-07-21
# Whom:         Baptiste Daroussin <bapt@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   hyphen
PORTVERSION=    2007.02.17
PORTREVISION=   1
CATEGORIES= german textproc
MASTER_SITES=   LOCAL/sunpoet/${PORTNAME}/
DISTNAME=   hyph_de_DE-${PORTVERSION:C/\.//g}
DIST_SUBDIR=    ${PORTNAME}

MAINTAINER= office@FreeBSD.org
COMMENT=    German hyphenation rules

LICENSE=    LGPL21

USE_ZIP=    yes
NO_BUILD=   yes
NO_WRKSUBDIR=   yes

PLIST_FILES=    %%DATADIR%%/hyph_de_DE.dic
PLIST_DIRSTRY=  %%DATADIR%%

DEALIASES=  de_AT de_BE de_CH de_LI de_LU
.for ALIAS in ${DEALIASES}
PLIST_FILES+=   %%DATADIR%%/hyph_${ALIAS}.dic
.endfor

do-install:
    ${MKDIR} ${DATADIR}/
    ${INSTALL_DATA} ${WRKSRC}/hyph_de_DE.dic ${DATADIR}/
.for ALIAS in ${DEALIASES}
    ${LN} -s hyph_de_DE.dic ${DATADIR}/hyph_${ALIAS}.dic
.endfor

.include <bsd.port.mk>