aboutsummaryrefslogtreecommitdiffstats
path: root/databases/speedtables/Makefile
blob: 52e6628c4637fcc559efbbb7ca8cf7f585c414a8 (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
# Created by: gahr
# $FreeBSD$

PORTNAME=   speedtables
PORTVERSION=    1.9.0
CATEGORIES= databases

MAINTAINER= ports@FreeBSD.org
COMMENT=    High-performance memory-resident database

LICENSE=    BSD3CLAUSE

LIB_DEPENDS=    libtclx8.4.so:${PORTSDIR}/lang/tclX \
        libboost_graph.so:${PORTSDIR}/devel/boost-libs

OPTIONS_DEFINE= DOCS PGSQL
PGSQL_CONFIGURE_ON= --with-pgsql=${LOCALBASE}
PGSQL_LIB_DEPENDS=  libpgtcl2.0.0.so:${PORTSDIR}/databases/postgresql94-pgtcl

PORTDOCS=   *

USES=       tcl

USE_AUTOTOOLS=  autoconf
USE_GITHUB= yes
GH_ACCOUNT= flightaware
GH_TAGNAME= v${PORTVERSION}
GH_COMMIT=  26b4b13

GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=--exec-prefix=${PREFIX} \
        --with-boost=${PREFIX} \
        --with-tcl=${TCL_LIBDIR}

pre-configure:
    @cd ${WRKSRC} && ${AUTORECONF}

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC}/ctables/docs/manual && \
        ${COPYTREE_SHARE} \*.html ${STAGEDIR}${DOCSDIR} && \
        ${COPYTREE_SHARE} \*.css ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>