Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # $OpenBSD: Makefile,v 1.8 2017/06/02 19:54:15 schwarze Exp $
  2. COMMENT = sqlite3 module for TDBC
  3. V = 1.0.4
  4. DISTNAME = tdbcsqlite3-${V}
  5. PKGNAME = tdbc-sqlite3-${V}
  6. REVISION = 0
  7. CATEGORIES = databases
  8. HOMEPAGE = http://tdbc.tcl.tk/
  9. MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
  10. # BSD
  11. PERMIT_PACKAGE_CDROM = Yes
  12. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=tcl/}
  13. MODULES = lang/tcl
  14. # TDBC needs TclOO, which is in Tcl 8.6
  15. MODTCL_VERSION = 8.6
  16. BUILD_DEPENDS = ${MODTCL_BUILD_DEPENDS} \
  17. databases/tdbc
  18. RUN_DEPENDS = ${MODTCL_RUN_DEPENDS} \
  19. databases/tdbc \
  20. databases/sqlite3-tcl
  21. TEST_DEPENDS = databases/sqlite3-tcl
  22. FAKE_FLAGS = tmdir=${MODTCL_MODDIR}/${MODTCL_VERSION:S/.//}
  23. TEST_FLAGS = SCRIPT='${WRKSRC}/tests/all.tcl ${TESTFLAGS} \
  24. -load "package ifneeded tdbc::sqlite3 ${V} \
  25. [list source ${WRKSRC}/library/tdbcsqlite3.tcl]"'
  26. SEPARATE_BUILD = Yes
  27. CONFIGURE_STYLE = gnu
  28. CONFIGURE_ARGS += --with-tcl=${MODTCL_LIBDIR} \
  29. --with-tdbc=${MODTCL_TCLDIR}/tdbc
  30. TEST_TARGET = shell
  31. NO_BUILD = Yes
  32. SUBST_VARS += V
  33. .include <bsd.port.mk>