# Created by: Denis Shaposhnikov # $FreeBSD: head/devel/ztcl/Makefile 413730 2016-04-21 12:45:16Z gahr $ PORTNAME= ztcl DISTVERSION= 1.0b4 PORTREVISION= 1 CATEGORIES= devel tcl MASTER_SITES= http://download.gna.org/ztcl/1.0/ DISTNAME= ${PORTNAME}_${DISTVERSION}_src MAINTAINER= dsh@vlink.ru COMMENT= Zlib extension library for the Tcl LICENSE= LGPL21 LIB_DEPENDS= libtclmore0.so:devel/tclmore OPTIONS_DEFINE= DOCS USES= gmake tcl:tea USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${DISTNAME:S/_src$//} INFO= ${PORTNAME} ${PORTNAME}-zlib CONFIGURE_ARGS= --with-tclmorescripts=${LOCALBASE}/libexec/tclmore \ --enable-threads MAKE_ENV+= STAGEDIR=${STAGEDIR} CPPFLAGS+= -I ${LOCALBASE}/include LDFLAGS+= -L ${LOCALBASE}/lib PORTDOCS= * post-extract: ${MV} ${WRKSRC}/doc/zlib.texi ${WRKSRC}/doc/${PORTNAME}-zlib.texi .include