diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-10-21 15:21:13 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-10-21 15:21:13 +0000 |
commit | a0bcd2cf684ff6bc2faf242e6678282f20a3ee44 (patch) | |
tree | a5029ff30555b3a7ee0621f4dd5aacb832fde1d8 /chinese | |
parent | b7fb6d6f05e67910c9ecd4b0e0e1e0a130f8f54f (diff) | |
download | ports-a0bcd2cf684ff6bc2faf242e6678282f20a3ee44.tar.gz ports-a0bcd2cf684ff6bc2faf242e6678282f20a3ee44.zip |
Notes
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/librime/Makefile | 2 | ||||
-rw-r--r-- | chinese/librime/files/patch-CMakeLists.txt | 9 | ||||
-rw-r--r-- | chinese/pyzy/Makefile | 5 |
3 files changed, 2 insertions, 14 deletions
diff --git a/chinese/librime/Makefile b/chinese/librime/Makefile index 75f9a70fa1f1..bf17914e2e6a 100644 --- a/chinese/librime/Makefile +++ b/chinese/librime/Makefile @@ -19,7 +19,7 @@ LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libopencc.so:chinese/opencc \ libyaml-cpp.so:devel/yaml-cpp -USES= cmake compiler:c++11-lib pkgconfig gettext perl5 +USES= cmake compiler:c++11-lib pathfix pkgconfig gettext perl5 USE_PERL5= build patch USE_LDCONFIG= yes USE_XORG= xproto diff --git a/chinese/librime/files/patch-CMakeLists.txt b/chinese/librime/files/patch-CMakeLists.txt index be56ba257543..301102a5a69d 100644 --- a/chinese/librime/files/patch-CMakeLists.txt +++ b/chinese/librime/files/patch-CMakeLists.txt @@ -9,15 +9,6 @@ # uninstall target configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in" -@@ -142,7 +142,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") - ${PROJECT_BINARY_DIR}/rime.pc - @ONLY) - install(FILES include/rime_api.h DESTINATION include) -- install(FILES ${PROJECT_BINARY_DIR}/rime.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig) -+ install(FILES ${PROJECT_BINARY_DIR}/rime.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig) - install(FILES cmake/RimeConfig.cmake DESTINATION share/cmake/rime) - if(BUILD_DATA) - install(FILES ${PROJECT_SOURCE_DIR}/data/default.yaml DESTINATION ${pkgdatadir}) @@ -153,7 +153,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") file(GLOB supplement_schema ${PROJECT_SOURCE_DIR}/data/supplement/*.yaml) install(FILES ${supplement_schema} DESTINATION ${pkgdatadir}) diff --git a/chinese/pyzy/Makefile b/chinese/pyzy/Makefile index e83c03008044..19315c741f30 100644 --- a/chinese/pyzy/Makefile +++ b/chinese/pyzy/Makefile @@ -18,7 +18,7 @@ BROKEN= Unfetchable (google code has gone away) LIB_DEPENDS= libsqlite3.so:databases/sqlite3 -USES= compiler:c++11-lib gettext-runtime gmake libtool pkgconfig python:build shebangfix +USES= compiler:c++11-lib gettext-runtime gmake libtool pathfix pkgconfig python:build shebangfix SHEBANG_FILES= data/db/android/create_db.py USE_GNOME= glib20 USE_LDCONFIG= yes @@ -47,9 +47,6 @@ OPENCC_LIB_DEPENDS= libopencc.so:chinese/opencc post-extract-OPENPHRASE_DB-on: @${CP} ${DISTDIR}/${OPENPHRASE_DBFILE} ${WRKSRC}/data/db/open-phrase -post-patch: - @${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' ${WRKSRC}/Makefile.in - post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}-1.0.so |