aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ti-hunspell/Makefile
blob: 2989c7af4591632099a6f4204e8f76e440982764 (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
# New ports collection makefile for:    ti-hunspell
# Date created:     2011-07-20
# Whom:         Baptiste Daroussin <bapt@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   hunspell
PORTVERSION=    20090911
PORTREVISION=   1
CATEGORIES= textproc
MASTER_SITES=   LOCAL/sunpoet/${PORTNAME}/
PKGNAMEPREFIX=  ti-
DISTNAME=   ti_ER-${PORTVERSION}
DIST_SUBDIR=    ${PORTNAME}

MAINTAINER= office@FreeBSD.org
COMMENT=    Tigrigna hunspell dictionaries

USE_ZIP=    yes
NO_BUILD=   yes
NO_WRKSUBDIR=   yes

PLIST_FILES=    %%DATADIR%%/ti_ER.dic \
        %%DATADIR%%/ti_ER.aff \
        %%DATADIR%%/ti_ET.dic \
        %%DATADIR%%/ti_ET.aff
PLIST_DIRSTRY=  %%DATADIR%%

do-install:
    ${MKDIR} ${DATADIR}/
    ${INSTALL_DATA} ${WRKSRC}/ti_ER.aff ${WRKSRC}/ti_ER.dic ${DATADIR}/
    ${LN} -s ti_ER.aff ${DATADIR}/ti_ET.aff
    ${LN} -s ti_ER.dic ${DATADIR}/ti_ET.dic

.include <bsd.port.mk>