Ticket #28112: Portfile

File Portfile, 1.6 KB (added by haroldpimentel@…, 13 years ago)
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 72419 2010-10-14 08:17:54Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    samtools
7version                 0.1.12a
8categories              science
9platforms               darwin
10maintainers             gmail.com:haroldpimentel openmaintainer
11license                 MIT
12
13description             Tools for alignments in the SAM format
14
15long_description        SAM (Sequence Alignment/Map) Tools provide various \
16                        utilities for manipulating alignments in the SAM \
17                        format, including sorting, merging, indexing and \
18                        generating alignments in a per-position format.
19
20homepage                http://samtools.sourceforge.net/
21master_sites            sourceforge
22
23checksums               sha1    d517cd189aa714251a0e43cb83dea3ae0f29bffa \
24                        rmd160  e2732e61b216bc2d8e6a1c81aa91c34f296cef29
25
26use_bzip2               yes
27
28depends_lib             port:zlib
29
30use_configure           no
31
32destroot {
33    xinstall -m 755 ${worksrcpath}/samtools ${destroot}${prefix}/bin
34    xinstall -m 644 ${worksrcpath}/libbam.a ${destroot}${prefix}/lib
35    xinstall -d ${destroot}${prefix}/include/bam
36    eval xinstall -m 644 [glob ${worksrcpath}/*.h] ${destroot}${prefix}/include/bam
37   
38    xinstall -d ${destroot}${prefix}/share/doc/${name}
39    xinstall -m 644 -W ${worksrcpath} \
40        AUTHORS COPYING ChangeLog NEWS \
41        ${destroot}${prefix}/share/doc/${name}
42}