summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorgarbled <garbled>1998-11-05 08:26:03 +0000
committergarbled <garbled>1998-11-05 08:26:03 +0000
commit1d212e6be8c8d54ddcf6c1ce27adf92880552b49 (patch)
treed38ae8b51fc7bcc16400ae1e21c6446325e3b2a2 /textproc
parentcd28ca75c19c9a9ed176153ba25add86354333f7 (diff)
downloadpkgsrc-1d212e6be8c8d54ddcf6c1ce27adf92880552b49.tar.gz
Initial import of t1lib-0.8:
a library for generating bitmaps from Adobe Type 1 fonts
Diffstat (limited to 'textproc')
-rw-r--r--textproc/t1lib/Makefile29
-rw-r--r--textproc/t1lib/files/md53
-rw-r--r--textproc/t1lib/patches/patch-aa30
-rw-r--r--textproc/t1lib/patches/patch-ab12
-rw-r--r--textproc/t1lib/patches/patch-ac33
-rw-r--r--textproc/t1lib/patches/patch-ad12
-rw-r--r--textproc/t1lib/patches/patch-ae12
-rw-r--r--textproc/t1lib/patches/patch-af12
-rw-r--r--textproc/t1lib/patches/patch-ag17
-rw-r--r--textproc/t1lib/pkg/COMMENT1
-rw-r--r--textproc/t1lib/pkg/DESCR12
-rw-r--r--textproc/t1lib/pkg/MESSAGE2
-rw-r--r--textproc/t1lib/pkg/PLIST16
13 files changed, 191 insertions, 0 deletions
diff --git a/textproc/t1lib/Makefile b/textproc/t1lib/Makefile
new file mode 100644
index 00000000000..b0f5eb9bc3d
--- /dev/null
+++ b/textproc/t1lib/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 1998/11/05 08:26:03 garbled Exp $
+#
+
+DISTNAME= t1lib-0.8-beta
+PKGNAME= t1lib-0.8
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= libs/graphics/
+
+MAINTAINER= root@garbled.net
+HOMEPAGE= http://www.neuroinformatik.ruhr-uni-bochum.de/ini/PEOPLE/rmz/t1lib.html
+
+BUILD_DEPENDS= latex:../../print/teTeX
+
+WRKSRC= ${WRKDIR}/T1-0.8-beta
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+CONFIGURE_ARGS= --without-x
+
+post-install:
+ ${MKDIR} ${LOCALBASE}/share/examples/t1lib
+ ${CP} ${WRKSRC}/examples/Makefile ${LOCALBASE}/share/examples/t1lib
+ ${CP} ${WRKSRC}/examples/t1example1.c ${LOCALBASE}/share/examples/t1lib
+ ${CP} ${WRKSRC}/examples/t1lib.config ${LOCALBASE}/share/examples/t1lib
+ ${CP} ${WRKSRC}/examples/README.t1example1 ${LOCALBASE}/share/examples/t1lib
+ ${CP} ${WRKSRC}/examples/FontDataBase ${LOCALBASE}/share/examples/t1lib
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/t1lib/files/md5 b/textproc/t1lib/files/md5
new file mode 100644
index 00000000000..e233eebea7b
--- /dev/null
+++ b/textproc/t1lib/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1998/11/05 08:26:03 garbled Exp $
+
+MD5 (t1lib-0.8-beta.tar.gz) = 3b9d03fb3178af3c2029036216e5a49b
diff --git a/textproc/t1lib/patches/patch-aa b/textproc/t1lib/patches/patch-aa
new file mode 100644
index 00000000000..dcd7305440a
--- /dev/null
+++ b/textproc/t1lib/patches/patch-aa
@@ -0,0 +1,30 @@
+$NetBSD: patch-aa,v 1.1.1.1 1998/11/05 08:26:03 garbled Exp $
+--- configure.orig Fri Oct 16 08:48:40 1998
++++ configure Thu Nov 5 00:55:49 1998
+@@ -634,7 +634,7 @@
+ test -z "$CFLAGS"
+ test -z "$LDFLAGS"
+
+-T1LIB_DATA_DIR="${datadir}/t1lib-${T1LIB_VERSION}.${T1LIB_REVISION}"
++T1LIB_DATA_DIR="${datadir}/t1lib"
+
+
+
+@@ -2205,7 +2205,7 @@
+ fi
+
+ # Always use our own libtool.
+-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
++#LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+
+ # Check for any special flags to pass to ltconfig.
+ libtool_flags=
+@@ -2308,7 +2308,7 @@
+ # It thinks the first close brace ends the variable substitution.
+ test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+
+-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
++test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -c -m 644'
+
+
+
diff --git a/textproc/t1lib/patches/patch-ab b/textproc/t1lib/patches/patch-ab
new file mode 100644
index 00000000000..ff82fd52247
--- /dev/null
+++ b/textproc/t1lib/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 1998/11/05 08:26:03 garbled Exp $
+--- examples/Makefile.in.orig Wed Nov 4 16:20:20 1998
++++ examples/Makefile.in Wed Nov 4 16:20:54 1998
+@@ -15,7 +15,7 @@
+ #
+
+
+-LIBTOOL = ../libtool
++LIBTOOL = @LIBTOOL@
+ SHELL = /bin/sh
+ CC = @CC@
+ CPP = @CPP@
diff --git a/textproc/t1lib/patches/patch-ac b/textproc/t1lib/patches/patch-ac
new file mode 100644
index 00000000000..b06d455f549
--- /dev/null
+++ b/textproc/t1lib/patches/patch-ac
@@ -0,0 +1,33 @@
+$NetBSD: patch-ac,v 1.1.1.1 1998/11/05 08:26:03 garbled Exp $
+--- lib/Makefile.in.orig Sun Aug 30 08:01:22 1998
++++ lib/Makefile.in Thu Nov 5 00:48:07 1998
+@@ -15,7 +15,7 @@
+ #
+ # Modified by H.Kakugawa to use libtool
+
+-LIBTOOL = ../libtool
++LIBTOOL = @LIBTOOL@
+ SHELL = /bin/sh
+ CC = @CC@
+ CPP = @CPP@
+@@ -251,15 +251,15 @@
+
+ install: dummy
+ $(LIBTOOL) --mode=install \
+- $(INSTALL_DATA) libt1.la libt1x.la $(libdir)
++ $(INSTALL_DATA) .libs/libt1.a .libs/libt1.so.* $(libdir)
+ $(LIBTOOL) --mode=install \
+- $(INSTALL_DATA) t1lib.h t1libx.h $(includedir)
+- $(MKINSTALLDIRS) $(datadir)/t1lib-$(t1lib_version).$(t1lib_revision)
+- if (test -f $(datadir)/t1lib-$(t1lib_version).$(t1lib_revision)/t1lib.config) \
++ $(INSTALL_DATA) t1lib.h t1lib.h $(includedir)
++ $(MKINSTALLDIRS) $(datadir)/t1lib
++ if (test -f $(datadir)/t1lib/t1lib.config) \
+ then \
+ echo "Alert: Global configuration file exists, installation skipped!"; \
+ else \
+- $(LIBTOOL) --mode=install $(INSTALL_DATA) t1lib.config $(datadir)/t1lib-$(t1lib_version).$(t1lib_revision); \
++ $(LIBTOOL) --mode=install $(INSTALL_DATA) t1lib.config $(datadir)/t1lib; \
+ fi;
+
+
diff --git a/textproc/t1lib/patches/patch-ad b/textproc/t1lib/patches/patch-ad
new file mode 100644
index 00000000000..0a99f5d5006
--- /dev/null
+++ b/textproc/t1lib/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1.1.1 1998/11/05 08:26:03 garbled Exp $
+--- type1afm/Makefile.in.orig Wed Nov 4 16:20:31 1998
++++ type1afm/Makefile.in Wed Nov 4 16:21:22 1998
+@@ -15,7 +15,7 @@
+ #
+ # Modified by H.Kakugawa to use libtool
+
+-LIBTOOL = ../libtool
++LIBTOOL = @LIBTOOL@
+ SHELL = /bin/sh
+ CC = @CC@
+ CPP = @CPP@
diff --git a/textproc/t1lib/patches/patch-ae b/textproc/t1lib/patches/patch-ae
new file mode 100644
index 00000000000..2030b35b83b
--- /dev/null
+++ b/textproc/t1lib/patches/patch-ae
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.1.1.1 1998/11/05 08:26:03 garbled Exp $
+--- lib/t1lib/Makefile.in.orig Wed Nov 4 16:23:04 1998
++++ lib/t1lib/Makefile.in Wed Nov 4 16:23:24 1998
+@@ -14,7 +14,7 @@
+ #
+ # Modified by H.Kakugawa to use libtool
+
+-LIBTOOL = ../../libtool
++LIBTOOL = @LIBTOOL@
+ SHELL = /bin/sh
+ CC = @CC@
+ CPP = @CPP@
diff --git a/textproc/t1lib/patches/patch-af b/textproc/t1lib/patches/patch-af
new file mode 100644
index 00000000000..05376c0a1c8
--- /dev/null
+++ b/textproc/t1lib/patches/patch-af
@@ -0,0 +1,12 @@
+$NetBSD: patch-af,v 1.1.1.1 1998/11/05 08:26:03 garbled Exp $
+--- lib/type1/Makefile.in.orig Wed Nov 4 16:23:58 1998
++++ lib/type1/Makefile.in Wed Nov 4 16:24:14 1998
+@@ -14,7 +14,7 @@
+ #
+ # Modified by H.Kakugawa to use libtool
+
+-LIBTOOL = ../../libtool
++LIBTOOL = @LIBTOOL@
+ SHELL = /bin/sh
+ CC = @CC@
+ CPP = @CPP@
diff --git a/textproc/t1lib/patches/patch-ag b/textproc/t1lib/patches/patch-ag
new file mode 100644
index 00000000000..fa792284172
--- /dev/null
+++ b/textproc/t1lib/patches/patch-ag
@@ -0,0 +1,17 @@
+$NetBSD: patch-ag,v 1.1.1.1 1998/11/05 08:26:03 garbled Exp $
+--- doc/Makefile.in.orig Thu Nov 5 00:43:43 1998
++++ doc/Makefile.in Thu Nov 5 00:45:26 1998
+@@ -77,9 +77,10 @@
+ install: dummy
+ if (test -f t1lib_doc.dvi) \
+ then \
+- $(MKINSTALLDIRS) $(datadir)/t1lib-$(t1lib_version).$(t1lib_revision)/doc; \
+- $(INSTALL_DATA) t1lib_doc.dvi $(datadir)/t1lib-$(t1lib_version).$(t1lib_revision)/doc; \
+- $(INSTALL_DATA) t1_data.eps $(datadir)/t1lib-$(t1lib_version).$(t1lib_revision)/doc; \
++ $(MKINSTALLDIRS) $(datadir)/t1lib; \
++ $(MKINSTALLDIRS) $(datadir)/doc/t1lib; \
++ $(INSTALL_DATA) t1lib_doc.dvi $(datadir)/doc/t1lib; \
++ $(INSTALL_DATA) t1_data.eps $(datadir)/doc/t1lib; \
+ fi;
+
+
diff --git a/textproc/t1lib/pkg/COMMENT b/textproc/t1lib/pkg/COMMENT
new file mode 100644
index 00000000000..f90a517a369
--- /dev/null
+++ b/textproc/t1lib/pkg/COMMENT
@@ -0,0 +1 @@
+a library for generating bitmaps from Adobe Type 1 fonts
diff --git a/textproc/t1lib/pkg/DESCR b/textproc/t1lib/pkg/DESCR
new file mode 100644
index 00000000000..3f5cb3497aa
--- /dev/null
+++ b/textproc/t1lib/pkg/DESCR
@@ -0,0 +1,12 @@
+t1lib is a library written in C which implements functions for generating
+bitmaps from Adobe Type 1 fonts. It uses most internal parts of the Type 1
+rasterizer provided with X11R5 and newer but tries avoid the disadvantages
+known from that rasterizer. Although most people would use the rasterizer
+under X11, having X11 is not necessary at all.
+
+The rasterizer is implemented as a shared or static library to be linked
+to the programs that want to use Type 1 fonts. In addition to this library
+there is a test-program called xglyph which, as the name indicates,
+requires X11. It can be used to show most of the features of the library.
+xglyph can be run out of the box without doing any X11 configuration like
+setting resources.
diff --git a/textproc/t1lib/pkg/MESSAGE b/textproc/t1lib/pkg/MESSAGE
new file mode 100644
index 00000000000..0378b749dea
--- /dev/null
+++ b/textproc/t1lib/pkg/MESSAGE
@@ -0,0 +1,2 @@
+Examples of how to configure and use this package have been installed
+in your share/examples directory, under t1lib.
diff --git a/textproc/t1lib/pkg/PLIST b/textproc/t1lib/pkg/PLIST
new file mode 100644
index 00000000000..095c7f270f5
--- /dev/null
+++ b/textproc/t1lib/pkg/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1998/11/05 08:26:03 garbled Exp $
+bin/type1afm
+share/t1lib/t1lib.config
+share/doc/t1lib/t1lib_doc.dvi
+share/doc/t1lib/t1_data.eps
+share/examples/t1lib/Makefile
+share/examples/t1lib/t1example1.c
+share/examples/t1lib/t1lib.config
+share/examples/t1lib/README.t1example1
+share/examples/t1lib/FontDataBase
+include/t1lib.h
+lib/libt1.a
+lib/libt1.so.8.0
+@dirrm share/doc/t1lib
+@dirrm share/examples/t1lib
+@dirrm share/t1lib