summaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorben <ben>2004-08-16 02:47:49 +0000
committerben <ben>2004-08-16 02:47:49 +0000
commitc2b4a62461f19fb72003f02b654050a91983b422 (patch)
tree05b7a92899d46e3fc759e39cfd5caa3e3b49f612 /biology
parent5f45a1245a17c1f269c85818423f15d5d15c2767 (diff)
downloadpkgsrc-c2b4a62461f19fb72003f02b654050a91983b422.tar.gz
Make hmmer honor $MKDIR for cross-platform install.
Addresses pr#26650 from Georg Schwarz.
Diffstat (limited to 'biology')
-rw-r--r--biology/hmmer/Makefile4
-rw-r--r--biology/hmmer/distinfo4
-rw-r--r--biology/hmmer/patches/patch-aa46
3 files changed, 44 insertions, 10 deletions
diff --git a/biology/hmmer/Makefile b/biology/hmmer/Makefile
index 4ce47591ac9..0205a9f3e31 100644
--- a/biology/hmmer/Makefile
+++ b/biology/hmmer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/04/11 04:06:09 snj Exp $
+# $NetBSD: Makefile,v 1.5 2004/08/16 02:47:49 ben Exp $
#
DISTNAME= hmmer-2.3.1
@@ -13,4 +13,6 @@ WRKSRC= ${WRKDIR}/hmmer-2.3.1
USE_BUILDLINK3= yes
GNU_CONFIGURE= yes
+MAKE_FLAGS+= MKDIR="${MKDIR}"
+
.include "../../mk/bsd.pkg.mk"
diff --git a/biology/hmmer/distinfo b/biology/hmmer/distinfo
index 81045d8f3ec..bba9ffc1f86 100644
--- a/biology/hmmer/distinfo
+++ b/biology/hmmer/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/09/26 03:52:47 jschauma Exp $
+$NetBSD: distinfo,v 1.2 2004/08/16 02:47:49 ben Exp $
SHA1 (hmmer-2.3.1.tar.gz) = bf6a3ec56c24332d7e66d6ce8865de1d72dce01f
Size (hmmer-2.3.1.tar.gz) = 1023122 bytes
-SHA1 (patch-aa) = c5aa41137bb339a584948b6dc88317c98b4ff6fd
+SHA1 (patch-aa) = b9b340a6ad48017100196ed78c7deb7374e39ea5
diff --git a/biology/hmmer/patches/patch-aa b/biology/hmmer/patches/patch-aa
index 08716d03d06..b8f3bc8340b 100644
--- a/biology/hmmer/patches/patch-aa
+++ b/biology/hmmer/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/09/26 03:52:47 jschauma Exp $
+$NetBSD: patch-aa,v 1.2 2004/08/16 02:47:49 ben Exp $
---- Makefile.in.orig 2003-06-13 17:05:13.000000000 -0400
-+++ Makefile.in 2003-09-25 23:47:27.000000000 -0400
-@@ -30,11 +30,12 @@
+--- Makefile.in.orig Fri Jun 13 14:05:13 2003
++++ Makefile.in
+@@ -30,11 +30,12 @@ prefix = @prefix@
exec_prefix = @exec_prefix@
BINDIR = @bindir@
MANDIR = @mandir@
@@ -16,12 +16,44 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/09/26 03:52:47 jschauma Exp $
MANSUFFIX = 1
# your compiler and compiler flags
-@@ -112,7 +113,7 @@
- mkdir -p ${BINDIR}
- -mkdir -p ${MANDIR}/man${MANSUFFIX}
+@@ -109,10 +110,10 @@ 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} -p ${BINDIR}
++ -${MKDIR} -p ${MANDIR}/man${MANSUFFIX}
for file in $(PROGS) $(PVMPROGS); do\
- cp src/$$file $(BINDIR)/;\
+ $(INSTBIN) src/$$file $(BINDIR)/;\
done
-for file in hmmer $(PROGS); do\
$(INSTMAN) documentation/man/$$file.man $(MANDIR)/man$(MANSUFFIX)/$$file.$(MANSUFFIX);\
+@@ -133,7 +134,7 @@ uninstall:
+ # subdir, remove everything but binaries and Makefiles.
+ #
+ bindist:
+- mkdir binaries
++ ${MKDIR} binaries
+ for prog in $(PROGS); do\
+ (cd binaries; ln -s ../src/$$prog .);\
+ done
+@@ -205,7 +206,7 @@ dist:
+ # in testsuite.
+ #
+ cp ssdk/sqc ${BASENAME}-${RELEASE}/testsuite/
+- mkdir ${BASENAME}-${RELEASE}/ssdk
++ ${MKDIR} ${BASENAME}-${RELEASE}/ssdk
+ cp ssdk/rmanprocess.pl ${BASENAME}-${RELEASE}/ssdk/
+ #
+ # Make the configure scripts from configure.ac
+@@ -293,7 +294,7 @@ dist:
+ # directory.
+ #
+ ftpdist:
+- mkdir -p ${FTPDIR}
++ ${MKDIR} -p ${FTPDIR}
+ cp -f hmmer-$(RELEASE)/00README ${FTPDIR}
+ cp -f hmmer-$(RELEASE)/COPYRIGHT ${FTPDIR}
+ cp -f hmmer-$(RELEASE)/INSTALL ${FTPDIR}