Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2006 13:14:13 GMT
From:      Yuan Jue <yuanjue@yuanjue.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/95621: New port: chinese/gbk2uni
Message-ID:  <200604111314.k3BDEDvL087702@www.freebsd.org>
Resent-Message-ID: <200604111350.k3BDoFjO045190@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         95621
>Category:       ports
>Synopsis:       New port: chinese/gbk2uni
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 11 13:50:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Yuan Jue
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
Tsinghua University, Beijing
>Environment:
FreeBSD yuanjue.net 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Tue Nov 8 15:38:43 CST 2005 YuanJue:/usr/obj/usr/src/sys/MY
KERNEL i386
>Description:
New port: chinese/gbk2uni TeX applet used to generate correct Chinese PDF bookmarks
>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       gbk2uni
#       gbk2uni/distinfo
#       gbk2uni/Makefile
#       gbk2uni/pkg-descr
#       gbk2uni/pkg-plist
#
echo c - gbk2uni
mkdir -p gbk2uni > /dev/null 2>&1
echo x - gbk2uni/distinfo
sed 's/^X//' >gbk2uni/distinfo << 'END-of-gbk2uni/distinfo'
XMD5 (gbk2uni-0.22.tar.gz) = 0a59092a1abc749efdfb73f7e1c709a7
XSHA256 (gbk2uni-0.22.tar.gz) = 7ee7d2f2edd90ae6805ecbf5e986e16a578487b1db8deb78a6be597251abd666
XSIZE (gbk2uni-0.22.tar.gz) = 69536
END-of-gbk2uni/distinfo
echo x - gbk2uni/Makefile
sed 's/^X//' >gbk2uni/Makefile << 'END-of-gbk2uni/Makefile'
X# New ports collection Makefile for:   zh-gbk2uni
X# Date created:        09 April 2006
X# Whom:                Yuan Jue (yuanjue@yuanjue.net)
X#
X# $FreeBSD$
X#
X
XPORTNAME=              gbk2uni
XPORTVERSION=           0.22
XCATEGORIES=            chinese
XMASTER_SITES=  http://www.yuanjue.net/download/
XPKGNAMEPREFIX= zh-
XDISTNAME=              ${PORTNAME}-${PORTVERSION}
X
XMAINTAINER=    yuanjue@yuanjue.net
XCOMMENT=       TeX applet used to generate correct Chinese PDF bookmarks
X
XUSE_GMAKE=     yes
X
Xdo-install:
X       ${INSTALL_PROGRAM} ${WRKSRC}/gbk2uni ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-gbk2uni/Makefile
echo x - gbk2uni/pkg-descr
sed 's/^X//' >gbk2uni/pkg-descr << 'END-of-gbk2uni/pkg-descr'
Xgbk2uni is an command-line applet for TeX writing which is
Xused to generate correct PDF bookmark that includes
XChinese characters. It transforms GBK characters in .out
Xfile to unicode code.
X
X- Yuan Jue
Xyuanjue@yuanjue.net
END-of-gbk2uni/pkg-descr
echo x - gbk2uni/pkg-plist
sed 's/^X//' >gbk2uni/pkg-plist << 'END-of-gbk2uni/pkg-plist'
Xbin/gbk2uni
END-of-gbk2uni/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604111314.k3BDEDvL087702>