Ticket #41956: Portfile-bedtools.diff
File Portfile-bedtools.diff, 2.4 KB (added by arjanvandervelde (Arjan van der Velde), 11 years ago) |
---|
-
Portfile
old new 2 2 # $Id: Portfile 113565 2013-11-20 00:12:25Z ryandesign@macports.org $ 3 3 4 4 PortSystem 1.0 5 PortGroup github 1.0 6 github.setup arq5x bedtools2 2.18.1 v 5 7 6 8 name bedtools 7 version 2.17.0 8 revision 1 9 revision 0 9 10 categories science 10 11 platforms darwin 11 12 maintainers gmail.com:vandervelde.ag openmaintainer … … 18 19 The utilities are largely based on four widely-used file formats: \ 19 20 BED, GFF/GTF, VCF, and SAM/BAM. 20 21 21 homepage https://code.google.com/p/bedtools/ 22 master_sites googlecode 23 distname BEDTools.v${version} 24 worksrcdir ${name}-${version} 25 26 checksums sha1 1b1de3c35394a423f9ad98a9957a8853b426a578 \ 27 rmd160 dccc7dc02dd0519977e30f83a0d49c9f9b0e0ca9 \ 28 sha256 6dcfacdcbccc968e872b81ba1f37a086b1bcc486571582ed595db717e924d0fe 22 checksums sha1 9aae2e52c4d51e07e7127a97960fd7e60ac06cd8 \ 23 rmd160 b54d232c461a47c2a4554696b5006619b459d0c4 \ 24 sha256 04e447e84d57a4d1b92f01ebdd957df1a260214bf78362c39932f76a0e492fca 25 26 patchfiles patch-Makefile.diff 29 27 30 28 depends_build port:py27-sphinx 31 29 … … 35 33 36 34 variant universal {} 37 35 38 configure.cflags-append -std=gnu89 39 build.args CC=${configure.cc} \ 40 CFLAGS="-g -Wall ${configure.cflags} [get_canonical_archflags cc]" 36 configure.optflags -O2 37 configure.cxxflags-append -Wall -D_FILE_OFFSET_BITS=64 -fPIC 38 build.args CXX=${configure.cxx} \ 39 CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" 40 41 41 use_parallel_build no 42 42 43 43 post-build { 44 system -W ${worksrcpath}/docs "make SPHINXBUILD=${prefix}/bin/sphinx-build-2.7 html" 44 45 system -W ${worksrcpath}/docs "make SPHINXBUILD=${prefix}/bin/sphinx-build-2.7 man" 45 46 } 46 47 … … 52 53 LICENSE README.rst RELEASE_HISTORY \ 53 54 ${destroot}${prefix}/share/doc/${name} 54 55 eval xinstall -m 644 [glob ${worksrcpath}/genomes/*] ${destroot}${prefix}/share/${name}/genomes/ 56 copy ${worksrcpath}/docs/_build/html ${destroot}${prefix}/share/doc/${name}/html 55 57 xinstall -m 644 ${worksrcpath}/docs/_build/man/bedtools.1 ${destroot}${prefix}/share/man/man1 56 58 }