source: trunk/dports/x11/fireworkx/Portfile

Last change on this file was 122805, checked in by khindenburg@…, 3 years ago

fireworkx: whitespace - add modeline

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
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: Portfile 122805 2014-07-30 15:00:45Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                fireworkx
7version             2.2
8categories          x11
9license             GPL-2+
10platforms           darwin
11maintainers         nomaintainer
12description         pyrotechnic simulation eye-candy for X11
13long_description    ${description}
14
15homepage            http://www.ronybc.com/fireworkx.php
16master_sites        http://www.ronybc.com/download
17extract.suffix      .src${extract.suffix}
18
19checksums           rmd160  ee1a8af9148421fbe4c50cbf6ad23ecfbfec48bf \
20                    sha256  fb24bd3fb103987913638fd271269e0235dc0c32e34c95652e49c0c81749a44d
21
22depends_build-append    port:pkgconfig port:cctools
23depends_lib         port:xorg-libX11
24
25use_configure       no
26
27post-patch {
28    reinplace "s|pkg-config|${prefix}/bin/pkg-config|" ${worksrcpath}/compile_x11
29    reinplace "s|strip -sv|strip |" ${worksrcpath}/compile_x11
30}
31
32destroot {
33    xinstall -m 755 -s ${worksrcpath}/fireworkx-x11 ${destroot}${prefix}/bin/${name}
34    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
35    xinstall -m 644 -W ${worksrcpath} ChangeLog.txt LICENSE \
36        ${destroot}${prefix}/share/doc/${name}
37}
38
39variant universal {}
40
41build.cmd "./compile_x11 fireworkx-x11"
42build.args CFLAGS="${configure.cflags} [get_canonical_archflags cc] ${configure.cppflags}" \
43           LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" \
44           CC="${configure.cc}"
45
46livecheck.type  regex
47livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
48
Note: See TracBrowser for help on using the repository browser.