mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
29 lines
719 B
Makefile
29 lines
719 B
Makefile
# Created by: gahr
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tcl-signal
|
|
PORTVERSION= 1.4.0.1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.nyx.net/~mschwart/
|
|
DISTNAME= signal_ext${PORTVERSION:R:R}
|
|
|
|
MAINTAINER= tcltk@FreeBSD.org
|
|
COMMENT= Dynamically loadable signal handling for Tcl/Tk scripts
|
|
|
|
USES+= tcl
|
|
GNU_CONFIGURE= yes
|
|
ALL_TARGET= signal.so
|
|
CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR}
|
|
CONFIGURE_ENV+= TCL_INC_DIR=${TCL_INCLUDEDIR}
|
|
|
|
PLIST_FILES= lib/signal/signal.so \
|
|
lib/signal/pkgIndex.tcl
|
|
PLIST_DIRS= lib/signal
|
|
|
|
NO_STAGE= yes
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|\.\./lib||' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
${REINPLACE_CMD} -e 's|mkdir|${MKDIR}|; s|@TCL_PACKAGE_PATH@|@TCL_PREFIX@/lib|g' ${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|