summaryrefslogtreecommitdiff
path: root/fonts/oto
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-07-21 19:20:24 +0000
committerwiz <wiz@pkgsrc.org>2002-07-21 19:20:24 +0000
commit45f69f736a8fdc9c3125b486587a633c268a3774 (patch)
tree10d37129c04ce12de5495879157bc4e781c2cf65 /fonts/oto
parent048a5d0a01749c467f6966312ac1198385e480db (diff)
downloadpkgsrc-45f69f736a8fdc9c3125b486587a633c268a3774.tar.gz
Re-import misc/oto as fonts/oto. Suggested by Rui-Xiang Guo.
Diffstat (limited to 'fonts/oto')
-rw-r--r--fonts/oto/DESCR13
-rw-r--r--fonts/oto/Makefile21
-rw-r--r--fonts/oto/PLIST9
-rw-r--r--fonts/oto/distinfo5
-rw-r--r--fonts/oto/patches/patch-aa13
5 files changed, 61 insertions, 0 deletions
diff --git a/fonts/oto/DESCR b/fonts/oto/DESCR
new file mode 100644
index 00000000000..d6c41f43bfb
--- /dev/null
+++ b/fonts/oto/DESCR
@@ -0,0 +1,13 @@
+The Open Type Organizer project provides programs to list and modify
+the 'name' and 'cmap' tables of OpenType font files. It can be used to
+translate the 'name' and 'cmap' of an OpenType font in locale encodings
+to Unicode encodings, so the font file can be used in an environment
+which does not understand locale encodings. The translated tables are
+added to the font while keeping the original tables intact.
+
+Have a True Type font which is not recognized by X Window system?
+Chances are, the font is listed/indexed in an encoding other than
+Unicode! Open Type Organizer (oTo) will help to solve the problem.
+It will list font file organization and even add Unicode 'name' and
+'cmap' tables by translating the original ones. Your favorite ttf
+font can really work for you now.
diff --git a/fonts/oto/Makefile b/fonts/oto/Makefile
new file mode 100644
index 00000000000..a05938f0f42
--- /dev/null
+++ b/fonts/oto/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/07/21 19:20:24 wiz Exp $
+#
+
+DISTNAME= oto-0.4
+CATEGORIES= fonts
+MASTER_SITES= ftp://ftp.sourceforge.net/pub/sourceforge/oto/
+
+MAINTAINER= rxg@netbsd.org
+HOMEPAGE= http://sourceforge.net/projects/oto/
+COMMENT= list and modify OpenType font files
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/oto
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/oto
+
+.include "../../converters/libiconv/buildlink.mk"
+.include "../../devel/libgetopt/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/fonts/oto/PLIST b/fonts/oto/PLIST
new file mode 100644
index 00000000000..00f862d631a
--- /dev/null
+++ b/fonts/oto/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/07/21 19:20:24 wiz Exp $
+bin/oto
+share/doc/oto/README
+share/oto/BIG5.TXT
+share/oto/GB12345.TXT
+share/oto/GB12345p.TXT
+share/oto/GB2312.TXT
+@dirrm share/oto
+@dirrm share/doc/oto
diff --git a/fonts/oto/distinfo b/fonts/oto/distinfo
new file mode 100644
index 00000000000..a5fe81c1ce5
--- /dev/null
+++ b/fonts/oto/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/07/21 19:20:24 wiz Exp $
+
+SHA1 (oto-0.4.tar.gz) = 9a467e864d4945f8a47125cc41a4723a973d93d3
+Size (oto-0.4.tar.gz) = 264000 bytes
+SHA1 (patch-aa) = a7ea2508f7d6d57a892c1f8b3f89bfdf464abd6c
diff --git a/fonts/oto/patches/patch-aa b/fonts/oto/patches/patch-aa
new file mode 100644
index 00000000000..5e883e9440e
--- /dev/null
+++ b/fonts/oto/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/07/21 19:20:24 wiz Exp $
+
+--- src/Makefile.in.orig Fri Sep 14 00:20:02 2001
++++ src/Makefile.in
+@@ -81,7 +81,7 @@
+ DEFS = @DEFS@ -I. -I$(srcdir) -I..
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-LIBS = @LIBS@
++LIBS = @LIBS@ -liconv $(LIBGETOPT)
+ oto_OBJECTS = main.o misc.o u2c.o directory.o name.o cmap.o
+ oto_DEPENDENCIES =
+ oto_LDFLAGS =