source: trunk/dports/science/samtools/Portfile

Last change on this file was 139469, checked in by jmr@…, 2 years ago

ncurses: update to 6.0, rev bump dependents due to new ABI

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 139469 2015-08-18 01:10:17Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               github 1.0
6
7github.setup            samtools samtools 1.2
8revision                1
9categories              science
10platforms               darwin
11maintainers             gmail.com:haroldpimentel openmaintainer
12license                 MIT
13
14description             Tools for alignments in the SAM format
15
16long_description        SAM (Sequence Alignment/Map) Tools provide various \
17                        utilities for manipulating alignments in the SAM \
18                        format, including sorting, merging, indexing and \
19                        generating alignments in a per-position format.
20
21checksums               rmd160  536dcdc1c7730bc4a93f68e39967890331211c24 \
22                        sha256  420e7a4a107fe37619b9d300b6379452eb8eb04a4a9b65c3ec69de82ccc26daa
23
24homepage                http://www.htslib.org/
25github.tarball_from     releases
26use_bzip2               yes
27
28depends_lib             port:zlib port:ncurses
29
30use_configure           no
31
32variant universal {}
33
34build.args              CC="${configure.cc} [get_canonical_archflags cc]"
35
36destroot {
37    xinstall -m 755 ${worksrcpath}/samtools ${destroot}${prefix}/bin
38    xinstall -m 644 ${worksrcpath}/libbam.a ${destroot}${prefix}/lib
39    xinstall -m 644 ${worksrcpath}/samtools.1 ${destroot}${prefix}/share/man/man1
40    xinstall -d ${destroot}${prefix}/include/bam
41    eval xinstall -m 644 [glob ${worksrcpath}/*.h] ${destroot}${prefix}/include/bam
42   
43    xinstall -d ${destroot}${prefix}/share/doc/${name}
44    xinstall -m 644 -W ${worksrcpath} \
45        AUTHORS LICENSE NEWS README \
46        ${destroot}${prefix}/share/doc/${name}
47}
Note: See TracBrowser for help on using the repository browser.