openbsd-ports/net/tclcurl/Makefile
2022-03-11 19:45:43 +00:00

35 lines
712 B
Makefile

COMMENT = Tcl bindings for Curl
V = 7.19.6
DISTNAME = TclCurl-${V}
CATEGORIES = net
REVISION = 7
MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
# BSD
PERMIT_PACKAGE = Yes
WANTLIB = crypto curl iconv intl nghttp2 ssl z
MASTER_SITES = https://distfiles.sigtrap.nl/
MODULES = lang/tcl
LIB_DEPENDS = devel/gettext,-runtime \
net/curl
BUILD_DEPENDS = ${MODTCL_BUILD_DEPENDS}
RUN_DEPENDS = ${MODTCL_RUN_DEPENDS}
FAKE_FLAGS = PKG_DIR=tclcurl INSTALL_LIBRARY='$$(INSTALL_DATA)'
SEPARATE_BUILD =Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=--with-tcl=${MODTCL_LIBDIR} \
--libdir=${MODTCL_TCLDIR} \
CFLAGS="${CFLAGS} -pthread"
NO_TEST = Yes
SUBST_VARS = VER
VER = ${V:S/.//g}
.include <bsd.port.mk>