source: trunk/dports/lang/qore-devel/Portfile

Last change on this file was 149204, checked in by davidnichols@…, 18 months ago

qore-devel: updated to track post v0.8.12 development

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 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 149204 2016-06-05 15:32:48Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                qore-devel
7version             0.8.12.0.99
8categories          lang
9license             {LGPL-2.1 MIT}
10maintainers         davidnichols pvanek
11
12description         dynamically-typed programming language - development version from git master
13long_description    Qore is a multithreaded, embeddabble programming language designed for SMP scalability. \
14                    This package uses git master. Use the qore package for the latest stable release.
15homepage            http://qore.org
16platforms           darwin
17master_sites        sourceforge
18
19conflicts           qore
20livecheck.type      none
21worksrcdir          trunk
22
23# git fetches are not working for me with SSL errors from github,
24# but only from macports; see https://trac.macports.org/ticket/42063
25fetch.type          svn
26svn.url             https://github.com/qorelanguage/qore/trunk/
27
28depends_build       port:flex \
29                    port:bison \
30                    port:autoconf \
31                    port:automake \
32                    port:libtool
33
34depends_lib         path:lib/libssl.dylib:openssl \
35                    port:pcre \
36                    port:zlib \
37                    port:bzip2 \
38                    port:gmp \
39                    port:mpfr
40
41pre-configure {
42    # reconf.sh is mandatory for git builds. git-revision.h is not created when in an exported directory.
43    system -W ${worksrcpath} "./reconf.sh && echo \"#define BUILD \\\"git_master\\\"\" > ${worksrcpath}/include/qore/intern/git-revision.h"
44}
45
46# --disable-dependency-tracking is safe here. The build is always done in one run.
47#                               It's required to prevent autotools from using -M* options for multiple -arch options
48configure.args      --disable-debug --disable-static --disable-dependency-tracking
49
50# the autoconf check for iconv() in libiconv fails with GNU iconv, but we need it, so we turn it on anyway
51configure.ldflags   -liconv
Note: See TracBrowser for help on using the repository browser.