aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2012-09-08 18:26:40 +0800
committerwen <wen@FreeBSD.org>2012-09-08 18:26:40 +0800
commitef3ed63309672dfe25c8f90468a447eafa389901 (patch)
treed881eb41ceeeb4a17cad0b48d1f454065f366c30 /chinese
parentc99e71717589fa6cd112d1a039a4b05740f02876 (diff)
downloadfreebsd-ports-gnome-ef3ed63309672dfe25c8f90468a447eafa389901.tar.gz
freebsd-ports-gnome-ef3ed63309672dfe25c8f90468a447eafa389901.tar.zst
freebsd-ports-gnome-ef3ed63309672dfe25c8f90468a447eafa389901.zip
- Update to 0.7.1
PR: 171330 Submitted by: Zhihao Yuan <lichray@gmail.com> (maintainer)
Diffstat (limited to 'chinese')
-rw-r--r--chinese/libpinyin/Makefile4
-rw-r--r--chinese/libpinyin/distinfo4
-rw-r--r--chinese/libpinyin/pkg-plist16
3 files changed, 13 insertions, 11 deletions
diff --git a/chinese/libpinyin/Makefile b/chinese/libpinyin/Makefile
index 0f38ca8cfa2a..4680cf7834c6 100644
--- a/chinese/libpinyin/Makefile
+++ b/chinese/libpinyin/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libpinyin
-PORTVERSION= 0.5.92
+PORTVERSION= 0.7.1
CATEGORIES= chinese textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
@@ -28,6 +28,8 @@ CONFIGURE_ARGS+=CPPFLAGS="-I${LOCALBASE}/include \
-I${BDB_INCLUDE_DIR} -D_WITH_GETLINE" \
LDFLAGS="-L${LOCALBASE}/lib -l${BDB_LIB_NAME}"
+PLIST_SUB+= VER=${PORTVERSION}
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800107
diff --git a/chinese/libpinyin/distinfo b/chinese/libpinyin/distinfo
index 842d972c50b6..6d705a035ac6 100644
--- a/chinese/libpinyin/distinfo
+++ b/chinese/libpinyin/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libpinyin-0.5.92.tar.gz) = aae733f7f0d3292b3e1f3dcdf183c496d90251064d9d2eae45b3d71738f3a838
-SIZE (libpinyin-0.5.92.tar.gz) = 10477392
+SHA256 (libpinyin-0.7.1.tar.gz) = 1205a7aabe5e3a0bed37323714b8f7ea51947b488d40aab08e268487f85e7c51
+SIZE (libpinyin-0.7.1.tar.gz) = 10464925
diff --git a/chinese/libpinyin/pkg-plist b/chinese/libpinyin/pkg-plist
index 8bdf48fe8e2a..77a45925bf4a 100644
--- a/chinese/libpinyin/pkg-plist
+++ b/chinese/libpinyin/pkg-plist
@@ -1,16 +1,16 @@
bin/gen_binary_files
bin/gen_unigram
bin/import_interpolation
-include/libpinyin-0.3/chewing_enum.h
-include/libpinyin-0.3/chewing_key.h
-include/libpinyin-0.3/novel_types.h
-include/libpinyin-0.3/pinyin.h
-include/libpinyin-0.3/pinyin_custom2.h
-include/libpinyin-0.3/pinyin_parser2.h
+include/libpinyin-%%VER%%/chewing_enum.h
+include/libpinyin-%%VER%%/chewing_key.h
+include/libpinyin-%%VER%%/novel_types.h
+include/libpinyin-%%VER%%/pinyin.h
+include/libpinyin-%%VER%%/pinyin_custom2.h
+include/libpinyin-%%VER%%/pinyin_parser2.h
lib/libpinyin.a
lib/libpinyin.la
lib/libpinyin.so
-lib/libpinyin.so.0
+lib/libpinyin.so.2
libdata/pkgconfig/libpinyin.pc
%%DATADIR%%/data/bigram.db
%%DATADIR%%/data/gb_char.bin
@@ -19,4 +19,4 @@ libdata/pkgconfig/libpinyin.pc
%%DATADIR%%/data/pinyin_index.bin
@dirrm %%DATADIR%%/data
@dirrm %%DATADIR%%
-@dirrm include/libpinyin-0.3
+@dirrm include/libpinyin-%%VER%%