summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz>2002-07-19 12:33:21 +0000
committerwiz <wiz>2002-07-19 12:33:21 +0000
commit3f2f1206738d0611f8137c655a74adb23c7833ba (patch)
tree37737d1311ff00fdb40e98720bada7bd8a2c7530
parent324420d0ee4dd7bbf446ab8cac41c585aee082b2 (diff)
downloadpkgsrc-3f2f1206738d0611f8137c655a74adb23c7833ba.tar.gz
Use NO_BUILD instead of an empty do-build target, and use
REPLACE_PERL instead of two patches.
-rw-r--r--x11/type1inst/Makefile13
-rw-r--r--x11/type1inst/distinfo4
-rw-r--r--x11/type1inst/patches/patch-aa10
-rw-r--r--x11/type1inst/patches/patch-ab10
4 files changed, 4 insertions, 33 deletions
diff --git a/x11/type1inst/Makefile b/x11/type1inst/Makefile
index 986fd362dcb..7b0b1739d6f 100644
--- a/x11/type1inst/Makefile
+++ b/x11/type1inst/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2001/02/25 04:18:28 hubertf Exp $
+# $NetBSD: Makefile,v 1.7 2002/07/19 12:33:21 wiz Exp $
#
DISTNAME= type1inst-0.6.1
@@ -10,16 +10,9 @@ COMMENT= Automatically generate fonts.scale/fonts.dir for Type1 fonts
USE_PERL5= yes
USE_X11BASE= yes
+REPLACE_PERL= t1embed type1inst
-post-patch:
- @for patchee in ${WRKSRC}/type1inst ${WRKSRC}/t1embed; do \
- ${MV} -f $$patchee ${WRKSRC}/foo ; \
- ${SED} -e 's@XXXPERLXXX@${PERL5}@g' \
- <${WRKSRC}/foo > $$patchee ; \
- done
- @${RM} -f ${WRKSRC}/foo
-
-do-build:
+NO_BUILD= yes
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/type1inst ${X11PREFIX}/bin
diff --git a/x11/type1inst/distinfo b/x11/type1inst/distinfo
index eab4edd8076..d8b13eced99 100644
--- a/x11/type1inst/distinfo
+++ b/x11/type1inst/distinfo
@@ -1,6 +1,4 @@
-$NetBSD: distinfo,v 1.2 2001/04/19 11:07:46 skrll Exp $
+$NetBSD: distinfo,v 1.3 2002/07/19 12:33:21 wiz Exp $
SHA1 (type1inst-0.6.1.tar.gz) = 17a445cfee17ac3c8268666639b3164867ae3dc5
Size (type1inst-0.6.1.tar.gz) = 27966 bytes
-SHA1 (patch-aa) = 3adaa6167280a4f9fd43a83886f0141996be6a08
-SHA1 (patch-ab) = ea1561db39a02801d3eefe6621da02d548e4c32c
diff --git a/x11/type1inst/patches/patch-aa b/x11/type1inst/patches/patch-aa
deleted file mode 100644
index 876440aeb48..00000000000
--- a/x11/type1inst/patches/patch-aa
+++ /dev/null
@@ -1,10 +0,0 @@
-$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
deleted file mode 100644
index 5bd181caad7..00000000000
--- a/x11/type1inst/patches/patch-ab
+++ /dev/null
@@ -1,10 +0,0 @@
-$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.