Ticket #41437: Portfile-bedtools.diff

File Portfile-bedtools.diff, 1.3 KB (added by arjanvandervelde (Arjan van der Velde), 11 years ago)
  • Portfile

    old new  
    55
    66name                bedtools
    77version             2.17.0
     8revision            1
    89categories          science
    910platforms           darwin
    1011maintainers         gmail.com:vandervelde.ag openmaintainer
     
    2627                    rmd160  dccc7dc02dd0519977e30f83a0d49c9f9b0e0ca9 \
    2728                    sha256  6dcfacdcbccc968e872b81ba1f37a086b1bcc486571582ed595db717e924d0fe
    2829
    29 depends_lib         port:zlib
     30depends_lib         port:zlib \
     31                    port:py27-sphinx
    3032
    3133use_configure       no
    3234
     
    3739                    CFLAGS="-g -Wall ${configure.cflags} [get_canonical_archflags cc]"
    3840use_parallel_build  no
    3941
     42post-build {
     43    system "cd ${worksrcpath}/docs && make SPHINXBUILD=sphinx-build-2.7 man"
     44}
     45
    4046destroot {
    4147    eval xinstall -m 755 [glob ${worksrcpath}/bin/*] ${destroot}${prefix}/bin/
    4248    xinstall -d ${destroot}${prefix}/share/doc/${name}
     
    4551        LICENSE README.rst RELEASE_HISTORY \
    4652        ${destroot}${prefix}/share/doc/${name}
    4753    eval xinstall -m 644 [glob ${worksrcpath}/genomes/*] ${destroot}${prefix}/share/${name}/genomes/
     54    xinstall -m 644 ${worksrcpath}/docs/_build/man/bedtools.1 ${destroot}${prefix}/share/man/man1
    4855}