diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-09-11 17:51:14 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-09-11 17:51:14 +0000 |
commit | d72fb9d8ed0cb4b867efa30e1f714444d7f12c15 (patch) | |
tree | ecca734c920fec61fb85e298ea94ff8ee66fe976 /chinese/librime | |
parent | a2beb9bdcd0994b542903b1b98d1301d198cc941 (diff) |
Notes
Diffstat (limited to 'chinese/librime')
-rw-r--r-- | chinese/librime/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chinese/librime/Makefile b/chinese/librime/Makefile index 0bd7a0a0d7b8..637d444ccf3a 100644 --- a/chinese/librime/Makefile +++ b/chinese/librime/Makefile @@ -3,7 +3,7 @@ PORTNAME= librime PORTVERSION= 0.9.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= chinese textproc MASTER_SITES= GOOGLE_CODE DISTFILES= ${DISTNAME}${EXTRACT_SUFX} brise-${DATA_VER}.tar.gz @@ -17,7 +17,7 @@ LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \ libglog.so:${PORTSDIR}/devel/glog \ libkyotocabinet.so:${PORTSDIR}/databases/kyotocabinet \ libopencc.so:${PORTSDIR}/chinese/opencc \ - libyaml-cpp.so:${PORTSDIR}/devel/yaml-cpp + libyaml-cpp03.so:${PORTSDIR}/devel/yaml-cpp03 USES= cmake pkgconfig gettext perl5 USE_PERL5= build patch @@ -30,6 +30,8 @@ PLIST_SUB= VER=${PORTVERSION} post-patch: .SILENT ${FIND} ${WRKSRC} \( -name '*.cc' -or -name '*.h' \) \ -exec ${PERL} -i -pe '$$. == 1 && s/^\xef\xbb\xbf//;' '{}' \; + ${REINPLACE_CMD} -e 's|yaml-cpp|&03|g' ${WRKSRC}/cmake/FindYamlCpp.cmake \ + ${WRKSRC}/src/config.cc ${WRKSRC}/src/dict/dict_settings.cc post-build: @echo "building rime data." |