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

Last change on this file since 139229 was 139229, checked in by jeremyhu@…, 4 years ago

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

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