Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

11
inputmethod/librime/DESCR Normal file
View File

@@ -0,0 +1,11 @@
RIME: Rime Input Method Engine
features:
- supporting varieties of input methods, either shape-based or phonetic-based,
including those for Chinese dialects
- a built-in dictionary in traditional Chinese, easily converting to
simplified Chinese via opencc
- a modulized, extensible input method framework to create innovative input
schemata in YAML syntax
- cross-platform core library in C++, built on top of open-source technologies
- OS-specific wrappers working consistently on Windows, Linux and OS X

View File

@@ -0,0 +1,29 @@
# $NetBSD: Makefile,v 1.3 2015/03/15 20:03:24 hiramatsu Exp $
DISTNAME= librime-1.0
CATEGORIES= inputmethod chinese
MASTER_SITES= http://rimeime.googlecode.com/files/
#MASTER_SITES= http://dl.bintray.com/lotem/rime/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://code.google.com/p/rimeime/
COMMENT= Rime input method engine
LICENSE= gnu-gpl-v3
WRKSRC= ${WRKDIR}/librime
USE_CMAKE= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
PKGCONFIG_OVERRIDE+= rime.pc.in
.include "options.mk"
.include "../../converters/opencc/buildlink3.mk"
.include "../../databases/kyotocabinet/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/google-glog/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../textproc/yaml-cpp/buildlink3.mk"
.include "../../x11/xproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,9 @@
@comment $NetBSD: PLIST,v 1.1 2014/11/29 09:31:49 obache Exp $
bin/rime_deployer
bin/rime_dict_manager
include/rime_api.h
lib/librime.so
lib/librime.so.1
lib/librime.so.${PKGVERSION}.0
lib/pkgconfig/rime.pc
share/cmake/rime/RimeConfig.cmake

View File

@@ -0,0 +1,20 @@
# $NetBSD: buildlink3.mk,v 1.1 2014/11/29 09:31:49 obache Exp $
#
BUILDLINK_TREE+= librime
.if !defined(LIBRIME_BUILDLINK3_MK)
LIBRIME_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.librime+= librime>=1.0
BUILDLINK_PKGSRCDIR.librime?= ../../inputmethod/librime
.include "../../converters/opencc/buildlink3.mk"
.include "../../databases/kyotocabinet/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/google-glog/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../textproc/yaml-cpp/buildlink3.mk"
.endif # LIBRIME_BUILDLINK3_MK
BUILDLINK_TREE+= -librime

View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2014/11/29 09:31:49 obache Exp $
SHA1 (librime-1.0.tar.gz) = 5fd6db95b039e08dadfe547e3e63962aeaa97d8c
RMD160 (librime-1.0.tar.gz) = 0e5972bfcf179d464a8e58f9ddce3bf55708865b
Size (librime-1.0.tar.gz) = 2576401 bytes
SHA1 (patch-CMakeLists.txt) = 3e478dda0da10ecfc31f1cb7849a5fd0bd21a065

View File

@@ -0,0 +1,14 @@
# $NetBSD: options.mk,v 1.1 2014/11/29 09:31:49 obache Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.librime
PKG_SUPPORTED_OPTIONS= tests
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mtests)
.include "../../devel/googletest/buildlink3.mk"
CMAKE_ARGS+= -DBUILD_TEST=ON
TEST_TARGET= test
TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC}/lib
.endif

View File

@@ -0,0 +1,24 @@
$NetBSD: patch-CMakeLists.txt,v 1.1 2014/11/29 09:31:49 obache Exp $
* No reason to restrct only for Linux.
--- CMakeLists.txt.orig 2013-11-10 10:20:21.000000000 +0000
+++ CMakeLists.txt
@@ -98,7 +98,7 @@ if(NOT DEFINED BIN_INSTALL_DIR)
set(BIN_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/bin)
endif()
-if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+#if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
# uninstall target
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
@@ -125,7 +125,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
file(GLOB supplement_schema ${PROJECT_SOURCE_DIR}/data/supplement/*.yaml)
install(FILES ${supplement_schema} DESTINATION ${pkgdatadir})
endif(BUILD_DATA)
-endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+#endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
if(BUILD_SHARED_LIBS)
set(RIME_LIBRARY rime)