Skip to content
Permalink
Browse files

ViennaRNA: new port version 2.4.14

  • Loading branch information
GiovanniBussi authored and ryandesign committed May 14, 2020
1 parent 3d8861c commit 884e32e9655934c48053fcea18bae13c144437e4
Showing with 54 additions and 0 deletions.
  1. +54 −0 science/ViennaRNA/Portfile
@@ -0,0 +1,54 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0

name ViennaRNA
version 2.4.14
categories science
platforms darwin
maintainers {gmail.com:giovanni.bussi @GiovanniBussi} openmaintainer
description C Library and programs for the prediction and comparison\
of RNA secondary structures.
long_description The Vienna RNA Package consists of a C code library and\
several stand-alone programs for the prediction and\
comparison of RNA secondary structures.
homepage https://www.tbi.univie.ac.at/RNA/
set branch [join [lrange [split ${version} .] 0 1] _]_x
master_sites ${homepage}download/sourcecode/${branch}/

# https://github.com/ViennaRNA/ViennaRNA/blob/master/license.txt
license restrictive

checksums rmd160 8c415cfd97d09c12abd99c319313971badb17aeb \
sha256 ba9cfc8a48e457fc891628f3229a3924de31714460dc4a4dec081868f802cc28 \
size 32814278

configure.args-append --disable-lto \
--with-cluster \
--with-kinwalker \
--without-doc-pdf \
--without-doc-html \
--without-perl \
--without-python \
--without-python3 \
--without-tutorial-pdf

depends_lib-append port:gsl \
port:mpfr

test.run yes
test.target check

variant python37 conflicts python38 description {Enable python3.7 wrappers} {
depends_lib-append port:python37
configure.args-replace --without-python3 PYTHON3=${prefix}/bin/python3.7
configure.args-append PYTHON3_DIR=${frameworks_dir}/Python.framework/Versions/3.7/lib/python3.7/site-packages
configure.args-append PYTHON3_EXECDIR=${frameworks_dir}/Python.framework/Versions/3.7/lib/python3.7/site-packages
}

variant python38 conflicts python37 description {Enable python3.8 wrappers} {
depends_lib-append port:python38
configure.args-replace --without-python3 PYTHON3=${prefix}/bin/python3.8
configure.args-append PYTHON3_DIR=${frameworks_dir}/Python.framework/Versions/3.8/lib/python3.8/site-packages
configure.args-append PYTHON3_EXECDIR=${frameworks_dir}/Python.framework/Versions/3.8/lib/python3.8/site-packages
}

0 comments on commit 884e32e

Please sign in to comment.
You can’t perform that action at this time.