From owner-svn-ports-all@freebsd.org Sun Dec 31 19:12:27 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14A18EA2688; Sun, 31 Dec 2017 19:12:27 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E2EBB7F269; Sun, 31 Dec 2017 19:12:26 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBVJCQpi095256; Sun, 31 Dec 2017 19:12:26 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBVJCPiF095250; Sun, 31 Dec 2017 19:12:25 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201712311912.vBVJCPiF095250@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sun, 31 Dec 2017 19:12:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457714 - in head/chinese: . pycangjie pycangjie/files X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: in head/chinese: . pycangjie pycangjie/files X-SVN-Commit-Revision: 457714 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Dec 2017 19:12:27 -0000 Author: pi Date: Sun Dec 31 19:12:25 2017 New Revision: 457714 URL: https://svnweb.freebsd.org/changeset/ports/457714 Log: New port: chinese/pycangjie This is a Python wrapper to libcangjie, the library implementing the Cangjie input method. WWW: http://cangjians.github.io/projects/pycangjie/ PR: 223565 Submitted by: hello@blubee.me Added: head/chinese/pycangjie/ head/chinese/pycangjie/Makefile (contents, props changed) head/chinese/pycangjie/distinfo (contents, props changed) head/chinese/pycangjie/files/ head/chinese/pycangjie/files/patch-autogen.sh (contents, props changed) head/chinese/pycangjie/pkg-descr (contents, props changed) head/chinese/pycangjie/pkg-plist (contents, props changed) Modified: head/chinese/Makefile Modified: head/chinese/Makefile ============================================================================== --- head/chinese/Makefile Sun Dec 31 18:59:36 2017 (r457713) +++ head/chinese/Makefile Sun Dec 31 19:12:25 2017 (r457714) @@ -92,6 +92,7 @@ SUBDIR += php-opencc SUBDIR += phpbb-tw SUBDIR += phpbb3-tw + SUBDIR += pycangjie SUBDIR += pyzy SUBDIR += qe SUBDIR += qt4-codecs-cn Added: head/chinese/pycangjie/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/chinese/pycangjie/Makefile Sun Dec 31 19:12:25 2017 (r457714) @@ -0,0 +1,30 @@ +# Created by: blubee +# $FreeBSD$ + +PORTNAME= pycangjie +PORTVERSION= 1.3 +DISTVERSIONPREFIX= v +CATEGORIES= chinese + +MAINTAINER= hello@blubee.me +COMMENT= Python wrapper to libcangjie + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= cython:lang/cython +LIB_DEPENDS= libcangjie.so:chinese/libcangjie + +USES= autoreconf gmake libtool pkgconfig sqlite python:3.2+ +GNU_CONFIGURE= yes +USE_GITHUB= yes +GH_ACCOUNT= Cangjians +GH_PROJECT= pycangjie + +post-install: + (cd ${STAGEDIR}${PREFIX} \ + && ${PYTHON_CMD} ${PYTHON_LIBDIR}/*.py \ + -d ${PREFIX} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}) + @(${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION}/site-packages/cangjie/*.so) + +.include Added: head/chinese/pycangjie/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/chinese/pycangjie/distinfo Sun Dec 31 19:12:25 2017 (r457714) @@ -0,0 +1,3 @@ +TIMESTAMP = 1509799872 +SHA256 (Cangjians-pycangjie-v1.3_GH0.tar.gz) = 8ee4a1f0af1607cdfd07f6e415ca106de66e7e23832ef17cc82877d86a3cd080 +SIZE (Cangjians-pycangjie-v1.3_GH0.tar.gz) = 13593 Added: head/chinese/pycangjie/files/patch-autogen.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/chinese/pycangjie/files/patch-autogen.sh Sun Dec 31 19:12:25 2017 (r457714) @@ -0,0 +1,7 @@ +--- autogen.sh.orig 2017-11-04 15:37:55 UTC ++++ autogen.sh +@@ -8,4 +8,3 @@ aclocal -I m4 + autoheader + automake --add-missing --copy + autoconf +-./configure $* Added: head/chinese/pycangjie/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/chinese/pycangjie/pkg-descr Sun Dec 31 19:12:25 2017 (r457714) @@ -0,0 +1,4 @@ +This is a Python wrapper to libcangjie, +the library implementing the Cangjie input method. + +WWW: http://cangjians.github.io/projects/pycangjie/ Added: head/chinese/pycangjie/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/chinese/pycangjie/pkg-plist Sun Dec 31 19:12:25 2017 (r457714) @@ -0,0 +1,7 @@ +%%PYTHON_SITELIBDIR%%/cangjie/__init__.py +%%PYTHON_SITELIBDIR%%/cangjie/__pycache__/__init__.cpython-36.%%PYTHON_PYOEXTENSION%% +%%PYTHON_SITELIBDIR%%/cangjie/__pycache__/__init__.cpython-36.pyc +%%PYTHON_SITELIBDIR%%/cangjie/_core.so +%%PYTHON_SITELIBDIR%%/cangjie/errors.so +%%PYTHON_SITELIBDIR%%/cangjie/filters.so +%%PYTHON_SITELIBDIR%%/cangjie/versions.so