source: trunk/dports/lang/q/Portfile @ 110628

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

q: Build with clang

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 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 110628 2013-09-03 00:02:52Z jeremyhu@macports.org $
3
4PortSystem              1.0
5
6name                    q
7version                 7.11
8revision                3
9categories              lang
10platforms               darwin
11maintainers             ryandesign
12homepage                http://q-lang.sourceforge.net/
13master_sites            sourceforge:project/q-lang/q/${version}
14worksrcdir              ${name}-[lindex [split ${version} -] 0]
15use_parallel_build      yes
16license                 GPL-2+
17supported_archs         i386 ppc
18
19description \
20    extensible scripting language
21
22long_description \
23    Q is a powerful and extensible scripting language with advanced \
24    symbolic processing and functional programming capabilities. Q \
25    is based on term rewriting. Consequently, Q scripts are just \
26    collections of equations which are used to evaluate expressions \
27    in a symbolic fashion. Despite its conceptual simplicity, Q is \
28    a full-featured functional programming language with a modern \
29    syntax, curried function applications, dynamic object-oriented \
30    typing, exception handling, and POSIX multithreading.
31
32depends_lib \
33    port:curl \
34    port:gettext \
35    port:gmp \
36    port:libiconv \
37    port:libxml2 \
38    port:libxslt \
39    port:readline \
40    port:zlib
41
42checksums \
43    md5 18ca956aad555b54efacc0de5b2d79bd \
44    sha1 f255c80cee5b09d62b38e72785d12649901c0933 \
45    rmd160 61a7eba9857ae2c7c553625a423c62fd737836e4
46
47patchfiles \
48    patch-system.c.diff
49
50configure.args \
51    --with-curl \
52    --with-gmp \
53    --with-pthread \
54    --with-rl \
55    --with-xml \
56    --without-dmalloc \
57    --without-dxl \
58    --without-ft2 \
59    --without-gdbm \
60    --without-ggi \
61    --without-magick \
62    --without-odbc \
63    --without-tk \
64    --without-x
65
66# error: non-void function ... should return a value [-Wreturn-type]
67# TODO: Actually fix this bug rather than masking the issue
68if {[string match *clang* ${configure.compiler}]} {
69    configure.cflags-append -Wno-return-type
70}
71
72test.run                yes
73
74notes "
75The Q programming language has been superseded by Pure\; consider installing the pure port instead.
76"
77
78livecheck.type          none
Note: See TracBrowser for help on using the repository browser.