summaryrefslogtreecommitdiff
path: root/geography/xrmap-base/patches/patch-aa
blob: 3ef7f4ab28c8c7c4ff49cec5e70a747acca388bb (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
34
35
36
37
38
$NetBSD: patch-aa,v 1.2 2004/09/09 10:26:27 drochner Exp $

--- Imakefile.orig	2003-05-18 20:53:02.000000000 +0200
+++ Imakefile
@@ -1,14 +1,6 @@
-XCOMM Should install to /usr or /usr/local ??
-DESTDIR=/usr
-
-XCOMM Name of man subdirectory of DESTDIR:
-MANDIR=/X11R6/man/man1
-
-XCOMM Name of bin subdirectory of DESTDIR: /X11R6/bin or maybe just  /bin
-BINDIR=/X11R6/bin
 
 XCOMM Name of share subdirectory of DESTDIR:
-SHAREDIR=/share/rmap
+SHAREDIR=${PREFIX}/share/rmap
 
 XCOMM Default external utilities :
 XCOMM PostScript viewer, image viewer, HTML viewer, Print command
@@ -68,7 +60,7 @@ install.man::
 
 all::
 	strip xrmap ; ls -al xrmap
-	cd editkit ; xmkmf ; make
+	cd editkit ; pkgxmkmf ; make
 
 install:: install.man
 	$(MKDIRHIER) $(DESTDIR)$(SHAREDIR)
@@ -88,7 +80,7 @@ install:: install.man
 	      EXAMPLE.rc midi_cfg/README.midi $(DESTDIR)$(SHAREDIR)/doc
 	cd rc ; rm -f *~
 	cp -fR rc $(DESTDIR)$(SHAREDIR)
-	cd editkit ; xmkmf ; make install
+	cd editkit ; pkgxmkmf ; make install
 	cat WARNING
 
 clean::