summaryrefslogtreecommitdiff
path: root/graphics/xfig
diff options
context:
space:
mode:
authoritohy <itohy@pkgsrc.org>2000-06-23 00:22:34 +0000
committeritohy <itohy@pkgsrc.org>2000-06-23 00:22:34 +0000
commit865d09f18b63ebc309febcb562117143b059f833 (patch)
tree2c82ea924d8f4f976f0deaccf6e853b327c8f67d /graphics/xfig
parent2fd0ce61d842f9660b36eb4bf0b9daf05dd358f0 (diff)
downloadpkgsrc-865d09f18b63ebc309febcb562117143b059f833.tar.gz
Use ${PREFIX} instead of ${X11BASE} for documents and examples, a la PR #9933.
Diffstat (limited to 'graphics/xfig')
-rw-r--r--graphics/xfig/Makefile16
-rw-r--r--graphics/xfig/files/patch-sum4
-rw-r--r--graphics/xfig/patches/patch-aa6
3 files changed, 14 insertions, 12 deletions
diff --git a/graphics/xfig/Makefile b/graphics/xfig/Makefile
index 6367e4e4ec8..83bc2e267d1 100644
--- a/graphics/xfig/Makefile
+++ b/graphics/xfig/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2000/06/22 08:18:05 itohy Exp $
+# $NetBSD: Makefile,v 1.22 2000/06/23 00:22:34 itohy Exp $
#
DISTNAME= xfig.3.2.3a
@@ -28,12 +28,14 @@ pre-configure:
${SED} 's/#define.XAW3D/XCOMM &/' Imakefile.bak > Imakefile
.endif
+XFIGEXAMPLES= ${PREFIX}/share/examples/xfig
+
post-install:
- @${MKDIR} ${X11BASE}/share/examples/xfig
- @${CP} ${WRKSRC}/Examples/*.fig ${X11BASE}/share/examples/xfig
- @${CP} ${WRKSRC}/Examples/*.gif ${X11BASE}/share/examples/xfig
- @${CP} ${WRKSRC}/Examples/*.jpg ${X11BASE}/share/examples/xfig
- @${CP} ${WRKSRC}/Examples/*.xbm ${X11BASE}/share/examples/xfig
- @${CP} ${WRKSRC}/Examples/*.xpm ${X11BASE}/share/examples/xfig
+ @${MKDIR} ${XFIGEXAMPLES}
+ @${CP} ${WRKSRC}/Examples/*.fig ${XFIGEXAMPLES}
+ @${CP} ${WRKSRC}/Examples/*.gif ${XFIGEXAMPLES}
+ @${CP} ${WRKSRC}/Examples/*.jpg ${XFIGEXAMPLES}
+ @${CP} ${WRKSRC}/Examples/*.xbm ${XFIGEXAMPLES}
+ @${CP} ${WRKSRC}/Examples/*.xpm ${XFIGEXAMPLES}
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/xfig/files/patch-sum b/graphics/xfig/files/patch-sum
index 2226dcb21c8..abe0a6821bb 100644
--- a/graphics/xfig/files/patch-sum
+++ b/graphics/xfig/files/patch-sum
@@ -1,5 +1,5 @@
-$NetBSD: patch-sum,v 1.2 2000/06/22 08:18:07 itohy Exp $
+$NetBSD: patch-sum,v 1.3 2000/06/23 00:22:35 itohy Exp $
-MD5 (patch-aa) = 623c90aa5c636bdb1d23efaf165163aa
+MD5 (patch-aa) = a639dce50175842177a142315d71585c
MD5 (patch-ab) = 151b97aa994fbe3bbac248e2d279f8c4
MD5 (patch-ac) = 53dbb7dbee82ade07f728095d90b632a
diff --git a/graphics/xfig/patches/patch-aa b/graphics/xfig/patches/patch-aa
index 3b00bb970cc..2dbb4cde14d 100644
--- a/graphics/xfig/patches/patch-aa
+++ b/graphics/xfig/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.5 2000/06/22 08:18:08 itohy Exp $
+$NetBSD: patch-aa,v 1.6 2000/06/23 00:22:35 itohy Exp $
--- Imakefile.orig Fri Jan 14 12:25:09 2000
-+++ Imakefile Thu Jun 22 07:15:59 2000
++++ Imakefile Thu Jun 23 07:28:52 2000
@@ -40,8 +40,8 @@
#ifdef USEJPEG
@@ -60,7 +60,7 @@ $NetBSD: patch-aa,v 1.5 2000/06/22 08:18:08 itohy Exp $
XCOMM use this if you want the multi-key data base file in the standard X11 tree
XFIGLIBDIR = $(LIBDIR)/xfig
-+XFIGDOCDIR = $(X11BASE)/share/doc/xfig
++XFIGDOCDIR = $(PREFIX)/share/doc/xfig
+
XCOMM If your system doesn't have strstr undefine the following definition
XCOMM HAVE_NO_NOSTRSTR = -DNOSTRSTR