# -*- 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
PortGroup compiler_blacklist_versions 1.0
description ARB graphical DNA, RNA and amino acid sequence analysis tool
homepage http://www.arb-home.de/
long_description ARB is an application for genetic sequence analysis that includes tools for editing and aligning \
nucleotide and amino acid sequences. Features include routines for designing fluorescence in situ \
hybridization (FISH) probes and PCR and sequencing primers. Phylogenetic trees can be generated and \
sequences can be added to existing trees. ARB maintains links between the phylogenetic trees and sequences \
for database search and query. The Silva Comprehensive Ribosomal RNA Database (http://www.arb-silva.de/) \
maintains up-to-date databases. An active community of scientists exchanges tips on the ARB Yahoo! discussion group \
(http://tech.groups.yahoo.com/group/arb_users/). Citation: Wolfgang Ludwig, et al. (2004) ARB: a software environment \
for sequence data. Nucleic Acids Research. 32:1363-1371.
license Restrictive/Distributable
master_sites http://download.arb-home.de/release/${name}-${version}/
distname arb-${version}-source
checksums rmd160 a7e6ba2dff3eceba97d17e076c3efb333930dd72 \
sha256 875301f138974694144b11091b0303a22efcfe7c6291c438881da64179820ce0
depends_build port:makedepend \
depends_lib port:openmotif \
path:lib/pkgconfig/glib-2.0.pc:glib2 \
patchfiles patch-ARB-config.makefile.diff \
patch-ARB-intro.fig.diff \
depends_build-append port:coreutils
configure.env-append INSTALL=${prefix}/bin/ginstall
# https://trac.macports.org/ticket/44368
# DOS to UNIX line endings so we can patch.
reinplace "s|\r||g" ${worksrcpath}/GDE/MUSCLE/src/globalsosx.cpp
patchfiles-append patch-ARB-globalsosx.cpp.diff
if {${build_arch} eq "ppc" || ${build_arch} eq "i386"} {
file copy ${worksrcpath}/config.makefile.template ${worksrcpath}/config.makefile
reinplace "s|@@64BIT@@|${is64bit}|g" ${worksrcpath}/config.makefile
reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/SH/arb_macsetup
build.env-append PREFIX=${prefix} \