Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# -*- 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 | ||
|
||
PortSystem 1.0 | ||
PortGroup github 1.0 | ||
PortGroup python 1.0 | ||
|
||
# 0.12.0 was the last release long time ago | ||
set git_sha 4259c5e | ||
set git_date 2016-12-25 | ||
set git_vers 0.12.0 | ||
python.rootname Minecraft-Overviewer | ||
|
||
# github.setup overviewer Minecraft-Overviewer 0.12.0 v | ||
github.setup overviewer ${python.rootname} ${git_sha} | ||
version ${git_vers}-git-${git_date} | ||
name py-minecraft-overviewer | ||
platforms darwin | ||
license GPL-3 | ||
maintainers mojca openmaintainer | ||
|
||
description Render high-resolution maps of a Minecraft world with a Google Maps powered interface | ||
long_description ${description} | ||
|
||
homepage http://overviewer.org/ | ||
|
||
# We need either this Imaging library or Pil(low) | ||
# http://effbot.org/media/downloads/Imaging-1.1.7.tar.gz | ||
set libname Pillow | ||
set libvers 4.0.0 | ||
set libfile ${libname}-${libvers}${extract.suffix} | ||
set mainfile ${python.rootname}-${git_sha}${extract.suffix} | ||
|
||
master_sites-append pypi:P/${libname}:pil | ||
distfiles-append ${libfile}:pil | ||
|
||
checksums ${mainfile} \ | ||
rmd160 de2af61ce030a71311c4bafcc0e8e428371980ac \ | ||
sha256 934a305ad31b7f393ccec9410bcf1710f06423d8d2a77dbdc578d13522e954cd \ | ||
${libfile} \ | ||
rmd160 018edb6030851a4ae17eba1ec9e0b03933b4922b \ | ||
sha256 ee26d2d7e7e300f76ba7b796014c04011394d0c4a5ed9a288264a3e443abca50 | ||
|
||
python.versions 27 | ||
|
||
if {${name} ne ${subport}} { | ||
build.env-append \ | ||
PIL_INCLUDE_DIR=${workpath}/${libname}-${libvers}/libImaging/ | ||
|
||
depends_build-append \ | ||
port:py${python.version}-numpy | ||
depends_run-append \ | ||
port:py${python.version}-numpy | ||
|
||
livecheck.type none | ||
} |