aboutsummaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-06-11 09:13:43 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-06-11 09:13:43 +0000
commite6e4d55131930e34d3ccd173221e82e2c897a97c (patch)
treefe8d19e6959ec139835a80d0ec93aaeb72495097 /biology
parent8c5e52b0981f8e9cbda51b499bbbdd62a97cebae (diff)
downloadports-e6e4d55131930e34d3ccd173221e82e2c897a97c.tar.gz
ports-e6e4d55131930e34d3ccd173221e82e2c897a97c.zip
Notes
Diffstat (limited to 'biology')
-rw-r--r--biology/blast/Makefile24
-rw-r--r--biology/blast/distinfo10
-rw-r--r--biology/blast/pkg-plist1
3 files changed, 27 insertions, 8 deletions
diff --git a/biology/blast/Makefile b/biology/blast/Makefile
index 7a46946ff678..7c3e41759d9d 100644
--- a/biology/blast/Makefile
+++ b/biology/blast/Makefile
@@ -8,7 +8,7 @@
PORTNAME= wu-blast
PORTVERSION= 2.0
-PORTREVISION= 20060101
+PORTREVISION= 20060322 # YYYYMMDD
CATEGORIES= biology
MASTER_SITES= #
EXTRACT_SUFX= .tar.Z
@@ -20,8 +20,8 @@ COMMENT= WU BLAST, a software package for sequence similarity searches
# the author, this is not a problem.
IGNOREFILES= ${DISTFILES}
-RESTRICTED= "License does not allow redistribution of binaries. You should first register for the software, which is free for academic use."
-ONLY_FOR_ARCHS= i386
+RESTRICTED= License does not allow redistribution of binaries. You should first register for the software, which is free for academic use.
+ONLY_FOR_ARCHS= i386 amd64
NO_BUILD= yes
DOWNLOAD_URL= http://blast.wustl.edu/licensing
@@ -30,7 +30,7 @@ NO_WRKSUBDIR= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
PORTDOCS= COPYRIGHT FAQ-Indexing.html HISTORY LICENSE Memory.html \
- README.html parameters.html
+ README.html parameters.html tabular.html
BINS= blasta gb2fasta gt2fasta memfile nrdb pam patdb \
pir2fasta sp2fasta xdformat xdget
SCRIPTS= wu-blastall wu-formatdb
@@ -39,14 +39,26 @@ XDFORMAT_LINKS= setdb pressdb
.include <bsd.port.pre.mk>
+.if ${ARCH} == amd64
+.if ${OSVERSION} >= 600000
+DISTNAME= blast${PORTVERSION:S/.0//}.freebsd-6.x-x64
+.elif ${OSVERSION} >= 500001
+DISTNAME= blast${PORTVERSION:S/.0//}.freebsd-5.x-x64
+.else
+IGNORE= There are no WU-BLAST executables for your combination of architecture and FreeBSD version. Consider moving to one of the supported versions for your architecture
+.endif
+.else
.if ${OSVERSION} < 500000
DISTNAME= blast${PORTVERSION:S/.0//}.freebsd-4.x-i686
+.elif ${OSVERSION} >= 50000 && ${OSVERSION} < 600000
+DISTNAME= blast${PORTVERSION:S/.0//}.freebsd-5.x-i686
.else
-DISTNAME= blast${PORTVERSION:S/.0//}.freebsd-i686
+DISTNAME= blast${PORTVERSION:S/.0//}.freebsd-6.x-i686
+.endif
.endif
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
-IGNORE= "You must manually fetch ${PORTNAME}${PORTVERSION:S/.0//} for the FreeBSD platform \(${DISTNAME}${EXTRACT_SUFX}\) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again"
+IGNORE= You must manually fetch ${PORTNAME}${PORTVERSION:S/.0//} for the FreeBSD platform (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
.endif
post-patch:
diff --git a/biology/blast/distinfo b/biology/blast/distinfo
index c601ce49d156..5ebae284ff26 100644
--- a/biology/blast/distinfo
+++ b/biology/blast/distinfo
@@ -1,4 +1,10 @@
MD5 (blast2.freebsd-4.x-i686.tar.Z) = IGNORE
-MD5 (blast2.freebsd-i686.tar.Z) = IGNORE
+MD5 (blast2.freebsd-5.x-i686.tar.Z) = IGNORE
+MD5 (blast2.freebsd-6.x-i686.tar.Z) = IGNORE
+MD5 (blast2.freebsd-5.x-x64.tar.Z) = IGNORE
+MD5 (blast2.freebsd-6.x-x64.tar.Z) = IGNORE
SHA256 (blast2.freebsd-4.x-i686.tar.Z) = IGNORE
-SHA256 (blast2.freebsd-i686.tar.Z) = IGNORE
+SHA256 (blast2.freebsd-5.x-i686.tar.Z) = IGNORE
+SHA256 (blast2.freebsd-6.x-i686.tar.Z) = IGNORE
+SHA256 (blast2.freebsd-5.x-x64.tar.Z) = IGNORE
+SHA256 (blast2.freebsd-6.x-x64.tar.Z) = IGNORE
diff --git a/biology/blast/pkg-plist b/biology/blast/pkg-plist
index 565d88d5f2e8..0933560e1e2e 100644
--- a/biology/blast/pkg-plist
+++ b/biology/blast/pkg-plist
@@ -26,6 +26,7 @@ bin/pressdb
%%PORTDOCS%%%%DOCSDIR%%/README.html
%%PORTDOCS%%%%DOCSDIR%%/parameters.html
%%PORTDOCS%%%%DOCSDIR%%/parameters.pdf
+%%PORTDOCS%%%%DOCSDIR%%/tabular.html
%%DATADIR%%/matrix/aa/nuc.4.4
%%DATADIR%%/matrix/aa/BLOSUM30
%%DATADIR%%/matrix/aa/BLOSUM35