aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/fcitx-libpinyin/Makefile
blob: d3467f96dd801b0262c53cd9512bb3d3678a2576 (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
# Created by: Zhihao Yuan <lichray@gmail.com>
# $FreeBSD$

PORTNAME=   fcitx-libpinyin
PORTVERSION=    0.2.1
CATEGORIES= chinese
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE} \
        http://cloud.github.com/downloads/fcitx/fcitx-libpinyin/:libpinyin
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} model.text.${MDVER}.tar.gz:libpinyin
DIST_SUBDIR=    fcitx
EXTRACT_ONLY=   ${DISTNAME}${EXTRACT_SUFX}

MAINTAINER= lichray@gmail.com
COMMENT=    The libpinyin support for Fcitx

LIB_DEPENDS=    fcitx-config:${PORTSDIR}/chinese/fcitx \
        pinyin:${PORTSDIR}/chinese/libpinyin

USE_LDCONFIG=   ${PREFIX}/lib/fcitx/
USE_XZ=     yes
USES=       cmake gettext
USE_GNOME=  intltool
INSTALLS_ICONS= yes

post-patch:
    @${LN} -s ${_DISTDIR}/model.text.${MDVER}.tar.gz ${WRKSRC}/data

PROJECTHOST=    fcitx
MDVER=      20120921

.include <bsd.port.mk>