# -*- 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
# $Id: Portfile 90564 2012-03-09 02:22:22Z ryandesign@macports.org $

PortSystem              1.0

name                    q
version                 7.11
revision                3
categories              lang
platforms               darwin
maintainers             ryandesign
homepage                http://q-lang.sourceforge.net/
master_sites            sourceforge:project/q-lang/q/${version}
worksrcdir              ${name}-[lindex [split ${version} -] 0]
use_parallel_build      yes
license                 GPL-2+
supported_archs         i386 ppc

description \
    extensible scripting language

long_description \
    Q is a powerful and extensible scripting language with advanced \
    symbolic processing and functional programming capabilities. Q \
    is based on term rewriting. Consequently, Q scripts are just \
    collections of equations which are used to evaluate expressions \
    in a symbolic fashion. Despite its conceptual simplicity, Q is \
    a full-featured functional programming language with a modern \
    syntax, curried function applications, dynamic object-oriented \
    typing, exception handling, and POSIX multithreading.

depends_lib \
    port:curl \
    port:gettext \
    port:gmp \
    port:libiconv \
    port:libxml2 \
    port:libxslt \
    port:readline \
    port:zlib

checksums \
    md5 18ca956aad555b54efacc0de5b2d79bd \
    sha1 f255c80cee5b09d62b38e72785d12649901c0933 \
    rmd160 61a7eba9857ae2c7c553625a423c62fd737836e4

patchfiles \
    patch-system.c.diff

configure.args \
    --with-curl \
    --with-gmp \
    --with-pthread \
    --with-rl \
    --with-xml \
    --without-dmalloc \
    --without-dxl \
    --without-ft2 \
    --without-gdbm \
    --without-ggi \
    --without-magick \
    --without-odbc \
    --without-tk \
    --without-x

test.run                yes

notes "
The Q programming language has been superseded by Pure\; consider installing the pure port instead.
"

livecheck.type          none
