[113565] trunk/dports/science/bedtools/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Nov 19 16:12:25 PST 2013


Revision: 113565
          https://trac.macports.org/changeset/113565
Author:   ryandesign at macports.org
Date:     2013-11-19 16:12:25 -0800 (Tue, 19 Nov 2013)
Log Message:
-----------
bedtools: also build and install the manpage (#41437)

Modified Paths:
--------------
    trunk/dports/science/bedtools/Portfile

Modified: trunk/dports/science/bedtools/Portfile
===================================================================
--- trunk/dports/science/bedtools/Portfile	2013-11-19 23:45:16 UTC (rev 113564)
+++ trunk/dports/science/bedtools/Portfile	2013-11-20 00:12:25 UTC (rev 113565)
@@ -5,6 +5,7 @@
 
 name                bedtools
 version             2.17.0
+revision            1
 categories          science
 platforms           darwin
 maintainers         gmail.com:vandervelde.ag openmaintainer
@@ -26,6 +27,8 @@
                     rmd160  dccc7dc02dd0519977e30f83a0d49c9f9b0e0ca9 \
                     sha256  6dcfacdcbccc968e872b81ba1f37a086b1bcc486571582ed595db717e924d0fe
 
+depends_build       port:py27-sphinx
+
 depends_lib         port:zlib
 
 use_configure       no
@@ -37,6 +40,10 @@
                     CFLAGS="-g -Wall ${configure.cflags} [get_canonical_archflags cc]"
 use_parallel_build  no
 
+post-build {
+    system -W ${worksrcpath}/docs "make SPHINXBUILD=${prefix}/bin/sphinx-build-2.7 man"
+}
+
 destroot {
     eval xinstall -m 755 [glob ${worksrcpath}/bin/*] ${destroot}${prefix}/bin/
     xinstall -d ${destroot}${prefix}/share/doc/${name}
@@ -45,4 +52,5 @@
         LICENSE README.rst RELEASE_HISTORY \
         ${destroot}${prefix}/share/doc/${name}
     eval xinstall -m 644 [glob ${worksrcpath}/genomes/*] ${destroot}${prefix}/share/${name}/genomes/
+    xinstall -m 644 ${worksrcpath}/docs/_build/man/bedtools.1 ${destroot}${prefix}/share/man/man1
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131119/dd3ffa2c/attachment.html>


More information about the macports-changes mailing list