aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-05-19 17:41:21 +0800
committerkrion <krion@FreeBSD.org>2004-05-19 17:41:21 +0800
commitf2780f91c96675df9f710247fbf2187436118984 (patch)
treec6b50f0ff6428dd5900b7ceff47b52d23d417a1b
parent9e6510b00a932febaf1da007cf2cab48b9d9a7c1 (diff)
downloadfreebsd-ports-graphics-f2780f91c96675df9f710247fbf2187436118984.tar.gz
freebsd-ports-graphics-f2780f91c96675df9f710247fbf2187436118984.tar.zst
freebsd-ports-graphics-f2780f91c96675df9f710247fbf2187436118984.zip
Add libotf 0.9,
The library "libotf" provides the following facilites: o Read Open Type Layout Tables from OTF file. Currently these tables are supported; head, name, cmap, GDEF, GSUB, and GPOS. o Convert a Unicode character sequence to a glyph code sequence by using the above tables. PR: ports/66816 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
-rw-r--r--print/Makefile1
-rw-r--r--print/libotf/Makefile25
-rw-r--r--print/libotf/distinfo2
-rw-r--r--print/libotf/files/patch-ltmain.sh15
-rw-r--r--print/libotf/pkg-descr9
-rw-r--r--print/libotf/pkg-plist9
6 files changed, 61 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index c4146e3db53..8fdc445834e 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -124,6 +124,7 @@
SUBDIR += libgnomecups
SUBDIR += libgnomeprint
SUBDIR += libijs
+ SUBDIR += libotf
SUBDIR += libpaper
SUBDIR += libpdf++
SUBDIR += lilypond
diff --git a/print/libotf/Makefile b/print/libotf/Makefile
new file mode 100644
index 00000000000..a21b12d32c0
--- /dev/null
+++ b/print/libotf/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: libotf
+# Date created: 18 May 2004
+# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libotf
+PORTVERSION= 0.9
+CATEGORIES= print devel
+MASTER_SITES= http://tsukuba.m17n.org/libotf/
+
+MAINTAINER= fuyuki@hadaly.org
+COMMENT= Library for handling OpenType fonts
+
+LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
+
+USE_XLIB= yes
+USE_LIBTOOL_VER= 15
+CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
+MAKE_ARGS= AM_CPPFLAGS="-I${X11BASE}/include"
+INSTALLS_SHLIB= yes
+
+.include <bsd.port.mk>
diff --git a/print/libotf/distinfo b/print/libotf/distinfo
new file mode 100644
index 00000000000..52ecdc085f2
--- /dev/null
+++ b/print/libotf/distinfo
@@ -0,0 +1,2 @@
+MD5 (libotf-0.9.tar.gz) = 09fd82c268718f95cd367c3b6faddfe2
+SIZE (libotf-0.9.tar.gz) = 256323
diff --git a/print/libotf/files/patch-ltmain.sh b/print/libotf/files/patch-ltmain.sh
new file mode 100644
index 00000000000..6b2fa31c20b
--- /dev/null
+++ b/print/libotf/files/patch-ltmain.sh
@@ -0,0 +1,15 @@
+--- ltmain.sh.orig Wed May 19 11:37:50 2004
++++ ltmain.sh Wed May 19 11:38:28 2004
+@@ -4247,10 +4247,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/print/libotf/pkg-descr b/print/libotf/pkg-descr
new file mode 100644
index 00000000000..67bea7194f3
--- /dev/null
+++ b/print/libotf/pkg-descr
@@ -0,0 +1,9 @@
+The library "libotf" provides the following facilites.
+
+ o Read Open Type Layout Tables from OTF file. Currently these
+ tables are supported; head, name, cmap, GDEF, GSUB, and GPOS.
+
+ o Convert a Unicode character sequence to a glyph code sequence by
+ using the above tables.
+
+WWW: http://tsukuba.m17n.org/libotf/
diff --git a/print/libotf/pkg-plist b/print/libotf/pkg-plist
new file mode 100644
index 00000000000..f0944c201e7
--- /dev/null
+++ b/print/libotf/pkg-plist
@@ -0,0 +1,9 @@
+bin/libotf-config
+bin/otfdump
+bin/otflist
+bin/otftobdf
+bin/otfview
+include/otf.h
+lib/libotf.a
+lib/libotf.so
+lib/libotf.so.0