summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorgarbled <garbled>1998-11-05 08:28:48 +0000
committergarbled <garbled>1998-11-05 08:28:48 +0000
commit3df4c0335476703fb81859adbb157ba55d37342b (patch)
tree9ed819cbe70ea303ac715838acd373a8ad97124b /textproc
parent118ae68dc8fc70722968987b4fc2bf1e667a7e12 (diff)
downloadpkgsrc-3df4c0335476703fb81859adbb157ba55d37342b.tar.gz
initial import of t1libx-0.8:
an X11 library for generating bitmaps from Adobe Type 1 fonts note: I did not install the python modules that come with this, if someone with python clue wants to make a separate pkg for that, please do.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/t1libx/Makefile38
-rw-r--r--textproc/t1libx/patches/patch-aa23
-rw-r--r--textproc/t1libx/patches/patch-ab32
-rw-r--r--textproc/t1libx/pkg/COMMENT1
-rw-r--r--textproc/t1libx/pkg/DESCR12
-rw-r--r--textproc/t1libx/pkg/PLIST6
6 files changed, 112 insertions, 0 deletions
diff --git a/textproc/t1libx/Makefile b/textproc/t1libx/Makefile
new file mode 100644
index 00000000000..0f431474c39
--- /dev/null
+++ b/textproc/t1libx/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 1998/11/05 08:28:48 garbled Exp $
+#
+
+DISTNAME= t1lib-0.8-beta
+PKGNAME= t1libx-0.8
+CATEGORIES= textproc x11
+MASTER_SITES= #empty
+
+MAINTAINER= root@garbled.net
+HOMEPAGE= http://www.neuroinformatik.ruhr-uni-bochum.de/ini/PEOPLE/rmz/t1lib.html
+
+DEPENDS+= t1lib-0.8:../../textproc/t1lib
+
+WRKSRC= ../../textproc/t1lib/work/T1-0.8-beta
+NO_CHECKSUM= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_X11= yes
+
+do-fetch: #empty
+do-extract:
+ -@${MKDIR} ${WRKDIR}
+ (cd ../../textproc/t1lib && make clean)
+ (cd ../../textproc/t1lib && make patch)
+
+pre-clean:
+ (cd ../../textproc/t1lib && make clean)
+
+do-clean:
+ -@${RM} -r ${WRKDIR}
+
+do-install:
+ (cd ${WRKSRC}/lib && ${GMAKE} install)
+ (cd ${WRKSRC}/xglyph && ${GMAKE} install)
+ ln -s ${LOCALBASE}/share/t1lib ${X11BASE}/share/t1lib
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/t1libx/patches/patch-aa b/textproc/t1libx/patches/patch-aa
new file mode 100644
index 00000000000..b933c4653a0
--- /dev/null
+++ b/textproc/t1libx/patches/patch-aa
@@ -0,0 +1,23 @@
+$NetBSD: patch-aa,v 1.1.1.1 1998/11/05 08:28:48 garbled Exp $
+--- lib/Makefile.in.orig Thu Nov 5 00:59:03 1998
++++ lib/Makefile.in Thu Nov 5 01:00:23 1998
+@@ -251,17 +251,9 @@
+
+ install: dummy
+ $(LIBTOOL) --mode=install \
+- $(INSTALL_DATA) .libs/libt1.a .libs/libt1.so.* $(libdir)
++ $(INSTALL_DATA) .libs/libt1x.a .libs/libt1x.so.* $(libdir)
+ $(LIBTOOL) --mode=install \
+- $(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; \
+- fi;
+-
++ $(INSTALL_DATA) t1libx.h $(includedir)
+
+ uninstall: dummy
+ -$(LIBTOOL) --mode=uninstall $(RM) $(libdir)/libt1.la
diff --git a/textproc/t1libx/patches/patch-ab b/textproc/t1libx/patches/patch-ab
new file mode 100644
index 00000000000..6e72ebb3681
--- /dev/null
+++ b/textproc/t1libx/patches/patch-ab
@@ -0,0 +1,32 @@
+$NetBSD: patch-ab,v 1.1.1.1 1998/11/05 08:28:48 garbled Exp $
+--- xglyph/Makefile.in.orig Sat Aug 15 10:02:40 1998
++++ xglyph/Makefile.in Wed Nov 4 19:37:15 1998
+@@ -15,7 +15,7 @@
+ #
+ # Modified by H.Kakugawa to use libtool
+
+-LIBTOOL = ../libtool
++LIBTOOL = @LIBTOOL@
+ SHELL = /bin/sh
+ CC = @CC@
+ CPP = @CPP@
+@@ -66,8 +66,8 @@
+ SRCS = \
+ xglyph.c \
+
+-T1LIB = ../lib/libt1.la
+-T1LIBX = ../lib/libt1x.la
++T1LIB = -L${LOCALBASE}/lib -lt1
++T1LIBX = ../lib/.libs/libt1x.a
+ XAWLIB = -lXaw -lXt -lXmu
+
+
+@@ -76,7 +76,7 @@
+
+ xglyph: $(OBJS) ../lib/t1lib.h ../lib/t1libx.h
+ $(LIBTOOL) --mode=link \
+- $(CC) -o xglyph $(OBJS) $(T1LIBX) $(T1LIB) \
++ $(CC) -o xglyph $(OBJS) $(LDFLAGS) $(T1LIBX) $(T1LIB) \
+ $(X_LIBS) $(XAWLIB) $(XLIB) $(LDLIBS)
+
+
diff --git a/textproc/t1libx/pkg/COMMENT b/textproc/t1libx/pkg/COMMENT
new file mode 100644
index 00000000000..56732498e98
--- /dev/null
+++ b/textproc/t1libx/pkg/COMMENT
@@ -0,0 +1 @@
+an X11 library for generating bitmaps from Adobe Type 1 fonts
diff --git a/textproc/t1libx/pkg/DESCR b/textproc/t1libx/pkg/DESCR
new file mode 100644
index 00000000000..3f5cb3497aa
--- /dev/null
+++ b/textproc/t1libx/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/t1libx/pkg/PLIST b/textproc/t1libx/pkg/PLIST
new file mode 100644
index 00000000000..2a655bdb107
--- /dev/null
+++ b/textproc/t1libx/pkg/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1998/11/05 08:28:48 garbled Exp $
+lib/libt1x.so.8.0
+lib/libt1x.a
+share/t1lib
+include/t1libx.h
+bin/xglyph