pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/biology/hmmer Make hmmer honor $MKDIR for cross-platfo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/05162119ba52
branches:  trunk
changeset: 479511:05162119ba52
user:      ben <ben%pkgsrc.org@localhost>
date:      Mon Aug 16 02:47:49 2004 +0000

description:
Make hmmer honor $MKDIR for cross-platform install.
Addresses pr#26650 from Georg Schwarz.

diffstat:

 biology/hmmer/Makefile         |   4 ++-
 biology/hmmer/distinfo         |   4 +-
 biology/hmmer/patches/patch-aa |  46 +++++++++++++++++++++++++++++++++++------
 3 files changed, 44 insertions(+), 10 deletions(-)

diffs (91 lines):

diff -r d51ce626efb1 -r 05162119ba52 biology/hmmer/Makefile
--- a/biology/hmmer/Makefile    Mon Aug 16 01:56:03 2004 +0000
+++ b/biology/hmmer/Makefile    Mon Aug 16 02:47:49 2004 +0000
@@ -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 @@
 USE_BUILDLINK3=                yes
 GNU_CONFIGURE=         yes
 
+MAKE_FLAGS+=            MKDIR="${MKDIR}"
+
 .include "../../mk/bsd.pkg.mk"
diff -r d51ce626efb1 -r 05162119ba52 biology/hmmer/distinfo
--- a/biology/hmmer/distinfo    Mon Aug 16 01:56:03 2004 +0000
+++ b/biology/hmmer/distinfo    Mon Aug 16 02:47:49 2004 +0000
@@ -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 -r d51ce626efb1 -r 05162119ba52 biology/hmmer/patches/patch-aa
--- a/biology/hmmer/patches/patch-aa    Mon Aug 16 01:56:03 2004 +0000
+++ b/biology/hmmer/patches/patch-aa    Mon Aug 16 02:47:49 2004 +0000
@@ -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 @@
  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}



Home | Main Index | Thread Index | Old Index