1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/biology/infernal/Makefile
Rene Ladan 3d9a815d9c all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
2023-06-27 21:34:34 +02:00

57 lines
1.6 KiB
Makefile

PORTNAME= infernal
PORTVERSION= 1.1.4
CATEGORIES= biology
MASTER_SITES= http://eddylab.org/infernal/
MAINTAINER= mzaki@e-mail.ne.jp
COMMENT= Search sequence databases for structural RNA homologs
WWW= http://eddylab.org/infernal/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 powerpc64le powerpcspe
ONLY_FOR_ARCHS_REASON= requires SSE2 or AltiVec instructions
USES= compiler:c11 gmake perl5 python:test shebangfix
USE_PERL5= test
SHEBANG_FILES= easel/devkit/*
SHEBANG_GLOB= *.pl *.py
GNU_CONFIGURE= yes
MAKE_ARGS= V=1
TEST_TARGET= check
OPTIONS_DEFINE= DOCS EXAMPLES TEST
DOCFILES= Userguide.pdf
EXAMPLES= 5S_rRNA.c.cm 5S_rRNA.sto \
Cobalamin.c.cm Cobalamin.fa Cobalamin.sto \
metag-example.fa minifam-metag.out minifam.cm \
minifam.cm.i1f minifam.cm.i1i minifam.cm.i1m minifam.cm.i1p \
mrum-genome.fa mrum-tRNAs10.fa mrum-tRNAs10.out \
tRNA5-hand.c.cm tRNA5-hand.sto tRNA5-mrum.out \
tRNA5-noss.sto tRNA5.c.cm tRNA5.sto
TEST_BUILD_DEPENDS= ${PYTHON_VERSION}:lang/python${PYTHON_SUFFIX}
TEST_VARS= use_perl5=build
post-build-TEST-on: pre-test do-test
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCFILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/tutorial/,} ${STAGEDIR}${EXAMPLESDIR}
pre-test:
${FIND} ${WRKSRC} -type f \( -name Makefile -or -name sqc \) -exec ${GREP} -q 'python3 ' {} \; -print | ${XARGS} ${SED} -i.bak 's/python3 /${PYTHON_VERSION} /'
.include <bsd.port.mk>