ports/98764: [maintainer-update] update BLAST, add executable for other architectures
Fernan Aguero
fernan at iib.unsam.edu.ar
Fri Jun 9 19:10:21 UTC 2006
>Number: 98764
>Category: ports
>Synopsis: [maintainer-update] update BLAST, add executable for other architectures
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Jun 09 19:10:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Fernan Aguero
>Release: FreeBSD 6.0-RELEASE-p4 i386
>Organization:
IIB-UNSAM
>Environment:
System: FreeBSD omega.iib.unsam.edu.ar 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #0: Wed Jan 25 12:43:39 ART 2006 fernan at omega.iib.unsam.edu.ar:/usr/obj/usr/src/sys/OMEGA i386
>Description:
Update PORTREVISION to match latest release (see main web site)
Update the port to add other architectures (amd64)
>How-To-Repeat:
>Fix:
--- blast.diff begins here ---
diff -ruN /usr/ports/biology/blast/Makefile blast/Makefile
--- /usr/ports/biology/blast/Makefile Sun Jan 15 12:12:49 2006
+++ blast/Makefile Fri Jun 9 15:54:06 2006
@@ -8,7 +8,7 @@
PORTNAME= wu-blast
PORTVERSION= 2.0
-PORTREVISION= 20060101
+PORTREVISION= 20060322 # YYYYMMDD
CATEGORIES= biology
MASTER_SITES= #
EXTRACT_SUFX= .tar.Z
@@ -21,7 +21,7 @@
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
+ONLY_FOR_ARCHS= i386 amd64
NO_BUILD= yes
DOWNLOAD_URL= http://blast.wustl.edu/licensing
@@ -30,7 +30,7 @@
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,10 +39,22 @@
.include <bsd.port.pre.mk>
+.if ${ARCH} == amd64
+.if ${OSVERSION} >= 500001
+DISTNAME= blast${PORTVERSION:S/.0//}.freebsd-5.x-x64
+.elsif ${OSVERSION} >= 600000
+DISTNAME= blast${PORTVERSION:S/.0//}.freebsd-6.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
+.elsif ${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})
diff -ruN /usr/ports/biology/blast/distinfo blast/distinfo
--- /usr/ports/biology/blast/distinfo Sun Jan 15 12:12:49 2006
+++ blast/distinfo Fri Jun 9 15:59:39 2006
@@ -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 -ruN /usr/ports/biology/blast/pkg-plist blast/pkg-plist
--- /usr/ports/biology/blast/pkg-plist Fri Mar 18 10:01:07 2005
+++ blast/pkg-plist Fri Jun 9 15:57:18 2006
@@ -26,6 +26,7 @@
%%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
--- blast.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list