1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Remove deprecated option

- Tweak compiler flags
- Add LICENSE
- Pass maintainership to submitter

PR:		199066
Submitted by:	jwbacon@tds.net
This commit is contained in:
Dmitry Marakasov 2015-04-02 15:41:31 +00:00
parent 401ed34205
commit 5ae457bc49
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=383013

View File

@ -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
PVM_CONFIGURE_ENV= PVM_ROOT="${LOCALBASE}/lib/pvm" PVM_ARCH="FREEBSD"
PVM_CONFIGURE_WITH= pvm
PVM_BUILD_DEPENDS= pvm:${PORTSDIR}/net/pvm
.include <bsd.port.options.mk>
# 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}