aboutsummaryrefslogtreecommitdiff
path: root/biology/hmmer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'biology/hmmer/Makefile')
-rw-r--r--biology/hmmer/Makefile32
1 files changed, 21 insertions, 11 deletions
diff --git a/biology/hmmer/Makefile b/biology/hmmer/Makefile
index ecbd3fc18926..18c873e337ee 100644
--- a/biology/hmmer/Makefile
+++ b/biology/hmmer/Makefile
@@ -2,41 +2,51 @@
# $FreeBSD$
PORTNAME= hmmer
-PORTVERSION= 2.3.2
+PORTVERSION= 3.0
CATEGORIES= biology
-MASTER_SITES= ftp://selab.janelia.org/pub/software/hmmer/CURRENT/
+MASTER_SITES= ftp://selab.janelia.org/pub/software/hmmer3/3.0/ \
+ http://selab.janelia.org/software/hmmer3/3.0/
-MAINTAINER= wen@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Profile hidden Markov models for biological sequence analysis
GNU_CONFIGURE= yes
USE_PERL5= yes
CONFIGURE_ARGS+=--enable-threads --enable-lfs
-DOCFILES= 00README COPYRIGHT INSTALL LICENSE NOTES Userguide.pdf
-EXAMPLES= 7LES_DROME amino.null globins50.msf nucleic.pri rrm.sto \
- Artemia.fa amino.pri globins630.fa pkinase.sto RU1A_HUMAN \
- fn3.sto nucleic.null rrm.hmm
-MAN1= hmmalign.1 hmmbuild.1 hmmcalibrate.1 hmmconvert.1 hmmemit.1 \
- hmmer.1 hmmfetch.1 hmmindex.1 hmmpfam.1 hmmsearch.1
+DOCFILES= COPYRIGHT INSTALL LICENSE Userguide.pdf
+EXAMPLES= 7LESS_DROME Pkinase.sto fn3.sto globins4.sto minifam.h3f minifam.h3p \
+ HBB_HUMAN fn3.hmm globins4.hmm globins45.fa minifam.h3i \
+ Pkinase.hmm fn3.out globins4.out minifam minifam.h3m
+#MAN1= hmmalign.1 hmmbuild.1 hmmcalibrate.1 hmmconvert.1 hmmemit.1 \
+# hmmer.1 hmmfetch.1 hmmindex.1 hmmpfam.1 hmmsearch.1
-.if defined(WITH_PVM)
+OPTIONS_DEFINE= PVM
+PVM_DESC= PVM support
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MPVM}
CONFIGURE_ENV+= PVM_ROOT="${LOCALBASE}/lib/pvm" PVM_ARCH="FREEBSD"
CONFIGURE_ARGS+= --with-pvm
BUILD_DEPENDS+= pvm:${PORTSDIR}/net/pvm
.endif
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@ ${MKDIR} ${DOCSDIR}
.for docfile in ${DOCFILES}
@ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
.endif
+
+.if ${PORT_OPTIONS:MEXAMPLES}
@ ${MKDIR} ${EXAMPLESDIR}
.for example in ${EXAMPLES}
@ ${INSTALL_DATA} ${WRKSRC}/tutorial/${example} ${EXAMPLESDIR}
.endfor
+.endif
+
.if !defined(BATCH)
@ ${CAT} ${PKGMESSAGE}
.endif