4e23c21fc1
Quoting https://tcl.tk/doc/tea: "The Tcl Extension Architecture, or TEA, by John Ousterhout and others, is a set of guidelines and techniques for the distribution, configuration, compilation, and installation of Tcl extensions. TEA also provides a set of utilities that operate accordingly. Many Tcl extensions leverage the TEA utilities, which are designed to be easily customizable." To facilitate the porting of TEA-based extensions, I have added the new "tea" argument to USES=tcl. This argument prepares the autoconf environment by setting GNU_CONFIGURE and sets some commonly used CONFIGURE_ARGS. Also, it tries to figure out the correct extension name, sets TCL_PKG accordingly, and adds it to PLIST_SUB. I have modified a few ports to take advantage of this. More will come.
22 lines
448 B
Makefile
22 lines
448 B
Makefile
# Created by: Denis Shaposhnikov <dsh@vlink.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tclmore
|
|
PORTVERSION= 0.7b1
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel tcl
|
|
MASTER_SITES= http://download.gna.org/tclmore/0.7/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}_src
|
|
|
|
MAINTAINER= dsh@vlink.ru
|
|
COMMENT= More TCL commands
|
|
|
|
USES= gmake makeinfo tcl:tea
|
|
USE_LDCONFIG= yes
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/_src$//}
|
|
|
|
INFO= ${PORTNAME}
|
|
|
|
MAKE_ENV+= STAGEDIR=${STAGEDIR}
|
|
|
|
.include <bsd.port.mk>
|