Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # $OpenBSD: Makefile,v 1.16 2017/04/23 21:05:47 stu Exp $
  2. COMMENT = small footprint implementation of Tcl
  3. DISTNAME = jimtcl-0.77pl0
  4. SHARED_LIBS = jim 2.3
  5. CATEGORIES = lang devel
  6. HOMEPAGE = http://jim.tcl.tk/
  7. MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
  8. # BSD
  9. PERMIT_PACKAGE_CDROM = Yes
  10. WANTLIB = c crypto m sqlite3 ssl z
  11. GH_ACCOUNT = msteveb
  12. GH_PROJECT = jimtcl
  13. GH_COMMIT = 31a9f433f06b8cc426d281436a628a5fdd3bf755
  14. MODULES = lang/tcl
  15. BUILD_DEPENDS = ${MODTCL_BUILD_DEPENDS} \
  16. textproc/asciidoc
  17. LIB_DEPENDS = databases/sqlite3
  18. MAKE_FLAGS = LIBJIM=libjim.so.${LIBjim_VERSION} \
  19. SH_CFLAGS=${PICFLAG} \
  20. SHOBJ_CFLAGS=${PICFLAG}
  21. FAKE_FLAGS = INSTALL_DATA_DIR='${INSTALL_DATA_DIR}' \
  22. INSTALL_DATA='${INSTALL_DATA}' \
  23. INSTALL_PROGRAM='${INSTALL_PROGRAM}' \
  24. INSTALL_SCRIPT='${INSTALL_SCRIPT}'
  25. SEPARATE_BUILD = Yes
  26. CONFIGURE_STYLE = simple
  27. CONFIGURE_SCRIPT = ${MODTCL_BIN} ${WRKSRC}/autosetup/autosetup
  28. CONFIGURE_ARGS += --enable-shared \
  29. --includedir='$${prefix}/include/jim' \
  30. --docdir='$${prefix}/share/doc/jim' \
  31. --full \
  32. --with-mod='sqlite3 zlib' \
  33. CCACHE=none
  34. CONFIGURE_ENV += WRAPPER=${WRKSRC}/configure \
  35. CFLAGS="${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib"
  36. pre-configure:
  37. @${SUBST_CMD} ${WRKSRC}/{initjimsh.tcl,examples.{api,ext}/Makefile}
  38. .include <bsd.port.mk>