Wed Sep 23 13:34:33 2009 UTC ()
honour PKGMANDIR


(tnn)
diff -r1.5 -r1.6 pkgsrc/biology/gp/distinfo
diff -r1.4 -r1.5 pkgsrc/biology/gp/patches/patch-aa

cvs diff -r1.5 -r1.6 pkgsrc/biology/gp/distinfo (expand / switch to unified diff)

--- pkgsrc/biology/gp/distinfo 2009/07/08 15:14:44 1.5
+++ pkgsrc/biology/gp/distinfo 2009/09/23 13:34:33 1.6
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.5 2009/07/08 15:14:44 joerg Exp $ 1$NetBSD: distinfo,v 1.6 2009/09/23 13:34:33 tnn Exp $
2 2
3SHA1 (gp-0.26.tgz) = 18107463df9bb33d12cc0f0fc6a6f17985492666 3SHA1 (gp-0.26.tgz) = 18107463df9bb33d12cc0f0fc6a6f17985492666
4RMD160 (gp-0.26.tgz) = 2195e47a09444d7454d3f1314f6b128600fc18ed 4RMD160 (gp-0.26.tgz) = 2195e47a09444d7454d3f1314f6b128600fc18ed
5Size (gp-0.26.tgz) = 141159 bytes 5Size (gp-0.26.tgz) = 141159 bytes
6SHA1 (patch-aa) = bea23d059905d70af9f86158f35e3eb1f58dc39e 6SHA1 (patch-aa) = bbffa8d814b2974a762f11fea6aed5487bab2cd4
7SHA1 (patch-ab) = ce6ec76011f18a9a86b8c65ba5541848e298e27a 7SHA1 (patch-ab) = ce6ec76011f18a9a86b8c65ba5541848e298e27a

cvs diff -r1.4 -r1.5 pkgsrc/biology/gp/patches/patch-aa (expand / switch to unified diff)

--- pkgsrc/biology/gp/patches/patch-aa 2009/07/08 15:14:45 1.4
+++ pkgsrc/biology/gp/patches/patch-aa 2009/09/23 13:34:33 1.5
@@ -1,43 +1,46 @@ @@ -1,43 +1,46 @@
1$NetBSD: patch-aa,v 1.4 2009/07/08 15:14:45 joerg Exp $ 1$NetBSD: patch-aa,v 1.5 2009/09/23 13:34:33 tnn Exp $
2 2
3--- Makefile.orig 2001-05-17 21:27:07.000000000 +0200 3--- Makefile.orig 2001-05-17 21:27:07.000000000 +0200
4+++ Makefile 4+++ Makefile
5@@ -5,20 +5,20 @@ 5@@ -5,30 +5,30 @@
6 ###################################################################### 6 ######################################################################
7 # Change the following to suit your needs 7 # Change the following to suit your needs
8  8
9-SHELL=/bin/bash 9-SHELL=/bin/bash
10+SHELL=${SH} 10+SHELL=${SH}
11  11
12 # The directory root of your installation 12 # The directory root of your installation
13 # If you make a personal installation, change it to your home directory 13 # If you make a personal installation, change it to your home directory
14 # Default: /usr 14 # Default: /usr
15 # uncomment the following line to install to the default directories... 15 # uncomment the following line to install to the default directories...
16-TREE=/usr 16-TREE=/usr
17+TREE=${PREFIX} 17+TREE=${PREFIX}
18 # ...or the following line to install into your home directory: 18 # ...or the following line to install into your home directory:
19 # TREE=$(HOME) 19 # TREE=$(HOME)
20  20
21 # if you don't have the gd graphic library installed, you have to comment out or 21 # if you don't have the gd graphic library installed, you have to comment out or
22 # delete the following line. However, gp_map is such a nice program, so you 22 # delete the following line. However, gp_map is such a nice program, so you
23 # better go to www.boutell.com and download the gd library. 23 # better go to www.boutell.com and download the gd library.
24-GDPROGRAMS=gp_map 24-GDPROGRAMS=gp_map
25+# GDPROGRAMS=gp_map 25+# GDPROGRAMS=gp_map
26  26
27 # Directory to install the programs themselves.  27 # Directory to install the programs themselves.
28 # Default: /usr/local/bin 28 # Default: /usr/local/bin
29@@ -28,7 +28,7 @@ BINDIR=$(TREE)/bin 29 BINDIR=$(TREE)/bin
30 MANDIR=$(TREE)/man 30
 31 # directory to install the manual pages
 32-MANDIR=$(TREE)/man
 33+MANDIR=$(TREE)/$(PKGMANDIR)
31  34
32 #directory to install the data directory 35 #directory to install the data directory
33-DATADIR=$(TREE)/lib 36-DATADIR=$(TREE)/lib
34+DATADIR=$(TREE)/share/examples 37+DATADIR=$(TREE)/share/examples
35  38
36 # documentation.  39 # documentation.
37 # If you want to install documents automagically, type: 40 # If you want to install documents automagically, type:
38@@ -67,18 +67,18 @@ clean: 41@@ -67,18 +67,18 @@ clean:
39 -cd src/ ; rm $(PROGRAMS) core 42 -cd src/ ; rm $(PROGRAMS) core
40  43
41 install: all  44 install: all
42- @if [ ! -O "$(BINDIR)" ] ; then \ 45- @if [ ! -O "$(BINDIR)" ] ; then \
43- echo "File $(BINDIR) doesn't belong to you!" ; exit 1 ; fi  46- echo "File $(BINDIR) doesn't belong to you!" ; exit 1 ; fi