2015-05-22 00:23:29 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2015/05/22 04:23:29 stu Exp $
|
2013-02-07 00:21:19 -05:00
|
|
|
|
|
|
|
COMMENT = Tcl Database Connectivity
|
|
|
|
|
2015-05-22 00:23:29 -04:00
|
|
|
V = 1.0.3
|
|
|
|
DISTNAME = tdbc${V}
|
|
|
|
PKGNAME = tdbc-${V}
|
|
|
|
SHARED_LIBS = tdbc${V:S/.//g} 0.0
|
2013-02-07 00:21:19 -05:00
|
|
|
CATEGORIES = databases
|
|
|
|
HOMEPAGE = http://tdbc.tcl.tk/
|
|
|
|
MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=tcl/}
|
|
|
|
MODULES = lang/tcl
|
|
|
|
|
|
|
|
# TDBC needs TclOO, which is in Tcl 8.6
|
|
|
|
MODTCL_VERSION = 8.6
|
|
|
|
|
|
|
|
BUILD_DEPENDS = ${MODTCL_BUILD_DEPENDS}
|
|
|
|
RUN_DEPENDS = ${MODTCL_RUN_DEPENDS}
|
2015-05-22 00:23:29 -04:00
|
|
|
|
|
|
|
FAKE_FLAGS = PKG_DIR=tdbc \
|
|
|
|
pkglibdir='$$(libdir)/tcl/$$(PKG_DIR)'
|
|
|
|
|
2013-02-07 00:21:19 -05:00
|
|
|
SEPARATE_BUILD = Yes
|
|
|
|
USE_GROFF = Yes
|
2013-02-07 02:15:03 -05:00
|
|
|
CONFIGURE_STYLE = autoconf no-autoheader
|
2013-02-07 00:21:19 -05:00
|
|
|
|
|
|
|
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
|
|
|
|
--with-tcl=${MODTCL_LIBDIR} \
|
|
|
|
--includedir=${PREFIX}/include/tdbc \
|
2015-05-22 00:23:29 -04:00
|
|
|
SHLIB_VERSION=${LIBtdbc${V:S/.//g}_VERSION}
|
2013-02-07 00:21:19 -05:00
|
|
|
|
2015-05-22 00:23:29 -04:00
|
|
|
AUTOCONF_VERSION = 2.69
|
|
|
|
TEST_TARGET = test
|
2013-02-07 00:21:19 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|