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

Last change on this file since 137482 was 137482, checked in by davidnichols@…, 5 years ago

qore-devel: updated to stable svn rev 7356

  • 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 137482 2015-06-12 15:47:50Z davidnichols@macports.org $
3
4PortSystem          1.0
5
6name                qore-devel
7svn.revision        7356
8version             0.8.11.0.99-${svn.revision}
9revision            0
10categories          lang
11license             {LGPL-2.1 MIT}
12maintainers         davidnichols pvanek
13
14description         dynamically-typed programming language - a SVN trunk version
15long_description    Qore is a multithreaded, embeddabble programming language designed for SMP scalability. \
16                    This package uses SVN trunk. Use the qore package for the latest stable release.
17homepage            http://qore.org
18platforms           darwin
19master_sites        sourceforge
20
21conflicts           qore
22livecheck.type      none
23worksrcdir          trunk
24
25fetch.type          svn
26svn.url             http://svn.code.sf.net/p/qore/code/qore/trunk/
27
28depends_build       port:flex \
29                    port:bison \
30                    port:autoconf \
31                    port:automake \
32                    port:libtool
33
34depends_lib         port: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 svn builds. svn-revision.h is not created when in an exported directory, which is what MacPorts creates unless you request a working copy by setting "svn.method checkout".
43    system -W ${worksrcpath} "./reconf.sh && echo \"#define BUILD 0\" > ${worksrcpath}/include/qore/intern/svn-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.