ports/50816: New port: chinese/oto
Statue
statue at freebsd.sinica.edu.tw
Fri Apr 11 13:20:12 UTC 2003
>Number: 50816
>Category: ports
>Synopsis: New port: chinese/oto
>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: Fri Apr 11 06:20:09 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Statue
>Release: FreeBSD 4.7-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD freebsd.sinica.edu.tw 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #2: Mon Sep 9 10:45:46 CST 2002 ycheng at freebsd.sinica.edu.tw:/usr/src/sys/compile/GENERIC i386
>Description:
Have a TrueType font which is not recognized by X Window? Probably,
the font uses an encoding other than Unicode! Open Type Organizer (oTo)
can show you font info and add new 'name' and 'cmap' tables by
translating the original ones.
WWW: http://sourceforge.net/projects/oto
>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:
#
# oto/
# oto/Makefile
# oto/distinfo
# oto/files
# oto/pkg-descr
# oto/pkg-plist
# oto/files/patch-src::Makefile.in
#
echo c - oto/
mkdir -p oto/ > /dev/null 2>&1
echo x - oto/Makefile
sed 's/^X//' >oto/Makefile << 'END-of-oto/Makefile'
X# New ports collection makefile for: zh-oto
X# Date created: 8 March 2003
X# Whom: Shen Chuan-Hsing <statue at freebsd.sinica.edu.tw>
X#
X# $FreeBSD$
X#
X
XPORTNAME= oto
XPORTVERSION= 0.4
XCATEGORIES= chinese print
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= ${PORTNAME}
X
XMAINTAINER= statue at freebsd.sinica.edu.tw
XCOMMENT= Show you font info and add new 'name' and 'cmap' tables
X
XLIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv \
X gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
X
XHAS_CONFIGURE= YES
XUSE_GMAKE= YES
XUSE_REINPLACE= yes
X
X.include <bsd.port.pre.mk>
Xpost-patch:
X @${FIND} ${WRKSRC}/src/ -name "*" | ${XARGS} ${REINPLACE_CMD} -e 's,stdint.h,inttypes.h,'
X.include <bsd.port.post.mk>
END-of-oto/Makefile
echo x - oto/distinfo
sed 's/^X//' >oto/distinfo << 'END-of-oto/distinfo'
XMD5 (oto-0.4.tar.gz) = 66f4cdacd3b235fcbfd718b9184b6870
END-of-oto/distinfo
echo c - oto/files
mkdir -p oto/files > /dev/null 2>&1
echo x - oto/pkg-descr
sed 's/^X//' >oto/pkg-descr << 'END-of-oto/pkg-descr'
XHave a TrueType font which is not recognized by X Window? Probably,
Xthe font uses an encoding other than Unicode! Open Type Organizer (oTo)
Xcan show you font info and add new 'name' and 'cmap' tables by
Xtranslating the original ones.
X
XWWW: http://sourceforge.net/projects/oto
END-of-oto/pkg-descr
echo x - oto/pkg-plist
sed 's/^X//' >oto/pkg-plist << 'END-of-oto/pkg-plist'
Xbin/oto
Xshare/oto/GB2312.TXT
Xshare/oto/GB12345.TXT
Xshare/oto/GB12345p.TXT
Xshare/oto/BIG5.TXT
X at dirrm share/oto
END-of-oto/pkg-plist
echo x - oto/files/patch-src::Makefile.in
sed 's/^X//' >oto/files/patch-src::Makefile.in << 'END-of-oto/files/patch-src::Makefile.in'
X--- src/Makefile.in.orig Sun Dec 15 19:11:54 2002
X+++ src/Makefile.in Sun Dec 15 19:20:48 2002
X@@ -75,14 +75,14 @@
X directory.c name.c cmap.c
X
X
X-oto_LDADD = -lm
X+oto_LDADD = -lm -L/usr/local/lib -liconv -lgnugetopt
X mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
X CONFIG_HEADER = ../config.h
X CONFIG_CLEAN_FILES =
X PROGRAMS = $(bin_PROGRAMS)
X
X
X-DEFS = @DEFS@ -I. -I$(srcdir) -I..
X+DEFS = @DEFS@ -I. -I$(srcdir) -I.. -I/usr/local/include
X CPPFLAGS = @CPPFLAGS@
X LDFLAGS = @LDFLAGS@
X LIBS = @LIBS@
X@@ -92,7 +92,7 @@
X CFLAGS = @CFLAGS@
X COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
X CCLD = $(CC)
X-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
X+LINK = $(CCLD) $(DEFS) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
X DATA = $(pkgdata_DATA)
X
X DIST_COMMON = Makefile.am Makefile.in
END-of-oto/files/patch-src::Makefile.in
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list