1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/devel/tcllauncher/Makefile
Pietro Cerutti 4e23c21fc1 Add "tea" argument to USES=tcl to facilitate porting of TEA-based extensions.
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.
2016-04-19 14:20:01 +00:00

29 lines
538 B
Makefile

# Created by: gahr
# $FreeBSD$
PORTNAME= tcllauncher
PORTVERSION= 1.6
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= tcltk@FreeBSD.org
COMMENT= Launcher program for Tcl applications
LICENSE= MIT
LIB_DEPENDS= libtclx8.4.so:lang/tclX
USE_GITHUB= yes
GH_ACCOUNT= flightaware
USES+= tcl:tea autoreconf
TCL_PKG= Tcllauncher${PORTVERSION}
PLIST_FILES= bin/${PORTNAME} \
lib/${TCL_PKG}/tcllauncher.tcl \
lib/${TCL_PKG}/tcllauncher-support.tcl \
lib/${TCL_PKG}/pkgIndex.tcl \
man/mann/${PORTNAME}.n.gz
.include <bsd.port.mk>