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

larryv at macports.org larryv at macports.org
Thu Jan 9 22:06:24 PST 2014


Revision: 115738
          https://trac.macports.org/changeset/115738
Author:   larryv at macports.org
Date:     2014-01-09 22:06:23 -0800 (Thu, 09 Jan 2014)
Log Message:
-----------
bedtools: Update to 2.18.1, install HTML docs (maintainer, #41956).

Also switch to github-1.0 PortGroup.

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

Modified: trunk/dports/science/bedtools/Portfile
===================================================================
--- trunk/dports/science/bedtools/Portfile	2014-01-10 05:32:39 UTC (rev 115737)
+++ trunk/dports/science/bedtools/Portfile	2014-01-10 06:06:23 UTC (rev 115738)
@@ -2,10 +2,10 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           github 1.0
+github.setup        arq5x bedtools2 2.18.1 v
 
 name                bedtools
-version             2.17.0
-revision            1
 categories          science
 platforms           darwin
 maintainers         gmail.com:vandervelde.ag openmaintainer
@@ -18,15 +18,10 @@
                     The utilities are largely based on four widely-used file formats: \
                     BED, GFF/GTF, VCF, and SAM/BAM.
 
-homepage            https://code.google.com/p/bedtools/
-master_sites        googlecode
-distname            BEDTools.v${version}
-worksrcdir          ${name}-${version}
+checksums           sha1    9aae2e52c4d51e07e7127a97960fd7e60ac06cd8 \
+                    rmd160  b54d232c461a47c2a4554696b5006619b459d0c4 \
+                    sha256  04e447e84d57a4d1b92f01ebdd957df1a260214bf78362c39932f76a0e492fca
 
-checksums           sha1    1b1de3c35394a423f9ad98a9957a8853b426a578 \
-                    rmd160  dccc7dc02dd0519977e30f83a0d49c9f9b0e0ca9 \
-                    sha256  6dcfacdcbccc968e872b81ba1f37a086b1bcc486571582ed595db717e924d0fe
-
 depends_build       port:py27-sphinx
 
 depends_lib         port:zlib
@@ -35,13 +30,15 @@
 
 variant universal {}
 
-configure.cflags-append -std=gnu89
-build.args          CC=${configure.cc} \
-                    CFLAGS="-g -Wall ${configure.cflags} [get_canonical_archflags cc]"
+configure.optflags  -O2
+configure.cxxflags-append -Wall -D_FILE_OFFSET_BITS=64 -fPIC
+build.args          CXX=${configure.cxx} \
+                    CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]"
+
 use_parallel_build  no
 
 post-build {
-    system -W ${worksrcpath}/docs "make SPHINXBUILD=${prefix}/bin/sphinx-build-2.7 man"
+    system -W ${worksrcpath}/docs "${build.cmd} SPHINXBUILD=${prefix}/bin/sphinx-build-2.7 html man"
 }
 
 destroot {
@@ -52,5 +49,6 @@
         LICENSE README.rst RELEASE_HISTORY \
         ${destroot}${prefix}/share/doc/${name}
     eval xinstall -m 644 [glob ${worksrcpath}/genomes/*] ${destroot}${prefix}/share/${name}/genomes/
+    copy ${worksrcpath}/docs/_build/html ${destroot}${prefix}/share/doc/${name}/html
     xinstall -m 644 ${worksrcpath}/docs/_build/man/bedtools.1 ${destroot}${prefix}/share/man/man1
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140109/f99043d7/attachment.html>


More information about the macports-changes mailing list