aeabbc16ff
Speed tables is a high-performance memory-resident database, currently oriented towards Tcl. Speed tables provides an interface for defining tables containing zero or more rows, with each row containing one or more fields. The speed table compiler reads the table definition and generates C code to create and manage corresponding structures, generating a custom C language Tcl extension to create, access and manipulate those tables and building a native code package in a shared library that is loadable on demand via Tcl's "package require" mechanism. WWW: http://flightaware.github.io/speedtables/
42 lines
893 B
Makefile
42 lines
893 B
Makefile
# Created by: gahr
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= speedtables
|
|
PORTVERSION= 1.8.3
|
|
CATEGORIES= databases
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
COMMENT= High-performance memory-resident database
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
LIB_DEPENDS= libtclx8.4.so:${PORTSDIR}/lang/tclX
|
|
|
|
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= 09c623c
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+=--exec-prefix=${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>
|