Ticket #46346: Portfile

File Portfile, 1.7 KB (added by jul_bsd@…, 10 years ago)
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$
3
4PortSystem          1.0
5
6PortGroup           github 1.0
7
8## no release
9github.setup        ThibaultReuille raindance 0.1
10categories-append   devel
11platforms           darwin
12license             BSD
13maintainers         yahoo.fr:jul_bsd openmaintainer
14description         3D Engine written in C++11 (LLVM compatible) using OpenGL ES, GLFW, GLM and OpenCL.
15long_description    ${description}
16
17## FIXME! include LeapSDK but require to register to download
18depends_lib         port:glew port:glm port:freeglut
19
20use_configure       no
21
22master_sites        https://github.com/ThibaultReuille/raindance/archive/
23version             20141201
24distname            a4c285318c93cbb0c34a97e51fcd7f0ed524735f
25worksrcdir          ${name}-${distname}
26
27checksums           rmd160  8f3d611b6e561019dbffd26bb771c09dadc9a622 \
28                    sha256  f2d5c7242b17cbb70b4726c69c5fb7a1e3747859446e401f440901e287a44825
29
30destroot {
31    xinstall -d ${destroot}${prefix}/include/raindance
32    xinstall -m 755 ${worksrcpath}/Raindance.hh ${destroot}${prefix}/include/raindance/
33    xinstall -m 755 ${worksrcpath}/Pack.hh ${destroot}${prefix}/include/raindance/
34    copy ${worksrcpath}/Core ${destroot}${prefix}/include/raindance/
35    xinstall -d ${destroot}${prefix}/include/${name}/Lib
36    xinstall -m 644 ${worksrcpath}/Lib/picojson.h ${destroot}${prefix}/include/raindance/Lib/
37    xinstall -m 644 ${worksrcpath}/Lib/stb_image.c ${destroot}${prefix}/include/raindance/Lib/
38    xinstall -m 644 ${worksrcpath}/Lib/stb_image_write.h ${destroot}${prefix}/include/raindance/Lib/
39    copy ${worksrcpath}/Resources ${destroot}${prefix}/include/${name}/
40}
41