1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

chinese/{ibus-,lib,py}cangjie: miscellaneous cleanups and improvements

- Drop redundant GH_PROJECT when appropriately set by the framework
- Remove excessive horizontal, vertical, and useless EOL whitespace
- Reformat port description for standard 80-character terminal width
This commit is contained in:
Alexey Dokuchaev 2021-08-29 11:10:42 +00:00
parent 38621bd302
commit c18767b14b
5 changed files with 23 additions and 32 deletions

View File

@ -1,9 +1,9 @@
# Created by: blubee <hello@blubee.me>
PORTNAME= ibus-cangjie
PORTVERSION= 2.4
PORTNAME= ibus-cangjie
PORTVERSION= 2.4
DISTVERSIONPREFIX= v
CATEGORIES= chinese
CATEGORIES= chinese
MAINTAINER= hello@blubee.me
COMMENT= IBus engine for users of the Cangjie and Quick
@ -14,23 +14,20 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libibus-1.0.so:textproc/ibus
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/cangjie/_core.so:chinese/pycangjie \
${PYTHON_SITELIBDIR}/pycanberra/pycanberra.py:devel/pycanberra@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/cangjie/_core.so:chinese/pycangjie \
${PYTHON_SITELIBDIR}/pycanberra/pycanberra.py:devel/pycanberra@${PY_FLAVOR}
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= autoreconf gmake gnome libtool pkgconfig python:3.4+
USE_GNOME= introspection:run pygobject3 intltool
GLIB_SCHEMAS= org.cangjians.ibus.cangjie.gschema.xml \
org.cangjians.ibus.quick.gschema.xml
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
OPTIONS_DEFINE= NLS
NLS_USES= gettext
USE_GITHUB= yes
GH_ACCOUNT= Cangjians
OPTIONS_DEFINE= NLS
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= gettext
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
USE_GITHUB= yes
GH_ACCOUNT= Cangjians
GH_PROJECT= ibus-cangjie
.include <bsd.port.mk>

View File

@ -1,8 +1,6 @@
This is an IBus engine for users of the Cangjie and
Quick input methods.
This is an IBus engine for users of the Cangjie and Quick input methods.
It is primarily intended to Hong Kong people
who want to input Traditional Chinese,
as they are (by far) the majority of Cangjie and Quick users.
It is primarily intended to Hong Kong people who want to input Traditional
Chinese, as they are (by far) the majority of Cangjie and Quick users.
WWW: http://cangjians.github.io/projects/ibus-cangjie/

View File

@ -1,10 +1,10 @@
# Created by: blubee <hello@blubee.me>
PORTNAME= libcangjie
PORTVERSION= 1.3
PORTREVISION= 1
PORTNAME= libcangjie
PORTVERSION= 1.3
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= chinese
CATEGORIES= chinese
MAINTAINER= hello@blubee.me
COMMENT= C library implementing the Cangjie input method
@ -17,15 +17,12 @@ LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \
libdbus-1.so:devel/dbus
USES= autoreconf gmake libtool localbase pkgconfig sqlite xorg
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_XORG= xi
USE_GITHUB= yes
GH_ACCOUNT= Cangjians
GH_PROJECT= libcangjie
post-install:
@(${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so)

View File

@ -1,9 +1,9 @@
# Created by: blubee <hello@blubee.me>
PORTNAME= pycangjie
PORTVERSION= 1.3
PORTNAME= pycangjie
PORTVERSION= 1.3
DISTVERSIONPREFIX= v
CATEGORIES= chinese
CATEGORIES= chinese
MAINTAINER= hello@blubee.me
COMMENT= Python wrapper to libcangjie
@ -19,7 +19,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CYTHON=${LOCALBASE}/bin/cython-${PYTHON_VER}
USE_GITHUB= yes
GH_ACCOUNT= Cangjians
GH_PROJECT= pycangjie
post-install:
(cd ${STAGEDIR}${PREFIX} \

View File

@ -1,4 +1,4 @@
This is a Python wrapper to libcangjie,
the library implementing the Cangjie input method.
This is a Python wrapper to libcangjie, the library implementing the
Cangjie input method.
WWW: http://cangjians.github.io/projects/pycangjie/