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

PORTNAME=   hyphen
PORTVERSION=    2005.11.18
PORTREVISION=   1
CATEGORIES= textproc
MASTER_SITES=   LOCAL/sunpoet/${PORTNAME}/
PKGNAMEPREFIX=  es-
DISTNAME=   hyph_es_ES-${PORTVERSION:C/\.//g}

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

USE_ZIP=    yes
NO_BUILD=   yes
NO_WRKSUBDIR=   yes

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

ESALIASES=  es_AR es_BO es_CL es_CO es_CR es_CU es_DO es_EC es_GT es_HN \
        es_MX es_NI es_PA es_PE es_PR es_PY es_SV es_US es_UY es_VE
.for ALIAS in ${ESALIASES}
PLIST_FILES+=   %%DATADIR%%/hyph_${ALIAS}.dic
.endfor

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

.include <bsd.port.mk>