aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-04-02 23:41:31 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-04-02 23:41:31 +0800
commit8dbb5bfaba20f63be0689eb624b265ea131c5c25 (patch)
tree0bca72df1e1e1169536f4e604c8eebae3799f8a2 /biology
parent06c12bc6dc0029f725964cf1f3541f527f4ed872 (diff)
downloadfreebsd-ports-gnome-8dbb5bfaba20f63be0689eb624b265ea131c5c25.tar.gz
freebsd-ports-gnome-8dbb5bfaba20f63be0689eb624b265ea131c5c25.tar.zst
freebsd-ports-gnome-8dbb5bfaba20f63be0689eb624b265ea131c5c25.zip
- Remove deprecated option
- Tweak compiler flags - Add LICENSE - Pass maintainership to submitter PR: 199066 Submitted by: jwbacon@tds.net
Diffstat (limited to 'biology')
-rw-r--r--biology/hmmer/Makefile25
1 files changed, 16 insertions, 9 deletions
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 <bsd.port.options.mk>
-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}