Commits
Marcus Calhoun-Lopez authored and David B. Evans committed bd1898659f7
1 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 2 | |
3 3 | PortSystem 1.0 |
4 - | PortGroup cmake 1.0 |
4 + | PortGroup cmake 1.1 |
5 5 | PortGroup compiler_blacklist_versions 1.0 |
6 6 | |
7 - | cmake.out_of_source yes |
8 - | |
9 7 | name lensfun |
10 8 | epoch 1 |
11 9 | version 0.3.2 |
12 - | revision 3 |
10 + | revision 4 |
13 11 | categories graphics |
14 12 | platforms darwin |
15 13 | maintainers {devans @dbevans} openmaintainer |
16 14 | license GPL-3 LGPL-3 CC-BY-SA |
17 15 | |
18 16 | description Library for fixing lens geometry distortion |
19 17 | |
20 18 | long_description Provides a database of photographic lenses and a library \ |
21 19 | that allows advanced access to the database including \ |
22 20 | functions to correct images based on intimate knowledge \ |
23 21 | of lens characteristics and calibration data. |
24 22 | |
25 23 | homepage http://lensfun.sourceforge.net/ |
26 24 | master_sites sourceforge:project/${name}/${version} |
27 25 | |
28 26 | checksums rmd160 57322f5b6969c90f5549e20229a01e70606cc742 \ |
29 - | sha256 ae8bcad46614ca47f5bda65b00af4a257a9564a61725df9c74cb260da544d331 |
27 + | sha256 ae8bcad46614ca47f5bda65b00af4a257a9564a61725df9c74cb260da544d331 \ |
28 + | size 784825 |
30 29 | |
31 30 | # With 0.3.0 and gcc-4.2: |
32 31 | # #error "I don't know how to change symbol visibility for your compiler" |
33 32 | compiler.blacklist-append *gcc-3.* *gcc-4.* {clang < 100} |
34 33 | |
35 34 | depends_build-append \ |
36 35 | port:pkgconfig |
37 36 | |
38 37 | depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \ |
39 38 | port:libpng \ |
40 39 | port:zlib |
41 40 | |
42 - | set python_version 36 |
41 + | set python_version 37 |
43 42 | set python_branch [string range ${python_version} 0 end-1].[string index ${python_version} end] |
44 43 | |
45 44 | # installs python3 helper scripts lensfun-add-adapter lensfun-update-data |
46 45 | depends_run port:python${python_version} |
47 46 | |
48 47 | patchfiles patch-docs-CMakeLists.txt.diff \ |
49 48 | patch-apps-CMakeLists.txt.diff |
50 49 | |
51 50 | post-patch { |
52 51 | reinplace "s|^#!.*|#!${prefix}/bin/python${python_branch}|" \ |