aboutsummaryrefslogtreecommitdiff
path: root/chinese/fcitx-libpinyin/Makefile
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2012-10-15 19:13:59 +0000
committerXin LI <delphij@FreeBSD.org>2012-10-15 19:13:59 +0000
commita60cd375c2de49ac4fa1c452cac465687764d293 (patch)
tree16cd520a07b02578778912e3222a2c4b34a8413e /chinese/fcitx-libpinyin/Makefile
parent592cf5e025e24ad002de597b6d5cec6818176c8a (diff)
downloadports-a60cd375c2de49ac4fa1c452cac465687764d293.tar.gz
ports-a60cd375c2de49ac4fa1c452cac465687764d293.zip
Notes
Diffstat (limited to 'chinese/fcitx-libpinyin/Makefile')
-rw-r--r--chinese/fcitx-libpinyin/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/chinese/fcitx-libpinyin/Makefile b/chinese/fcitx-libpinyin/Makefile
index 908e95980a81..bc6118139451 100644
--- a/chinese/fcitx-libpinyin/Makefile
+++ b/chinese/fcitx-libpinyin/Makefile
@@ -1,24 +1,20 @@
-# New ports collection makefile for: fcitx-libpinyin
-# Date created: 7 Apr 2012
-# Whom: Zhihao Yuan <lichray@gmail.com>
-#
+# Created by: Zhihao Yuan <lichray@gmail.com>
# $FreeBSD$
-#
PORTNAME= fcitx-libpinyin
-PORTVERSION= 0.2.0
+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.tar.gz: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.4:${PORTSDIR}/chinese/fcitx \
- pinyin.2:${PORTSDIR}/chinese/libpinyin
+LIB_DEPENDS= fcitx-config:${PORTSDIR}/chinese/fcitx \
+ pinyin:${PORTSDIR}/chinese/libpinyin
USE_LDCONFIG= ${PREFIX}/lib/fcitx/
USE_XZ= yes
@@ -28,8 +24,9 @@ USE_GNOME= intltool
INSTALLS_ICONS= yes
post-patch:
- @${LN} -s ${_DISTDIR}/model.text.tar.gz ${WRKSRC}/data
+ @${LN} -s ${_DISTDIR}/model.text.${MDVER}.tar.gz ${WRKSRC}/data
PROJECTHOST= fcitx
+MDVER= 20120921
.include <bsd.port.mk>