Ticket #37737: Portfile

File Portfile, 2.0 KB (added by krisp@…, 11 years ago)

Portfile for science/samscope

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
3
4PortSystem          1.0
5
6name                samscope
7version             1.6.6.91
8categories          science
9platforms           darwin
10license             AGPL
11maintainers         krisp@dna.bio.keio.ac.jp
12description         OpenGL based SAM/BAM file viewer
13long_description    Samscope is a lightweight SAM/BAM file viewer that makes visually\
14 exploring next generation sequencing data intuitive and maybe even\
15 fun!\
16 \
17 Samscope uses multiple layers to simultaneously (or sequentially)\
18 view SAM/BAM related features like coverage or allele frequency, or\
19 ChIP-SEQ features like polarity. The paging-friendly binary file\
20 layout makes it feasible to browse data sets far larger than the\
21 system's available RAM.
22homepage            http://samscope.dna.bio.keio.ac.jp
23master_sites        ${homepage}/archive/source/ \
24                    sourceforge:samscope/source/
25use_bzip2           yes
26distfiles           ${name}-${version}${extract.suffix}
27
28#for now we need a patch:
29patch_sites.mirror_subdir    patches/macports/
30patchfiles          ${name}-${version}.patch
31patch.pre_args      -p1
32
33
34#needs to be updated for each new version
35checksums           samscope-1.6.6.91.patch \
36                    rmd160  aad1f65eb15a9c53094e04d8976fd5b453f9044b \
37                    sha256  2cf4b0f5bf1f230b1ce31d6dbee74768330b8982182db5ab20648007b65e4a71 \
38                    samscope-1.6.6.91.tar.bz2 \
39                    rmd160  97b1e6ed053ba0b8dc23dc89b73f919ab0cac1a1 \
40                    sha256  3962dddc38bb04b14cd16a4e60c9904c11e38aef89ab83495ba4a871e5063ed6
41
42#dependencies
43
44depends_lib  port:boost port:bzip2 port:freeglut port:libdevil port:xorg-libXmu port:xorg-libX11
45depends_build port:cmake port:scons
46depends_run port:samtools
47
48####stuff for actually building and compiling
49
50use_configure      no
51build.cmd          scons
52destroot.args      PREFIX=${prefix}
53