summaryrefslogtreecommitdiff
path: root/graphics/yplot/patches/patch-ab
blob: 0d5d1f4999e98ae2dbeb1c977511060695851460 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
$NetBSD: patch-ab,v 1.2 2001/06/20 12:58:56 jtb Exp $

--- Makefile.build.in.orig	Wed Jun 20 03:59:57 2001
+++ Makefile.build.in
@@ -299,19 +299,16 @@
 ##############################################
 
 install: all yplot.i yplotl.i
-	mkdir -p $(ROOT)$(YPLOT_PREFIX)/bin
-	cp yplot yplotl $(ROOT)$(YPLOT_PREFIX)/bin
-	mkdir -p $(ROOT)$(YPLOT_PREFIX)/share/doc/yplot/
-	cp ANNOUNCE CHANGES COPYING DEVICES GOALS INSTALL README yplot.lsm\
-	doc/*.tex doc/*.dvi doc/ytut.ps.gz doc/yplot.doc \
-	doc/demo[1-6].ps \
-	doc/plpoin.ps doc/plsym.ps.??\
+	$(BSD_INSTALL_PROGRAM) yplot yplotl $(ROOT)$(YPLOT_PREFIX)/bin
+	$(BSD_INSTALL_DATA_DIR) $(ROOT)$(YPLOT_PREFIX)/share/doc/yplot/
+	$(BSD_INSTALL_DATA) ANNOUNCE CHANGES COPYING DEVICES GOALS \
+	README doc/*.dvi doc/ytut.ps.gz doc/yplot.doc doc/demo[1-6].ps \
 	$(ROOT)$(YPLOT_PREFIX)/share/doc/yplot/
-	mkdir -p $(ROOT)$(YPLOT_PREFIX)/lib/yplot1.1.0/examples
-	cp doc/*.i doc/test.dat \
-	$(ROOT)$(YPLOT_PREFIX)/lib/yplot1.1.0/examples
-	mkdir -p $(ROOT)$(YORICK_CONTRIB_PREFIX)/contrib
-	cp yplot.i yplotl.i $(ROOT)$(YORICK_CONTRIB_PREFIX)/contrib
+	$(BSD_INSTALL_DATA_DIR) $(ROOT)$(YPLOT_PREFIX)/share/examples/yplot
+	$(BSD_INSTALL_DATA) doc/*.i doc/test.dat \
+	$(ROOT)$(YPLOT_PREFIX)/share/examples/yplot
+	$(BSD_INSTALL_DATA_DIR) $(ROOT)$(YORICK_CONTRIB_PREFIX)/contrib
+	$(BSD_INSTALL_DATA) yplot.i yplotl.i $(ROOT)$(YORICK_CONTRIB_PREFIX)/contrib
 
 ##############################################