First commit - second part

Former-commit-id: 202296404e6a70f8ae96db99faffb456104c57e9
Former-commit-id: 118417735d2055683607df9809c9b721cc1b1bab
This commit is contained in:
2015-10-02 21:12:35 +02:00
parent f44f0d8179
commit d298385685
316 changed files with 122579 additions and 0 deletions

BIN
src/ncbiblast/.DS_Store vendored Normal file

Binary file not shown.

34
src/ncbiblast/Makefile Normal file
View File

@@ -0,0 +1,34 @@
# ---------------------------------------------------------------
# $Id: $
# ---------------------------------------------------------------
# @file: Makefile
# @desc: makefile for package ncbi blast
#
# @history:
# @+ <Gloup> : Sept 15 : Adapted to ORG.Annot
#
# @note: should be processed with gnu compatible make
# @note: helixware_compatible
#
# @end:
# ---------------------------------------------------------------
#
#
# Due to the long compilation time of ncbi blast sources (~1h),
# the default build actually consists in extracting pre-compiled
# binaries.
#
# To revert to full compilation from sources, then change
# the following line
DIRS = binaries
# to
#
# DIRS = src
include ../../config/targets/propagate.targ
include ../../config/targets/help.targ
all::
@echo "+++++++++++ ncbi package ($(DIRS)) done"

15
src/ncbiblast/README.txt Normal file
View File

@@ -0,0 +1,15 @@
Due to the long compilation time of ncbi blast sources (~1h),
the default build actually consists in extracting pre-compiled
binaries.
To revert to full compilation from sources, please edit
the Makefile and change :
DIRS = binaries
to
DIRS = src

View File

@@ -0,0 +1,49 @@
# ---------------------------------------------------------------
# $Id: $
# ---------------------------------------------------------------
# @file: Makefile
# @desc: makefile for package ncbi blast / binaries
#
# @history:
# @+ <Gloup> : Sept 15 : Adapted to ORG.Annot
#
# @note: should be processed with gnu compatible make
# @note: helixware_compatible
#
# @end:
# ---------------------------------------------------------------
#
include ../../../config/auto.conf
PKG = ncbi-blast-2.2.31
PKGTAR = $(PKG).$(PORTNAME).tgz
PKGDIR = bin.$(PORTNAME)
PROGS = blast_formatter makeblastdb \
blastn blastp blastx
BINPATH = $(abspath $(BINDIR))
include $(CFGDIR)targets/empty.targ
include $(CFGDIR)targets/help.targ
.PHONY: extract install
all:: install
extract:
test -d $(PKGDIR) || mkdir $(PKGDIR)
test -d $(PKGDIR)/bin || $(TAR) zxf $(PKGTAR) -C $(PKGDIR) --strip-components 1
install: extract
test -d $(BINDIR) || mkdir $(BINDIR)
cd $(PKGDIR)/bin && \cp -f $(PROGS) $(BINPATH)
clean::
(! test -d $(PKGDIR)) || \rm -r $(PKGDIR)
portclean::
cd $(BINDIR) && \rm -f $(PROGS)

View File

@@ -0,0 +1 @@
0e7930365b9633d9ade6060599cb0f31825e04d8

View File

@@ -0,0 +1 @@
f5be2a5e3aae2d9a175aa804f12db0db035cfda5

View File

@@ -0,0 +1,35 @@
# ---------------------------------------------------------------
# $Id: $
# ---------------------------------------------------------------
# @file: Makefile
# @desc: makefile for package ncbi blast
#
# @history:
# @+ <Gloup> : Sept 15 : Adapted to ORG.Annot
#
# @note: should be processed with gnu compatible make
# @note: helixware_compatible
#
# @end:
# ---------------------------------------------------------------
#
include ../../../config/auto.conf
PKG = ncbi-blast-2.2.31
PKGPATH := build.$(PORTNAME)
# catchup : test and clean rules
# ncbi blast don't know how to do this...
test:: PKGDIR = _sink_
clean:: PKGDIR = _sink_
portclean:: PKGDIR = _sink_
include $(CFGDIR)targets/package.targ
include $(CFGDIR)targets/help.targ
portclean::
(! test -d $(PKGPATH)) || \rm -r $(PKGPATH)

Binary file not shown.