From 8dbb5bfaba20f63be0689eb624b265ea131c5c25 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Thu, 2 Apr 2015 15:41:31 +0000 Subject: - Remove deprecated option - Tweak compiler flags - Add LICENSE - Pass maintainership to submitter PR: 199066 Submitted by: jwbacon@tds.net --- biology/hmmer/Makefile | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) (limited to 'biology') diff --git a/biology/hmmer/Makefile b/biology/hmmer/Makefile index 355d2355d858..ca974541a578 100644 --- a/biology/hmmer/Makefile +++ b/biology/hmmer/Makefile @@ -3,37 +3,44 @@ PORTNAME= hmmer PORTVERSION= 3.0 +PORTREVISION= 1 CATEGORIES= biology MASTER_SITES= ftp://selab.janelia.org/pub/software/hmmer3/3.0/ \ http://selab.janelia.org/software/hmmer3/3.0/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= jwbacon@tds.net COMMENT= Profile hidden Markov models for biological sequence analysis +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + GNU_CONFIGURE= yes USES= perl5 -CONFIGURE_ARGS+=--enable-threads --enable-lfs +CONFIGURE_ARGS+=--enable-threads 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 -OPTIONS_DEFINE= PVM DOCS EXAMPLES -PVM_DESC= PVM support +OPTIONS_DEFINE= DOCS EXAMPLES + +.include -PVM_CONFIGURE_ENV= PVM_ROOT="${LOCALBASE}/lib/pvm" PVM_ARCH="FREEBSD" -PVM_CONFIGURE_WITH= pvm -PVM_BUILD_DEPENDS= pvm:${PORTSDIR}/net/pvm +# HMMER is useless without SSE and any PC in use today should support it +# Should probably also do enable-vmx on Power processors to enable +# Altivec/VMX, but I don't have a machine to test this. +.if ${ARCH} == "amd64" || ${ARCH} == "ia64" || ${ARCH} == "i386" +CONFIGURE_ARGS+=--enable-sse +.endif post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* (cd ${WRKSRC}/documentation/man; for i in *.man; do \ ${INSTALL_MAN} $$i ${STAGEDIR}${PREFIX}/man/man1/`echo $$i|${SED} 's/.man/.1/'`; \ done) - @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCFILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/tutorial/,} ${STAGEDIR}${EXAMPLESDIR} -- cgit