summaryrefslogtreecommitdiff
path: root/graphics/xfig/Makefile
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/Makefile
parent2fd0ce61d842f9660b36eb4bf0b9daf05dd358f0 (diff)
downloadpkgsrc-865d09f18b63ebc309febcb562117143b059f833.tar.gz
Use ${PREFIX} instead of ${X11BASE} for documents and examples, a la PR #9933.
Diffstat (limited to 'graphics/xfig/Makefile')
-rw-r--r--graphics/xfig/Makefile16
1 files changed, 9 insertions, 7 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"