diff options
author | pav <pav@FreeBSD.org> | 2006-06-11 17:13:43 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-06-11 17:13:43 +0800 |
commit | 3813e17d37d027b4de836c95b1909ccb9adbff8b (patch) | |
tree | 276afccf70dbd84ff3ec4bb68d3657edb88716e1 | |
parent | e3cbbc0d487e1533238a564feda61e5e4db0f40e (diff) | |
download | freebsd-ports-gnome-3813e17d37d027b4de836c95b1909ccb9adbff8b.tar.gz freebsd-ports-gnome-3813e17d37d027b4de836c95b1909ccb9adbff8b.tar.zst freebsd-ports-gnome-3813e17d37d027b4de836c95b1909ccb9adbff8b.zip |
- Update PORTREVISION to match latest release (see main web site)
- Update the port to add other architectures (amd64)
PR: ports/98764
Submitted by: Fernan Aguero <fernan@iib.unsam.edu.ar> (maintainer)
-rw-r--r-- | biology/blast/Makefile | 24 | ||||
-rw-r--r-- | biology/blast/distinfo | 10 | ||||
-rw-r--r-- | biology/blast/pkg-plist | 1 |
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 |