source: trunk/dports/devel/libsdl2_ttf/Portfile

Last change on this file was 145421, checked in by jmr@…, 18 months ago

libsdl2_ttf: update to 2.0.14

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 145421 2016-02-04 20:16:21Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            libsdl2_ttf
6set my_name         SDL2_ttf
7version         2.0.14
8categories      devel graphics
9platforms       darwin
10license         zlib
11maintainers     jmr openmaintainer
12description     add on library for libSDL for rendering TrueType fonts
13
14long_description \
15    This library is a wrapper around FreeType and \
16    allows rendering TrueType fonts in SDL applications.
17
18homepage        http://www.libsdl.org/projects/SDL_ttf/
19master_sites    ${homepage}release/
20distname        ${my_name}-${version}
21
22checksums       rmd160 a3cfa00535220c8dc9034bc94dce064fb22c4b85 \
23                sha256 34db5e20bcf64e7071fe9ae25acaa7d72bdc4f11ab3ce59acc768ab62fe39276
24
25depends_build   port:pkgconfig
26depends_lib     port:libsdl2 \
27                port:freetype
28
29configure.args  --disable-sdltest \
30                ac_cv_path_FREETYPE_CONFIG="pkg-config freetype2"
31
32post-destroot {
33    set docdir ${prefix}/share/doc/${name}
34    xinstall -d ${destroot}${docdir}
35    xinstall -m 0644 -W ${worksrcpath} CHANGES.txt COPYING.txt README.txt \
36        ${destroot}${docdir}
37}
38
39livecheck.type  regex
40livecheck.url   ${homepage}
41livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.