head	1.12;
access;
symbols
	RELEASE_8_3_0:1.9
	RELEASE_9_0_0:1.9
	RELEASE_7_4_0:1.9
	RELEASE_8_2_0:1.9
	RELEASE_6_EOL:1.9
	RELEASE_8_1_0:1.9
	RELEASE_7_3_0:1.9
	RELEASE_8_0_0:1.8
	RELEASE_7_2_0:1.8
	RELEASE_7_1_0:1.7
	RELEASE_6_4_0:1.7
	RELEASE_5_EOL:1.7
	RELEASE_7_0_0:1.7
	RELEASE_6_3_0:1.7
	PRE_XORG_7:1.6
	RELEASE_4_EOL:1.5
	RELEASE_6_2_0:1.5
	RELEASE_6_1_0:1.4
	RELEASE_5_5_0:1.4
	RELEASE_6_0_0:1.3
	RELEASE_5_4_0:1.3
	RELEASE_4_11_0:1.2;
locks; strict;
comment	@# @;


1.12
date	2012.11.17.05.54.51;	author svnexp;	state Exp;
branches;
next	1.11;

1.11
date	2012.10.01.14.55.55;	author wen;	state Exp;
branches;
next	1.10;

1.10
date	2012.10.01.14.45.16;	author tabthorpe;	state Exp;
branches;
next	1.9;

1.9
date	2010.01.09.23.51.26;	author pgollucci;	state Exp;
branches;
next	1.8;

1.8
date	2009.01.05.17.27.23;	author pav;	state Exp;
branches;
next	1.7;

1.7
date	2007.10.04.00.14.59;	author edwin;	state Exp;
branches;
next	1.6;

1.6
date	2007.05.02.07.14.50;	author edwin;	state Exp;
branches;
next	1.5;

1.5
date	2006.06.11.09.13.43;	author pav;	state Exp;
branches;
next	1.4;

1.4
date	2006.01.14.19.36.19;	author pav;	state Exp;
branches;
next	1.3;

1.3
date	2005.03.18.13.01.07;	author danfe;	state Exp;
branches;
next	1.2;

1.2
date	2004.11.18.07.58.41;	author pav;	state Exp;
branches;
next	1.1;

1.1
date	2004.11.11.21.35.03;	author pav;	state Exp;
branches;
next	;


desc
@@


1.12
log
@Switch exporter over
@
text
@# Created by: Fernan Aguero <fernan@@iib.unsam.edu.ar>
# $FreeBSD: head/biology/blast/Makefile 305131 2012-10-01 14:55:55Z wen $

PORTNAME=	wu-blast
PORTVERSION=	2.0
PORTREVISION=	20060322	# YYYYMMDD
CATEGORIES=	biology
MASTER_SITES=	#
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	wen@@FreeBSD.org
COMMENT=	WU BLAST, a software package for sequence similarity searches

# Distfiles change rapidly, but since they can only be downloaded from
# 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 amd64

NO_BUILD=	yes
DOWNLOAD_URL=	http://blast.wustl.edu/licensing

NO_WRKSUBDIR=	yes

PORTDOCS=	COPYRIGHT FAQ-Indexing.html HISTORY LICENSE Memory.html \
		README.html parameters.html tabular.html
BINS=		blasta gb2fasta gt2fasta memfile nrdb pam patdb \
		pir2fasta sp2fasta xdformat xdget
SCRIPTS=	wu-blastall wu-formatdb
BLASTA_LINKS=	blastn blastp blastx tblastn tblastx
XDFORMAT_LINKS=	setdb pressdb
SUB_FILES=	pkg-message

.include <bsd.port.pre.mk>

.if ${ARCH} == amd64
DISTNAME=	blast${PORTVERSION:S/.0//}.freebsd-6.x-x64
.else
DISTNAME=	blast${PORTVERSION:S/.0//}.freebsd-6.x-i686
.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
.endif

do-install:
.for bin in ${BINS}
	${INSTALL_PROGRAM} ${WRKSRC}/${bin} ${PREFIX}/bin
.endfor
.for script in ${SCRIPTS}
	${INSTALL_SCRIPT} ${WRKSRC}/${script} ${PREFIX}/bin
.endfor
	${CHMOD} a-rw,a+x ${PREFIX}/bin/blasta
.for blink in ${BLASTA_LINKS}
	@@(cd ${PREFIX}/bin && ${LN} -s blasta ${blink})
.endfor
.for xlink in ${XDFORMAT_LINKS}
	@@(cd ${PREFIX}/bin && ${LN} -s xdformat ${xlink})
.endfor
.if !defined (NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
	${INSTALL_MAN} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif
	${MKDIR} ${DATADIR}
	${CP} -R ${WRKSRC}/matrix ${DATADIR}
	${CP} -R ${WRKSRC}/filter ${DATADIR}
	${CP} ${WRKSRC}/sysblast.sample ${DATADIR}

post-install:
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.11
log
@SVN rev 305131 on 2012-10-01 14:55:55Z by wen

- Take maintainership
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.10
log
@SVN rev 305130 on 2012-10-01 14:45:16Z by tabthorpe

- Reassign to the heap at maintainer's request
@
text
@d11 1
a11 1
MAINTAINER=	ports@@FreeBSD.org
@


1.9
log
@- SUB_FILES += pkg-message

PR:             ports/142407
Submitted by:   Sevan Janiyan <venture37@@geeklan.co.uk>
Approved by:    Fernan Aguero <fernan@@iib.unsam.edu.ar> (maintainer)
@
text
@d1 1
a1 5
# ex:ts=8
# New ports collection makefile for:	WU BLAST
# Date created:				27 May 2004
# Whom:					Fernan Aguero <fernan@@iib.unsam.edu.ar>
#
a2 1
#
d11 1
a11 1
MAINTAINER=	fernan@@iib.unsam.edu.ar
@


1.8
log
@- Remove conditional checks relevant only on FreeBSD 5.x and older
@
text
@a29 1
PKGMESSAGE=	${WRKDIR}/pkg-message
d38 1
a51 3
post-patch:
	@@${SED} -e 's,%%DATADIR%%,${DATADIR},g' < ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}

@


1.7
log
@Remove always-false/true conditions based on OSVERSION 500000
@
text
@a42 1
.if ${OSVERSION} >= 600000
a44 6
DISTNAME=	blast${PORTVERSION:S/.0//}.freebsd-5.x-x64
.endif
.else
.if ${OSVERSION} < 600000
DISTNAME=	blast${PORTVERSION:S/.0//}.freebsd-5.x-i686
.else
a46 1
.endif
@


1.6
log
@[patch] cleanup non-supported FreeBSD versions

PR:		ports/111725
Submitted by:	Edwin Groothuis <edwin@@mavetju.org>
Approved by:	maintainer timeout
@
text
@d49 1
a49 1
.if ${OSVERSION} >= 50000 && ${OSVERSION} < 600000
@


1.5
log
@- 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)
@
text
@d45 1
a45 1
.elif ${OSVERSION} >= 500001
a46 2
.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
d49 1
a49 3
.if ${OSVERSION} < 500000
DISTNAME=	blast${PORTVERSION:S/.0//}.freebsd-4.x-i686
.elif ${OSVERSION} >= 50000 && ${OSVERSION} < 600000
@


1.4
log
@- Update to 2.0.20060101

PR:		ports/91715
Submitted by:	Fernan Aguero <fernan@@iib.unsam.edu.ar> (maintainer)
@
text
@d11 1
a11 1
PORTREVISION=	20060101
d23 2
a24 2
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
d33 1
a33 1
		README.html parameters.html
d42 9
d53 2
d56 2
a57 1
DISTNAME=	blast${PORTVERSION:S/.0//}.freebsd-i686
d61 1
a61 1
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"
@


1.3
log
@From the PR:

  I've added PORTREVISION to the port and set it to the release
  date as in the lang/gcc* ports.  Since the distinfo file is not
  used, this would help users know when they have to update their
  ports.

  Although newer release might be made, the idea is to bump
  PORTREVISION for important feature releases on when significant
  bugs are fixed.

  Other minor (cosmetic) changes also applied.

PR:		ports/78963
Sumbitted by:	maintainer
@
text
@d11 1
a11 1
PORTREVISION=	20050316
d33 1
a33 1
		README.html parameters.html parameters.pdf
@


1.2
log
@- Distfiles change every few days, so drop md5 checking on them

Submitted by:	Fernan Aguero <fernan@@iib.unsam.edu.ar> (maintainer)
@
text
@d1 1
d3 2
a4 2
# Date created:		27 May 2004
# Whom:	      		Fernan Aguero <fernan@@iib.unsam.edu.ar>
d11 1
d19 2
a20 1
# Distfiles change every few days
d33 1
a33 1
		README.html parameters.html
@


1.1
log
@Add blast, a powerful software package for gene and protein identification,
using sensitive, selective and rapid similarity searches of protein and
nucleotide sequence databases.

PR:		ports/69636
Submitted by:	Fernan Aguero <fernan@@iib.unsam.edu.ar>
@
text
@d17 3
@

