diff options
-rw-r--r-- | chinese/Makefile | 1 | ||||
-rw-r--r-- | chinese/bug5/Makefile | 33 | ||||
-rw-r--r-- | chinese/bug5/distinfo | 2 | ||||
-rw-r--r-- | chinese/bug5/pkg-descr | 15 |
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 |