Ticket #51218: Portfile

File Portfile, 1.4 KB (added by mojca (Mojca Miklavec), 9 years ago)

Portfile for py-minecraft-overviewer

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 147588 2016-04-08 22:59:10Z mojca@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           github 1.0
7
8github.setup        overviewer Minecraft-Overviewer 0.12.0 v
9name                py-minecraft-overviewer
10platforms           darwin
11license             GPL-3
12maintainers         mojca openmaintainer
13
14description         Render high-resolution maps of a Minecraft world with a Google Maps powered interface
15long_description    ${description}
16
17homepage            http://overviewer.org/
18
19# http://effbot.org/media/downloads/Imaging-1.1.7.tar.gz
20
21checksums           rmd160  d78fac35d217b2d10aaa593d3950210bba9275ef \
22                    sha256  57f4ccd15aa082f938a0c926aad50b3fd2f27b70c9847ae77bcbfc43a5d0b769
23
24python.versions     27 34 35
25
26if {${name} ne ${subport}} {
27    patchfiles          patch-noinline.diff
28
29    set path_to_pil     "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-Pillow/py27-Pillow/work/Pillow-3.2.0/libImaging"
30    build.env-append    PIL_INCLUDE_DIR=${path_to_pil}
31
32    # depends_build-append \
33    #                 port:py${python.version}-foo
34    # depends_run-append \
35    #                 port:py${python.version}-bar
36
37    livecheck.type      none
38}