aboutsummaryrefslogtreecommitdiffstats
path: root/lang/q/Makefile
blob: 784f44f2a33a2bb3191388ec0999d9d340c7164d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Created by: ag@muwiinfa.geschichte.uni-mainz.de Albert Graef
# $FreeBSD$

PORTNAME=   q
PORTVERSION=    7.11
PORTREVISION=   12
CATEGORIES= lang
MASTER_SITES=   SF/${PORTNAME}-lang/${PORTNAME}/${PORTVERSION}

MAINTAINER= gahr@FreeBSD.org
COMMENT=    Q -- equational programming language

DEPRECATED= Q-Lang is no longer supported. See lang/pure instead
EXPIRATION_DATE=2013-08-10 

LIB_DEPENDS=    MagickWand:${PORTSDIR}/graphics/ImageMagick \
            curl.6:${PORTSDIR}/ftp/curl \
        freetype.9:${PORTSDIR}/print/freetype2 \
        gdbm.4:${PORTSDIR}/databases/gdbm \
        gmp.10:${PORTSDIR}/math/gmp \
        iodbc.3:${PORTSDIR}/databases/libiodbc \
            xml2.5:${PORTSDIR}/textproc/libxml2 \
        xslt.2:${PORTSDIR}/textproc/libxslt \
        ggi.2:${PORTSDIR}/graphics/libggi

USES=       bison iconv
USE_GCC=    any
USE_TK=     84+
USE_LDCONFIG=   yes

CFLAGS+=    -I${LOCALBASE}/include -fPIC
LDFLAGS+=   -L${LOCALBASE}/lib
GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=--with-magick="`pkg-config ImageMagick --libs`" \
        --with-magick-includes="`pkg-config ImageMagick --cflags`" \
        --with-tk="-L${TK_LIBDIR} -L${TCL_LIBDIR} -ltk${TK_VER:S/.//} -ltcl${TCL_VER:S/.//}" \
        --with-tk-includes="-I${TK_INCLUDEDIR} -I${TCL_INCLUDEDIR}" \
        --with-gdbm="-L${LOCALBASE}/lib -lgdbm" \
        --with-gdbm-includes="-I${LOCALBASE}/include" \
        --with-curl="`curl-config --libs`" \
        --with-curl-includes="`curl-config --cflags`" \
        --with-gmp="-L${LOCALBASE}/lib -lgmp" \
        --with-gmp-includes="-I${LOCALBASE}/include" \
        --with-ggi="-L${LOCALBASE}/lib -lggi" \
        --with-ggi-includes="-I${LOCALBASE}/include" \
        --with-pthread="${PTHREAD_LIBS}" \
        --with-odbc="`iodbc-config --libs`" \
        --with-odbc-includes="`iodbc-config --cflags`"

MAN1=   q.1
INFO=   qdoc

.include <bsd.port.mk>