summaryrefslogtreecommitdiffstats
path: root/chinese/fcitx-libpinyin/Makefile
blob: a34f295a85bfb6c493f498e1b062b95cde12d082 (plain)
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
# 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
USE_GETTEXT=	yes
USES=		cmake
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>
OpenPOWER on IntegriCloud