summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 c4146e3db538..8fdc445834e9 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 000000000000..a21b12d32c05
--- /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 000000000000..52ecdc085f23
--- /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 000000000000..6b2fa31c20be
--- /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 000000000000..67bea7194f39
--- /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 000000000000..f0944c201e76
--- /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