mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
33 lines
902 B
Makefile
33 lines
902 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
|
|
|
|
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
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/signal
|
|
${INSTALL_DATA} ${WRKSRC}/signal.so ${STAGEDIR}${PREFIX}/lib/signal
|
|
${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${STAGEDIR}${PREFIX}/lib/signal
|
|
|
|
.include <bsd.port.mk>
|