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

PORTNAME=	speedtables
PORTVERSION=	1.9.0
DISTVERSIONPREFIX=	v
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

USE_GITHUB=	yes
GH_ACCOUNT=	flightaware

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

PORTDOCS=	*

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

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

.include <bsd.port.mk>