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 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup cmake 1.0 |
---|
5 | |
---|
6 | name SFML |
---|
7 | version 2.4.1 |
---|
8 | categories multimedia |
---|
9 | platforms darwin |
---|
10 | maintainers gwmail.gwu.edu:egall gmail.com:rkitover openmaintainer |
---|
11 | license zlib |
---|
12 | |
---|
13 | description ${name} is the Simple and Fast Multimedia Library |
---|
14 | |
---|
15 | long_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 | |
---|
20 | homepage http://www.sfml-dev.org/ |
---|
21 | master_sites http://www.sfml-dev.org/download/sfml/${version}/ |
---|
22 | distname ${name}-${version}-sources |
---|
23 | use_zip yes |
---|
24 | |
---|
25 | checksums rmd160 fab652f52772e6f7d418e823dddebb6973020415 \ |
---|
26 | sha256 f75096b2dc9cae67e10a28dbbefc9fe02e9dbe2e1ed50f2e208046bae9d3c9a4 |
---|
27 | |
---|
28 | worksrcdir ${name}-${version} |
---|
29 | |
---|
30 | depends_build-append port:doxygen |
---|
31 | |
---|
32 | depends_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 | |
---|
41 | configure.args-append \ |
---|
42 | -DCMAKE_FRAMEWORK_PATH=${frameworks_dir} \ |
---|
43 | -DCMAKE_INSTALL_FRAMEWORK_PREFIX=${frameworks_dir} \ |
---|
44 | -DSFML_BUILD_DOC=TRUE |
---|