aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-04-26 18:19:48 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-04-26 18:19:48 +0000
commit3f770b81fee381a17d9ce8060b5cba8575a77e2b (patch)
tree2b9839e2772f3204ed4f25053f6251ad95b26dac /chinese
parentfdea95bf2a99fc0689726bb965b56d77c74df161 (diff)
downloadports-3f770b81fee381a17d9ce8060b5cba8575a77e2b.tar.gz
ports-3f770b81fee381a17d9ce8060b5cba8575a77e2b.zip
- Add bug5 1.2
bug5 is a Big5 <-> UTF-8 translating layer in terminal. It's modified from script(1). Features that screen doesn't have: - UAO - Unpad padded ambiguous-width characters - ANSI-Broken Big5 (eg. Double Color) fixing - Optional Traditional-Simplified conversion - BSD License Features that both bug5 and screen has: - Optional ambiguous-width characters padding - Specify I/O conversion WWW: https://github.com/buganini/bug5 PR: ports/156620 Submitted by: Kuan-Chung Chiu <buganini@gmail.com>
Notes
Notes: svn path=/head/; revision=273217
Diffstat (limited to 'chinese')
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/bug5/Makefile33
-rw-r--r--chinese/bug5/distinfo2
-rw-r--r--chinese/bug5/pkg-descr15
4 files changed, 51 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index 877d473315f9..226b580284ff 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -19,6 +19,7 @@
SUBDIR += big5con
SUBDIR += big5width
SUBDIR += bitchx
+ SUBDIR += bug5
SUBDIR += c2t
SUBDIR += cce
SUBDIR += celvis
diff --git a/chinese/bug5/Makefile b/chinese/bug5/Makefile
new file mode 100644
index 000000000000..234d27f62817
--- /dev/null
+++ b/chinese/bug5/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: bug5
+# Date created: 25 April 2011
+# Whom: buganini@gmail.com
+#
+# $FreeBSD$
+#
+
+PORTNAME= bug5
+PORTVERSION= 1.2
+CATEGORIES= chinese converters
+MASTER_SITES= https://github.com/buganini/${PORTNAME}/tarball/${PORTVERSION}/
+DISTNAME= buganini-${PORTNAME}-${PORTVERSION}-0-g${GITVERSION}
+
+MAINTAINER= buganini@gmail.com
+COMMENT= A Big5 <-> UTF-8 translating layer in terminal
+
+LICENSE= BSD
+
+GITVERSION= 65194e4
+FETCH_ARGS= -pRr
+WRKSRC= ${WRKDIR}/buganini-${PORTNAME}-${GITVERSION}
+
+LIB_DEPENDS= bsdconv.4:${PORTSDIR}/converters/bsdconv
+
+PLIST_FILES= bin/bug5
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bug5 ${PREFIX}/bin/
+
+.include <bsd.port.mk>
diff --git a/chinese/bug5/distinfo b/chinese/bug5/distinfo
new file mode 100644
index 000000000000..748f50205df9
--- /dev/null
+++ b/chinese/bug5/distinfo
@@ -0,0 +1,2 @@
+SHA256 (buganini-bug5-1.2-0-g65194e4.tar.gz) = 282932836e8eb816dd131195a59122196953c74ab9010d583084a5657e7ef0ff
+SIZE (buganini-bug5-1.2-0-g65194e4.tar.gz) = 3960
diff --git a/chinese/bug5/pkg-descr b/chinese/bug5/pkg-descr
new file mode 100644
index 000000000000..e5dbc350500a
--- /dev/null
+++ b/chinese/bug5/pkg-descr
@@ -0,0 +1,15 @@
+bug5 is a Big5 <-> UTF-8 translating layer in terminal.
+It's modified from script(1).
+
+Features that screen doesn't have:
+- UAO
+- Unpad padded ambiguous-width characters
+- ANSI-Broken Big5 (eg. Double Color) fixing
+- Optional Traditional-Simplified conversion
+- BSD License
+
+Features that both bug5 and screen has:
+- Optional ambiguous-width characters padding
+- Specify I/O conversion
+
+WWW: https://github.com/buganini/bug5