source: trunk/dports/lang/falcon/Portfile

Last change on this file was 134182, checked in by snc@…, 2 years ago

falcon: use build.dir rather than hard-coding build/, thanks larryv

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 134182 2015-03-19 19:47:19Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6
7name                falcon
8version             0.9.6.8
9revision            1
10categories          lang
11maintainers         snc openmaintainer
12license             {GPL-2 FPLL-1.1}
13description         simple, fast and powerful programming language, easy to \
14                    learn and to feel comfortable with, and a scripting engine \
15                    ready to empower mission-critical multithreaded applications.
16long_description    Falcon provides six integrated programming paradigms: \
17                    procedural, object oriented, prototype oriented, functional, \
18                    tabular and message oriented. And you don't have to master \
19                    all of them\; you just need to pick the ingredients you \
20                    prefer, and let the code to follow your inspiration.
21
22homepage            http://www.falconpl.org
23platforms           darwin
24depends_lib-append  port:curl \
25                    port:freetype \
26                    port:gtk2
27
28master_sites        ${homepage}/project_dl/_official_rel/
29distname            Falcon-${version}
30extract.suffix      .tgz
31
32checksums           rmd160  f85470ed461a816da5c1c58602d22a92d4add252 \
33                    sha256  f4b00983e7f91a806675d906afd2d51dcee048f12ad3af4b1dadd92059fa44b9
34
35cmake.out_of_source yes
36configure.args-append   -DFALCON_BUILD_SDL=OFF
37
38post-build {
39    system -W ${build.dir}/lib "install_name_tool -id ${prefix}/lib/libfalcon_engine.1.dylib libfalcon_engine.1.dylib"
40    foreach file [glob ${build.dir}/lib/falcon/*dylib] {
41        system -W ${build.dir}/lib/falcon "install_name_tool -change libfalcon_engine.1.dylib ${prefix}/lib/libfalcon_engine.1.dylib $file"
42    }
43}
44
45livecheck.type      regex
46livecheck.url       ${homepage}/index.ftd?page_id=official_download
47livecheck.regex     Falcon-(\\d+(\\.\\d+)+)
Note: See TracBrowser for help on using the repository browser.