diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2003-04-27 00:49:57 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2003-04-27 00:49:57 +0000 |
commit | 9051e660ca616de31aca2dcbd2837a859e7e16d9 (patch) | |
tree | 465118537eb7a2384c8ffa3d49d7362292249f07 | |
parent | Add cnprint 3.30b, (diff) |
Add oto 0.4, show you font info and add new 'name' and 'cmap' tables.
PR: 50816
Submitted by: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
Notes
Notes:
svn path=/head/; revision=79717
-rw-r--r-- | chinese/Makefile | 1 | ||||
-rw-r--r-- | chinese/oto/Makefile | 27 | ||||
-rw-r--r-- | chinese/oto/distinfo | 1 | ||||
-rw-r--r-- | chinese/oto/files/patch-src::Makefile.in | 28 | ||||
-rw-r--r-- | chinese/oto/pkg-descr | 6 | ||||
-rw-r--r-- | chinese/oto/pkg-plist | 6 |
6 files changed, 69 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile index bc7fd6c8b529..bb0a668566e3 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -76,6 +76,7 @@ SUBDIR += nvi-euc-tw SUBDIR += openoffice-zh_CN SUBDIR += openoffice-zh_TW + SUBDIR += oto SUBDIR += p5-Date-Chinese SUBDIR += p5-Encode-HanConvert SUBDIR += p5-Lingua-ZH-Numbers diff --git a/chinese/oto/Makefile b/chinese/oto/Makefile new file mode 100644 index 000000000000..73867e215b47 --- /dev/null +++ b/chinese/oto/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: zh-oto +# Date created: 8 March 2003 +# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw> +# +# $FreeBSD$ +# + +PORTNAME= oto +PORTVERSION= 0.4 +CATEGORIES= chinese print +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= statue@freebsd.sinica.edu.tw +COMMENT= Show you font info and add new 'name' and 'cmap' tables + +LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv \ + gnugetopt.1:${PORTSDIR}/devel/libgnugetopt + +HAS_CONFIGURE= YES +USE_GMAKE= YES +USE_REINPLACE= yes + +.include <bsd.port.pre.mk> +post-patch: + @${FIND} ${WRKSRC}/src/ -name "*" | ${XARGS} ${REINPLACE_CMD} -e 's,stdint.h,inttypes.h,' +.include <bsd.port.post.mk> diff --git a/chinese/oto/distinfo b/chinese/oto/distinfo new file mode 100644 index 000000000000..a5a1dd46fe70 --- /dev/null +++ b/chinese/oto/distinfo @@ -0,0 +1 @@ +MD5 (oto-0.4.tar.gz) = 66f4cdacd3b235fcbfd718b9184b6870 diff --git a/chinese/oto/files/patch-src::Makefile.in b/chinese/oto/files/patch-src::Makefile.in new file mode 100644 index 000000000000..bc62f9295ed8 --- /dev/null +++ b/chinese/oto/files/patch-src::Makefile.in @@ -0,0 +1,28 @@ +--- src/Makefile.in.orig Sun Dec 15 19:11:54 2002 ++++ src/Makefile.in Sun Dec 15 19:20:48 2002 +@@ -75,14 +75,14 @@ + directory.c name.c cmap.c + + +-oto_LDADD = -lm ++oto_LDADD = -lm -L/usr/local/lib -liconv -lgnugetopt + mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs + CONFIG_HEADER = ../config.h + CONFIG_CLEAN_FILES = + PROGRAMS = $(bin_PROGRAMS) + + +-DEFS = @DEFS@ -I. -I$(srcdir) -I.. ++DEFS = @DEFS@ -I. -I$(srcdir) -I.. -I/usr/local/include + CPPFLAGS = @CPPFLAGS@ + LDFLAGS = @LDFLAGS@ + LIBS = @LIBS@ +@@ -92,7 +92,7 @@ + CFLAGS = @CFLAGS@ + COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + CCLD = $(CC) +-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ ++LINK = $(CCLD) $(DEFS) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ + DATA = $(pkgdata_DATA) + + DIST_COMMON = Makefile.am Makefile.in diff --git a/chinese/oto/pkg-descr b/chinese/oto/pkg-descr new file mode 100644 index 000000000000..7861e40428ef --- /dev/null +++ b/chinese/oto/pkg-descr @@ -0,0 +1,6 @@ +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 diff --git a/chinese/oto/pkg-plist b/chinese/oto/pkg-plist new file mode 100644 index 000000000000..6516b8ffe569 --- /dev/null +++ b/chinese/oto/pkg-plist @@ -0,0 +1,6 @@ +bin/oto +share/oto/GB2312.TXT +share/oto/GB12345.TXT +share/oto/GB12345p.TXT +share/oto/BIG5.TXT +@dirrm share/oto |