summaryrefslogtreecommitdiff
path: root/biology/hmmer
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-08 15:14:44 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-08 15:14:44 +0000
commitf4ab2cdc94436a2fea398d0c2fdd5b0568dc3ce7 (patch)
tree1304ece5f624dc6f49a714c8fd8fb9bbf0bb391d /biology/hmmer
parent1b148d11bfe54450f10a2d9a49461c890c81f28f (diff)
downloadpkgsrc-f4ab2cdc94436a2fea398d0c2fdd5b0568dc3ce7.tar.gz
user-destdir support
Diffstat (limited to 'biology/hmmer')
-rw-r--r--biology/hmmer/Makefile3
-rw-r--r--biology/hmmer/patches/patch-aa20
2 files changed, 14 insertions, 9 deletions
diff --git a/biology/hmmer/Makefile b/biology/hmmer/Makefile
index b64cc6350f0..a02dad9a997 100644
--- a/biology/hmmer/Makefile
+++ b/biology/hmmer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2009/05/16 23:28:13 zafer Exp $
+# $NetBSD: Makefile,v 1.12 2009/07/08 15:20:04 joerg Exp $
#
DISTNAME= hmmer-2.3.2
@@ -10,6 +10,7 @@ HOMEPAGE= http://hmmer.janelia.org/
COMMENT= Implementation of profile HMM software for protein sequence analysis
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
diff --git a/biology/hmmer/patches/patch-aa b/biology/hmmer/patches/patch-aa
index 0077f6cffd5..cd1632b55fe 100644
--- a/biology/hmmer/patches/patch-aa
+++ b/biology/hmmer/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.3 2004/08/23 14:37:04 ben Exp $
+$NetBSD: patch-aa,v 1.4 2009/07/08 15:20:04 joerg Exp $
---- Makefile.in.orig Fri Jun 13 14:05:13 2003
+--- Makefile.in.orig 2003-10-04 21:01:16.000000000 +0200
+++ Makefile.in
@@ -30,11 +30,12 @@ prefix = @prefix@
exec_prefix = @exec_prefix@
@@ -16,20 +16,24 @@ $NetBSD: patch-aa,v 1.3 2004/08/23 14:37:04 ben Exp $
MANSUFFIX = 1
# your compiler and compiler flags
-@@ -109,10 +110,10 @@ src/libhmmer.a:
+@@ -109,13 +110,13 @@ src/libhmmer.a:
# installs man pages in MANDIR/man1/ (e.g. if MANSUFFIX is 1)
# Creates these directories if they don't exist.
install:
- mkdir -p ${BINDIR}
- -mkdir -p ${MANDIR}/man${MANSUFFIX}
-+ ${MKDIR} ${BINDIR}
-+ -${MKDIR} ${MANDIR}/man${MANSUFFIX}
++ ${MKDIR} ${DESTDIR}${BINDIR}
++ -${MKDIR} ${DESTDIR}${MANDIR}/man${MANSUFFIX}
for file in $(PROGS) $(PVMPROGS); do\
- cp src/$$file $(BINDIR)/;\
-+ $(INSTBIN) src/$$file $(BINDIR)/;\
++ $(INSTBIN) src/$$file ${DESTDIR}$(BINDIR)/;\
done
-for file in hmmer $(PROGS); do\
- $(INSTMAN) documentation/man/$$file.man $(MANDIR)/man$(MANSUFFIX)/$$file.$(MANSUFFIX);\
+- $(INSTMAN) documentation/man/$$file.man $(MANDIR)/man$(MANSUFFIX)/$$file.$(MANSUFFIX);\
++ $(INSTMAN) documentation/man/$$file.man ${DESTDIR}$(MANDIR)/man$(MANSUFFIX)/$$file.$(MANSUFFIX);\
+ done
+
+ # uninstall: Reverses the steps of "make install".
@@ -133,7 +134,7 @@ uninstall:
# subdir, remove everything but binaries and Makefiles.
#
@@ -48,7 +52,7 @@ $NetBSD: patch-aa,v 1.3 2004/08/23 14:37:04 ben Exp $
cp ssdk/rmanprocess.pl ${BASENAME}-${RELEASE}/ssdk/
#
# Make the configure scripts from configure.ac
-@@ -293,7 +294,7 @@ dist:
+@@ -288,7 +289,7 @@ dist:
# directory.
#
ftpdist: