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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name openslide |
---|
7 | version 3.3.0 |
---|
8 | categories graphics |
---|
9 | platforms darwin |
---|
10 | license LGPL-2.1 |
---|
11 | maintainers backtick.net:bgilbert |
---|
12 | description A C library for reading virtual slides. |
---|
13 | long_description OpenSlide is a C library that provides a simple \ |
---|
14 | interface for reading whole-slide images, also known as \ |
---|
15 | virtual slides, which are high-resolution images used in \ |
---|
16 | digital pathology. These images can occupy tens of \ |
---|
17 | gigabytes when uncompressed, and so cannot be easily \ |
---|
18 | read using standard tools or libraries, which are \ |
---|
19 | designed for images that can be comfortably uncompressed \ |
---|
20 | into RAM. Whole-slide images are typically \ |
---|
21 | multi-resolution\; OpenSlide allows reading a small \ |
---|
22 | amount of image data at the resolution closest to a \ |
---|
23 | desired zoom level. OpenSlide can read slides in the \ |
---|
24 | Aperio (.svs or .tif), \ |
---|
25 | Hamamatsu (.vms or .vmu), \ |
---|
26 | Leica (.scn), \ |
---|
27 | MIRAX (.mrxs), \ |
---|
28 | Trestle (.tif), \ |
---|
29 | and generic tiled TIFF (.tif) formats. |
---|
30 | |
---|
31 | homepage http://openslide.org/ |
---|
32 | master_sites https://github.com/downloads/openslide/${name}/ |
---|
33 | use_xz yes |
---|
34 | |
---|
35 | checksums rmd160 3321e4a47721eddad8ffbd26c38d3ba419ed2b50 \ |
---|
36 | sha256 3b932e5b476b4d864d618929302343b90eb3d58a2805e11d311d5d7901a06ac2 |
---|
37 | |
---|
38 | depends_lib port:libpng \ |
---|
39 | port:jpeg \ |
---|
40 | port:tiff \ |
---|
41 | port:openjpeg \ |
---|
42 | port:libxml2 \ |
---|
43 | port:cairo \ |
---|
44 | port:glib2 |
---|
45 | |
---|
46 | post-destroot { |
---|
47 | set docdir ${prefix}/share/doc/${subport} |
---|
48 | xinstall -d ${destroot}${docdir} |
---|
49 | xinstall -m 644 -W ${worksrcpath} \ |
---|
50 | CHANGELOG.txt \ |
---|
51 | CONTRIBUTING.txt \ |
---|
52 | LICENSE.txt \ |
---|
53 | README.txt \ |
---|
54 | TODO.txt \ |
---|
55 | lgpl-2.1.txt \ |
---|
56 | ${destroot}${docdir} |
---|
57 | } |
---|