source: trunk/dports/science/bedtools/Portfile

Last change on this file was 150031, checked in by khindenburg@…, 15 months ago

bedtools: update to 2.26.0 maintainer #51798

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- 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
2# $Id: Portfile 150031 2016-07-08 21:19:04Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        arq5x bedtools2 2.26.0 v
8
9name                bedtools
10categories          science
11platforms           darwin
12maintainers         gmail.com:vandervelde.ag openmaintainer
13license             GPL-2
14
15description         Utilities to perform basic operations on BED files
16
17long_description    The BEDTools utilities allow one to address common genomics \
18                    tasks such as finding feature overlaps and computing coverage. \
19                    The utilities are largely based on four widely-used file formats: \
20                    BED, GFF/GTF, VCF, and SAM/BAM.
21
22checksums           rmd160  880f6c0711f500f24a5f0161ef209c739c3cc735 \
23                    sha256  ed9e9305ed88838125de53abee0b65ef5decbd75beeeb3adb0cb656b87a965b2
24
25depends_build       port:py27-sphinx
26
27depends_lib         port:zlib
28
29use_configure       no
30
31variant universal {}
32
33configure.optflags  -O2
34configure.cxxflags-append -Wall -D_FILE_OFFSET_BITS=64 -fPIC
35build.args          CXX=${configure.cxx} \
36                    CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]"
37
38use_parallel_build  no
39
40post-build {
41    system -W ${worksrcpath}/docs "${build.cmd} SPHINXBUILD=${prefix}/bin/sphinx-build-2.7 html man"
42}
43
44destroot {
45    xinstall -m 755 {*}[glob ${worksrcpath}/bin/*] ${destroot}${prefix}/bin/
46    xinstall -d ${destroot}${prefix}/share/doc/${name}
47    xinstall -d ${destroot}${prefix}/share/${name}/genomes
48    xinstall -m 644 -W ${worksrcpath} \
49        LICENSE README.md RELEASE_HISTORY \
50        ${destroot}${prefix}/share/doc/${name}
51     xinstall -m 644 {*}[glob ${worksrcpath}/genomes/*] ${destroot}${prefix}/share/${name}/genomes/
52    copy ${worksrcpath}/docs/_build/html ${destroot}${prefix}/share/doc/${name}/html
53    xinstall -m 644 ${worksrcpath}/docs/_build/man/bedtools.1 ${destroot}${prefix}/share/man/man1
54}
55
56test.run            yes
Note: See TracBrowser for help on using the repository browser.