summaryrefslogtreecommitdiff
path: root/x11/type1inst
diff options
context:
space:
mode:
authorgroo <groo>2000-05-25 01:27:28 +0000
committergroo <groo>2000-05-25 01:27:28 +0000
commitf4e35c596540738aeedd1f65cc1f14d5f8833cc3 (patch)
treeae9f3bf9ff028643e53a7868cd666fc3c42ff927 /x11/type1inst
parent8cfa2056e42520951990a254c6909f40f5787d56 (diff)
downloadpkgsrc-f4e35c596540738aeedd1f65cc1f14d5f8833cc3.tar.gz
Add type1inst-0.6.1
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.
Diffstat (limited to 'x11/type1inst')
-rw-r--r--x11/type1inst/Makefile30
-rw-r--r--x11/type1inst/files/md53
-rw-r--r--x11/type1inst/files/patch-sum4
-rw-r--r--x11/type1inst/patches/patch-aa10
-rw-r--r--x11/type1inst/patches/patch-ab10
-rw-r--r--x11/type1inst/pkg/COMMENT1
-rw-r--r--x11/type1inst/pkg/DESCR8
-rw-r--r--x11/type1inst/pkg/MESSAGE1
-rw-r--r--x11/type1inst/pkg/PLIST6
9 files changed, 73 insertions, 0 deletions
diff --git a/x11/type1inst/Makefile b/x11/type1inst/Makefile
new file mode 100644
index 00000000000..a565c558759
--- /dev/null
+++ b/x11/type1inst/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/05/25 01:27:28 groo Exp $
+#
+
+DISTNAME= type1inst-0.6.1
+CATEGORIES= x11
+MASTER_SITES= http://sunsite.unc.edu/pub/Linux/X11/xutils/
+
+MAINTAINER= groo@netbsd.org
+
+USE_PERL5= yes
+USE_X11BASE= yes
+
+post-patch:
+ @for patchee in ${WRKSRC}/type1inst ${WRKSRC}/t1embed; do \
+ ${MV} -f $$patchee ${WRKSRC}/foo ; \
+ ${SED} -e 's@XXXPERLXXX@${LOCALBASE}/bin/perl@g' \
+ <${WRKSRC}/foo > $$patchee ; \
+ done
+ @${RM} -f ${WRKSRC}/foo
+
+do-build:
+
+do-install:
+ @${INSTALL_SCRIPT} ${WRKSRC}/type1inst ${X11BASE}/bin
+ @${INSTALL_SCRIPT} ${WRKSRC}/t1embed ${X11BASE}/bin
+ @${INSTALL_MAN} ${WRKSRC}/type1inst.man ${X11BASE}/man/man1/type1inst.1
+ @${MKDIR} ${X11BASE}/share/doc/type1inst
+ @${INSTALL_DATA} ${WRKSRC}/README ${X11BASE}/share/doc/type1inst
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/type1inst/files/md5 b/x11/type1inst/files/md5
new file mode 100644
index 00000000000..4c0d52fdc5b
--- /dev/null
+++ b/x11/type1inst/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/05/25 01:27:28 groo Exp $
+
+MD5 (type1inst-0.6.1.tar.gz) = 86fd885e9877896c51ae6cbe23d89ccf
diff --git a/x11/type1inst/files/patch-sum b/x11/type1inst/files/patch-sum
new file mode 100644
index 00000000000..1d20f3707cd
--- /dev/null
+++ b/x11/type1inst/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/05/25 01:27:28 groo Exp $
+
+MD5 (patch-aa) = 2001b65319d179fe73ea29551a863200
+MD5 (patch-ab) = 42b2c856baf95afeca2e375d96aa9110
diff --git a/x11/type1inst/patches/patch-aa b/x11/type1inst/patches/patch-aa
new file mode 100644
index 00000000000..876440aeb48
--- /dev/null
+++ b/x11/type1inst/patches/patch-aa
@@ -0,0 +1,10 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/05/25 01:27:28 groo Exp $
+
+--- type1inst.orig Wed May 24 20:29:28 2000
++++ type1inst Wed May 24 20:36:55 2000
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
++#!XXXPERLXXX
+ #
+ # You may need to change the above path.
+ #
diff --git a/x11/type1inst/patches/patch-ab b/x11/type1inst/patches/patch-ab
new file mode 100644
index 00000000000..5bd181caad7
--- /dev/null
+++ b/x11/type1inst/patches/patch-ab
@@ -0,0 +1,10 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/05/25 01:27:28 groo Exp $
+
+--- t1embed.orig Wed May 24 21:03:19 2000
++++ t1embed Wed May 24 21:03:26 2000
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
++#!XXXPERLXXX
+ #
+ # t1embed: Embed Type 1 font in a PostScript file that calls for
+ # non-standard fonts but does not supply them.
diff --git a/x11/type1inst/pkg/COMMENT b/x11/type1inst/pkg/COMMENT
new file mode 100644
index 00000000000..b2939a360d7
--- /dev/null
+++ b/x11/type1inst/pkg/COMMENT
@@ -0,0 +1 @@
+Automatically generate fonts.scale/fonts.dir for Type1 fonts
diff --git a/x11/type1inst/pkg/DESCR b/x11/type1inst/pkg/DESCR
new file mode 100644
index 00000000000..ae9b2b1a5b2
--- /dev/null
+++ b/x11/type1inst/pkg/DESCR
@@ -0,0 +1,8 @@
+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/x11/type1inst/pkg/MESSAGE b/x11/type1inst/pkg/MESSAGE
new file mode 100644
index 00000000000..ec24e66b7ed
--- /dev/null
+++ b/x11/type1inst/pkg/MESSAGE
@@ -0,0 +1 @@
+Additional documentation has been placed in $X11BASE/share/doc/type1inst.
diff --git a/x11/type1inst/pkg/PLIST b/x11/type1inst/pkg/PLIST
new file mode 100644
index 00000000000..a0a6262fa4c
--- /dev/null
+++ b/x11/type1inst/pkg/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/05/25 01:27:29 groo Exp $
+bin/type1inst
+bin/t1embed
+man/man1/type1inst.1
+share/doc/type1inst/README
+@dirrm share/doc/type1inst