aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2012-09-08 10:26:40 +0000
committerWen Heping <wen@FreeBSD.org>2012-09-08 10:26:40 +0000
commite91cb80bcd37c842e603f7d0ec5bbf08ea0ff67a (patch)
treed881eb41ceeeb4a17cad0b48d1f454065f366c30 /chinese
parent3ba6b6330c1fca7e6505c4d3e6331f89662aacdb (diff)
downloadports-e91cb80bcd37c842e603f7d0ec5bbf08ea0ff67a.tar.gz
ports-e91cb80bcd37c842e603f7d0ec5bbf08ea0ff67a.zip
Notes
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%%