Ticket #38987: Portfile.3

File Portfile.3, 1.6 KB (added by rkitover (Rafael Kitover), 7 years ago)

Updated Portfile

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
3PortSystem          1.0
4PortGroup           cmake 1.0
5
6name                SFML
7version             2.4.1
8categories          multimedia
9platforms           darwin
10maintainers         gwmail.gwu.edu:egall gmail.com:rkitover openmaintainer
11license             zlib
12
13description         ${name} is the Simple and Fast Multimedia Library
14
15long_description    ${description}. It provides a simple interface to the various \
16                    components of your computer, to ease the development of games and \
17                    multimedia applications. It is composed of five modules: system, \
18                    window, graphics, audio and network.
19
20homepage            http://www.sfml-dev.org/
21master_sites        http://www.sfml-dev.org/download/sfml/${version}/
22distname            ${name}-${version}-sources
23use_zip             yes
24
25checksums           rmd160  fab652f52772e6f7d418e823dddebb6973020415 \
26                    sha256  f75096b2dc9cae67e10a28dbbefc9fe02e9dbe2e1ed50f2e208046bae9d3c9a4
27
28worksrcdir          ${name}-${version}
29
30depends_build-append port:doxygen
31
32depends_lib-append  port:glew \
33                    port:freetype \
34                    port:jpeg \
35                    port:libsndfile \
36                    port:mesa \
37                    port:flac \
38                    port:libogg \
39                    port:libvorbis
40
41configure.args-append \
42                    -DCMAKE_FRAMEWORK_PATH=${frameworks_dir} \
43                    -DCMAKE_INSTALL_FRAMEWORK_PREFIX=${frameworks_dir} \
44                    -DSFML_BUILD_DOC=TRUE