summaryrefslogtreecommitdiff
path: root/databases/speedtables/Makefile
blob: 5246f43f01a15a79080e1fc21e831bb961c78d32 (plain)
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.13.10
DISTVERSIONPREFIX=	v
PORTREVISION=	3
CATEGORIES=	databases

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

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libtclx8.4.so:lang/tclX \
		libboost_graph.so:devel/boost-libs
RUN_DEPENDS=	${LOCALBASE}/lib/tcllib/ncgi/ncgi.tcl:devel/tcllib

USES=		autoreconf tcl:tea
CONFIGURE_ARGS=	--with-boost=${LOCALBASE}
MAKE_ENV=	TCLSH=${TCLSH}
TEST_TARGET=	test

USE_GITHUB=	yes
GH_ACCOUNT=	flightaware

PORTDOCS=	*

OPTIONS_DEFINE=	DOCS PGSQL CASSANDRA
CASSANDRA_DESC=		Cassandra database support
PGSQL_CONFIGURE_ON=	--with-pgsql=${LOCALBASE}
PGSQL_USES=		pgsql
PGSQL_VARS=		WANT_PGSQL=pgtcl
CASSANDRA_CONFIGURE_ON=	--with-casstcl=${LOCALBASE}
CASSANDRA_LIB_DEPENDS=	libcasstcl.so:databases/casstcl

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

.include <bsd.port.mk>