summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fonts/t1lib/DEINSTALL26
-rw-r--r--fonts/t1lib/DESCR12
-rw-r--r--fonts/t1lib/INSTALL36
-rw-r--r--fonts/t1lib/MESSAGE18
-rw-r--r--fonts/t1lib/Makefile43
-rw-r--r--fonts/t1lib/PLIST100
-rw-r--r--fonts/t1lib/buildlink.mk36
-rw-r--r--fonts/t1lib/distinfo5
-rw-r--r--fonts/t1lib/files/t1lib.config.netbsd7
-rw-r--r--fonts/t1lib/patches/patch-ac22
-rw-r--r--fonts/t1utils/DESCR5
-rw-r--r--fonts/t1utils/Makefile15
-rw-r--r--fonts/t1utils/PLIST13
-rw-r--r--fonts/t1utils/distinfo4
-rw-r--r--fonts/type1inst/DESCR7
-rw-r--r--fonts/type1inst/Makefile24
-rw-r--r--fonts/type1inst/PLIST6
-rw-r--r--fonts/type1inst/distinfo4
18 files changed, 383 insertions, 0 deletions
diff --git a/fonts/t1lib/DEINSTALL b/fonts/t1lib/DEINSTALL
new file mode 100644
index 00000000000..c0b3837c1dd
--- /dev/null
+++ b/fonts/t1lib/DEINSTALL
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# $NetBSD: DEINSTALL,v 1.1.1.1 2002/07/19 12:37:41 wiz Exp $
+
+PKGNAME=$1
+STAGE=$2
+
+case ${STAGE} in
+DEINSTALL)
+ ;;
+POST-DEINSTALL)
+ CONFDIR=${PKG_PREFIX}/share/t1lib
+
+ cat << EOF
+===========================================================================
+If you won't be using ${PKGNAME} any longer, you may wish to manually
+remove the ${CONFDIR} directory.
+===========================================================================
+EOF
+ ;;
+*)
+ echo "Unexpected argument: $2"
+ exit 1
+ ;;
+esac
+exit 0
diff --git a/fonts/t1lib/DESCR b/fonts/t1lib/DESCR
new file mode 100644
index 00000000000..3f5cb3497aa
--- /dev/null
+++ b/fonts/t1lib/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/fonts/t1lib/INSTALL b/fonts/t1lib/INSTALL
new file mode 100644
index 00000000000..2cb265287ed
--- /dev/null
+++ b/fonts/t1lib/INSTALL
@@ -0,0 +1,36 @@
+#!/bin/sh
+#
+# $NetBSD: INSTALL,v 1.1.1.1 2002/07/19 12:37:41 wiz Exp $
+
+PKGNAME=$1
+STAGE=$2
+
+case ${STAGE} in
+PRE-INSTALL)
+ ;;
+POST-INSTALL)
+ CONFDIR=${PKG_PREFIX}/share/t1lib
+
+ echo "Installing configuration files:"
+ if [ ! -f ${CONFDIR}/t1lib.config ]
+ then
+ echo " t1lib.config"
+ cp ${PKG_PREFIX}/share/examples/t1lib/t1lib.config.netbsd \
+ ${CONFDIR}/t1lib.config
+ chmod 644 ${CONFDIR}/t1lib.config
+ fi
+ if [ ! -f ${CONFDIR}/FontDataBase ]
+ then
+ echo " FontDataBase"
+ cp ${PKG_PREFIX}/share/examples/t1lib/FontDataBase \
+ ${CONFDIR}/FontDataBase
+ chmod 644 ${CONFDIR}/FontDataBase
+ fi
+ echo "done."
+ ;;
+*)
+ echo "Unexpected argument: $2"
+ exit 1
+ ;;
+esac
+exit 0
diff --git a/fonts/t1lib/MESSAGE b/fonts/t1lib/MESSAGE
new file mode 100644
index 00000000000..3cc2f8a1309
--- /dev/null
+++ b/fonts/t1lib/MESSAGE
@@ -0,0 +1,18 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2002/07/19 12:37:41 wiz Exp $
+
+Sample configs tailored for NetBSD may have been copied to
+${PREFIX}/share/t1lib, but no existing files were overwritten.
+More samples may be found in ${PREFIX}/share/examples/t1lib.
+
+Most programs that use the lib will look first in the directory
+specified by the environment variable T1LIB_CONFIG_DIR, and then
+${PREFIX}/share/t1lib. However, you *must* set T1LIB_CONFIG_DIR
+to run the "xglyph" test X client. E.g, for Bourne shells:
+ ``T1LIB_CONFIG_DIR=${PREFIX}/share/t1lib xglyph &''
+
+The complete documentation requires LaTeX to build. If you have
+the print/teTeX package (or some other "tex"),
+``cd ${PREFIX}/share/doc/t1lib; make'' to build t1lib_doc.dvi.
+
+===========================================================================
diff --git a/fonts/t1lib/Makefile b/fonts/t1lib/Makefile
new file mode 100644
index 00000000000..312d7566d69
--- /dev/null
+++ b/fonts/t1lib/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/07/19 12:37:41 wiz Exp $
+#
+
+DISTNAME= t1lib-1.1.1
+WRKSRC= ${WRKDIR}/T1-1.1.1
+CATEGORIES= fonts devel graphics
+MASTER_SITES= ${MASTER_SITE_SUNSITE:=libs/graphics/} \
+ ftp://ftp.neuroinformatik.ruhr-uni-bochum.de/pub/software/t1lib/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.neuroinformatik.ruhr-uni-bochum.de/ini/PEOPLE/rmz/t1lib/t1lib.html
+COMMENT= Library for generating bitmaps from Adobe Type 1 fonts
+
+USE_BUILDLINK_ONLY= # defined
+GNU_CONFIGURE= # defined
+USE_GMAKE= # defined
+USE_X11BASE= # defined
+USE_LIBTOOL= # defined
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+ALL_TARGET= without_doc
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/t1lib
+ cd ${WRKSRC}; \
+ ${PAX} -rw Fonts ${PREFIX}/share/t1lib; \
+ ${CHMOD} go+r ${PREFIX}/share/t1lib/Fonts/enc/IsoLatin2.enc; \
+ ${PAX} -rw -s "/doc/t1lib/" doc ${PREFIX}/share/doc
+
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/t1lib
+ cd ${WRKSRC}/examples; \
+ ${PAX} -rw FontDataBase t1example1.c t1lib.config \
+ ${PREFIX}/share/examples/t1lib
+ ${SED} -e 's|@@X11BASE@@|${X11BASE}|g' \
+ -e 's|@@LOCALBASE@@|${LOCALBASE}|g' \
+ -e 's|@@PREFIX@@|${PREFIX}|g' \
+ < ${FILESDIR}/t1lib.config.netbsd \
+ > ${PREFIX}/share/examples/t1lib/t1lib.config.netbsd
+
+ PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
+
+.include "../../mk/x11.buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/fonts/t1lib/PLIST b/fonts/t1lib/PLIST
new file mode 100644
index 00000000000..1b374daeab4
--- /dev/null
+++ b/fonts/t1lib/PLIST
@@ -0,0 +1,100 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/07/19 12:37:41 wiz Exp $
+bin/type1afm
+bin/xglyph
+include/t1lib.h
+include/t1libx.h
+lib/libt1.a
+lib/libt1.la
+lib/libt1.so
+lib/libt1.so.2
+lib/libt1.so.2.1
+lib/libt1x.a
+lib/libt1x.la
+lib/libt1x.so
+lib/libt1x.so.2
+lib/libt1x.so.2.1
+share/doc/t1lib/Makefile.in
+share/doc/t1lib/Tee.eps
+share/doc/t1lib/Tee.pdf
+share/doc/t1lib/arbitrary.eps
+share/doc/t1lib/arbitrary.pdf
+share/doc/t1lib/concatglyphs.eps
+share/doc/t1lib/concatglyphs.pdf
+share/doc/t1lib/concatoutlines.eps
+share/doc/t1lib/concatoutlines.pdf
+share/doc/t1lib/extenth.eps
+share/doc/t1lib/extenth.pdf
+share/doc/t1lib/extentv.eps
+share/doc/t1lib/extentv.pdf
+share/doc/t1lib/getstart.tex
+share/doc/t1lib/internals.tex
+share/doc/t1lib/intro.tex
+share/doc/t1lib/manipulate.eps
+share/doc/t1lib/manipulate.pdf
+share/doc/t1lib/mirrorh.eps
+share/doc/t1lib/mirrorh.pdf
+share/doc/t1lib/mirrorv.eps
+share/doc/t1lib/mirrorv.pdf
+share/doc/t1lib/outlineproblems1.eps
+share/doc/t1lib/outlineproblems1.pdf
+share/doc/t1lib/outlineproblems2.eps
+share/doc/t1lib/outlineproblems2.pdf
+share/doc/t1lib/outlineproblems3.eps
+share/doc/t1lib/outlineproblems3.pdf
+share/doc/t1lib/outlineproblems4.eps
+share/doc/t1lib/outlineproblems4.pdf
+share/doc/t1lib/outlineproblems5.eps
+share/doc/t1lib/outlineproblems5.pdf
+share/doc/t1lib/outlines.eps
+share/doc/t1lib/outlines.fig
+share/doc/t1lib/outlines.pdf
+share/doc/t1lib/rotate.eps
+share/doc/t1lib/rotate.pdf
+share/doc/t1lib/shearh.eps
+share/doc/t1lib/shearh.pdf
+share/doc/t1lib/shearv.eps
+share/doc/t1lib/shearv.pdf
+share/doc/t1lib/t1_data.eps
+share/doc/t1lib/t1_data.fig
+share/doc/t1lib/t1_data.pdf
+share/doc/t1lib/t1lib_doc.out
+share/doc/t1lib/t1lib_doc.pdf
+share/doc/t1lib/t1lib_doc.tex
+share/doc/t1lib/type1afm.tex
+share/doc/t1lib/ut1lib.tex
+share/doc/t1lib/xglyph.tex
+share/doc/t1lib/xinterface.tex
+share/examples/t1lib/FontDataBase
+share/examples/t1lib/t1example1.c
+share/examples/t1lib/t1lib.config
+share/examples/t1lib/t1lib.config.netbsd
+share/t1lib/Fonts/afm/README
+share/t1lib/Fonts/afm/bchb.afm
+share/t1lib/Fonts/afm/bchbi.afm
+share/t1lib/Fonts/afm/bchr.afm
+share/t1lib/Fonts/afm/bchri.afm
+share/t1lib/Fonts/afm/dcbx10.afm
+share/t1lib/Fonts/afm/dcbxti10.afm
+share/t1lib/Fonts/afm/dcr10.afm
+share/t1lib/Fonts/afm/dcti10.afm
+share/t1lib/Fonts/afm/eufm10.afm
+share/t1lib/Fonts/enc/IsoLatin1.enc
+share/t1lib/Fonts/enc/IsoLatin2.enc
+share/t1lib/Fonts/enc/PSLatin1.enc
+share/t1lib/Fonts/type1/README
+share/t1lib/Fonts/type1/bchb.pfb
+share/t1lib/Fonts/type1/bchbi.pfb
+share/t1lib/Fonts/type1/bchr.pfb
+share/t1lib/Fonts/type1/bchri.pfb
+share/t1lib/Fonts/type1/dcbx10.pfb
+share/t1lib/Fonts/type1/dcbxti10.pfb
+share/t1lib/Fonts/type1/dcr10.pfb
+share/t1lib/Fonts/type1/dcti10.pfb
+share/t1lib/Fonts/type1/eufm10.pfb
+@dirrm share/t1lib/Fonts/type1
+@dirrm share/t1lib/Fonts/enc
+@dirrm share/t1lib/Fonts/afm
+@dirrm share/t1lib/Fonts
+@dirrm share/examples/t1lib
+@comment remove any rendered docs as well
+@unexec ${RM} -rf %D/share/doc/t1lib || true
diff --git a/fonts/t1lib/buildlink.mk b/fonts/t1lib/buildlink.mk
new file mode 100644
index 00000000000..f00b5f6a528
--- /dev/null
+++ b/fonts/t1lib/buildlink.mk
@@ -0,0 +1,36 @@
+# $NetBSD: buildlink.mk,v 1.1.1.1 2002/07/19 12:37:41 wiz Exp $
+#
+# This Makefile fragment is included by packages that use t1lib.
+#
+# To use this Makefile fragment, simply:
+#
+# (1) Optionally define BUILDLINK_DEPENDS.t1lib to the dependency pattern
+# for the version of t1lib desired.
+# (2) Include this Makefile fragment in the package Makefile,
+# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
+# search path, and
+# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
+# path.
+
+.if !defined(T1LIB_BUILDLINK_MK)
+T1LIB_BUILDLINK_MK= # defined
+
+.include "../../mk/bsd.buildlink.mk"
+
+BUILDLINK_DEPENDS.t1lib?= t1lib>=1.1.1
+DEPENDS+= ${BUILDLINK_DEPENDS.t1lib}:../../fonts/t1lib
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.t1lib=t1lib
+BUILDLINK_PREFIX.t1lib_DEFAULT= ${X11PREFIX}
+BUILDLINK_FILES.t1lib= include/t1lib.h
+BUILDLINK_FILES.t1lib+= include/t1libx.h
+BUILDLINK_FILES.t1lib+= lib/libt1.*
+BUILDLINK_FILES.t1lib+= lib/libt1x.*
+
+BUILDLINK_TARGETS.t1lib= t1lib-buildlink
+BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.t1lib}
+
+pre-configure: ${BUILDLINK_TARGETS.t1lib}
+t1lib-buildlink: _BUILDLINK_USE
+
+.endif # T1LIB_BUILDLINK_MK
diff --git a/fonts/t1lib/distinfo b/fonts/t1lib/distinfo
new file mode 100644
index 00000000000..6191518dcec
--- /dev/null
+++ b/fonts/t1lib/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/07/19 12:37:41 wiz Exp $
+
+SHA1 (t1lib-1.1.1.tar.gz) = 5183f718dc0b90ff8c0aee4fbcfdbbc90e5db883
+Size (t1lib-1.1.1.tar.gz) = 1442934 bytes
+SHA1 (patch-ac) = a75f5dc4a4c5d8e564690b774345488383d21580
diff --git a/fonts/t1lib/files/t1lib.config.netbsd b/fonts/t1lib/files/t1lib.config.netbsd
new file mode 100644
index 00000000000..2d8ce37761f
--- /dev/null
+++ b/fonts/t1lib/files/t1lib.config.netbsd
@@ -0,0 +1,7 @@
+$NetBSD: t1lib.config.netbsd,v 1.1.1.1 2002/07/19 12:37:41 wiz Exp $
+This is a configuration file for t1lib
+
+FONTDATABASE=@@PREFIX@@/share/t1lib/FontDataBase
+ENCODING=@@PREFIX@@/share/t1lib/Fonts/enc
+AFM=@@PREFIX@@/share/t1lib/Fonts/afm:@@LOCALBASE@@/share/ghostscript/fonts
+TYPE1=@@PREFIX@@/share/t1lib/Fonts/type1:/usr/share/groff_font/devps:@@LOCALBASE@@/share/ghostscript/fonts
diff --git a/fonts/t1lib/patches/patch-ac b/fonts/t1lib/patches/patch-ac
new file mode 100644
index 00000000000..4f771091e4c
--- /dev/null
+++ b/fonts/t1lib/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/07/19 12:37:41 wiz Exp $
+
+--- lib/Makefile.in.orig Mon Jan 15 17:34:40 2001
++++ lib/Makefile.in
+@@ -161,17 +161,10 @@
+ install: dummy
+ $(MKINSTALLDIRS) $(libdir)
+ $(MKINSTALLDIRS) $(includedir)
+- $(MKINSTALLDIRS) @T1LIB_DATA_DIR@
+ $(LIBTOOL) --mode=install \
+ $(INSTALL_DATA) $(MAIN_TARGET) $(libdir)
+ $(LIBTOOL) --mode=install \
+ $(INSTALL_DATA) $(MAIN_HEADER) $(includedir)
+- if (test -f @T1LIB_DATA_DIR@/t1lib.config) \
+- then \
+- echo "Alert: Global configuration file exists, installation skipped!"; \
+- else \
+- $(LIBTOOL) --mode=install $(INSTALL_DATA) t1lib.config @T1LIB_DATA_DIR@; \
+- fi;
+
+
+ uninstall: dummy
diff --git a/fonts/t1utils/DESCR b/fonts/t1utils/DESCR
new file mode 100644
index 00000000000..9680c8027ee
--- /dev/null
+++ b/fonts/t1utils/DESCR
@@ -0,0 +1,5 @@
+Utilities for working with Postscript Type 1 font files. In
+particular, this package includes programs for changing font files
+between ASCII and binary formats, and a "human readable" format,
+and it also includes a program for extracting the useful information
+from the "resource fork" of MacOS files.
diff --git a/fonts/t1utils/Makefile b/fonts/t1utils/Makefile
new file mode 100644
index 00000000000..d6dcd897904
--- /dev/null
+++ b/fonts/t1utils/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/07/19 12:37:41 wiz Exp $
+#
+
+DISTNAME= t1utils-1.23
+CATEGORIES= fonts converters
+MASTER_SITES= http://www.lcdf.org/~eddietwo/type/
+
+MAINTAINER= jonb@netbsd.org
+HOMEPAGE= http://www.lcdf.org/~eddietwo/type/
+COMMENT= Utility programs for dealing with Postscript Type 1 font files
+
+GNU_CONFIGURE= YES
+USE_BUILDLINK_ONLY= YES
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/fonts/t1utils/PLIST b/fonts/t1utils/PLIST
new file mode 100644
index 00000000000..bd458ef140b
--- /dev/null
+++ b/fonts/t1utils/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/07/19 12:37:41 wiz Exp $
+bin/t1ascii
+bin/t1asm
+bin/t1binary
+bin/t1disasm
+bin/t1mac
+bin/t1unmac
+man/man1/t1ascii.1
+man/man1/t1asm.1
+man/man1/t1binary.1
+man/man1/t1disasm.1
+man/man1/t1mac.1
+man/man1/t1unmac.1
diff --git a/fonts/t1utils/distinfo b/fonts/t1utils/distinfo
new file mode 100644
index 00000000000..01f7d03debe
--- /dev/null
+++ b/fonts/t1utils/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/07/19 12:37:41 wiz Exp $
+
+SHA1 (t1utils-1.23.tar.gz) = b9b44b6b76494c6b7444af0341d338f1bc6eaa7f
+Size (t1utils-1.23.tar.gz) = 72306 bytes
diff --git a/fonts/type1inst/DESCR b/fonts/type1inst/DESCR
new file mode 100644
index 00000000000..559e7e75f78
--- /dev/null
+++ b/fonts/type1inst/DESCR
@@ -0,0 +1,7 @@
+type1inst is a small perl script which generates the "fonts.scale"
+file required by an X11 server to use any Type 1 PostScript fonts
+which exist in a particular directory. It gathers this informatiom
+from the font files themselves, a task which previously was done
+by hand. The script is also capable of generating the similar
+"Fontmap" file used by ghostscript. It can also generate sample
+sheets for the fonts.
diff --git a/fonts/type1inst/Makefile b/fonts/type1inst/Makefile
new file mode 100644
index 00000000000..1abe2233acd
--- /dev/null
+++ b/fonts/type1inst/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/07/19 12:37:41 wiz Exp $
+#
+
+DISTNAME= type1inst-0.6.1
+CATEGORIES= fonts
+MASTER_SITES= ${MASTER_SITE_SUNSITE:=X11/xutils/}
+
+MAINTAINER= groo@netbsd.org
+COMMENT= Automatically generate fonts.scale/fonts.dir for Type1 fonts
+
+USE_PERL5= yes
+USE_X11BASE= yes
+REPLACE_PERL= t1embed type1inst
+
+NO_BUILD= yes
+
+do-install:
+ @${INSTALL_SCRIPT} ${WRKSRC}/type1inst ${X11PREFIX}/bin
+ @${INSTALL_SCRIPT} ${WRKSRC}/t1embed ${X11PREFIX}/bin
+ @${INSTALL_MAN} ${WRKSRC}/type1inst.man ${X11PREFIX}/man/man1/type1inst.1
+ @${INSTALL_DATA_DIR} ${X11PREFIX}/share/doc/type1inst
+ @${INSTALL_DATA} ${WRKSRC}/README ${X11PREFIX}/share/doc/type1inst
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/fonts/type1inst/PLIST b/fonts/type1inst/PLIST
new file mode 100644
index 00000000000..82573bd3218
--- /dev/null
+++ b/fonts/type1inst/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/07/19 12:37:41 wiz Exp $
+bin/type1inst
+bin/t1embed
+man/man1/type1inst.1
+share/doc/type1inst/README
+@dirrm share/doc/type1inst
diff --git a/fonts/type1inst/distinfo b/fonts/type1inst/distinfo
new file mode 100644
index 00000000000..bc1d06cb39f
--- /dev/null
+++ b/fonts/type1inst/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/07/19 12:37:41 wiz Exp $
+
+SHA1 (type1inst-0.6.1.tar.gz) = 17a445cfee17ac3c8268666639b3164867ae3dc5
+Size (type1inst-0.6.1.tar.gz) = 27966 bytes