svn commit: r457714 - in head/chinese: . pycangjie pycangjie/files
Kurt Jaeger
pi at FreeBSD.org
Sun Dec 31 19:12:27 UTC 2017
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 at 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 <hello at blubee.me>
+# $FreeBSD$
+
+PORTNAME= pycangjie
+PORTVERSION= 1.3
+DISTVERSIONPREFIX= v
+CATEGORIES= chinese
+
+MAINTAINER= hello at 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 <bsd.port.mk>
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
More information about the svn-ports-head
mailing list