pkgsrc/net/tcl-scotty/Makefile
he 0efe4873bb Add a patch to fix a race condition in the straps program. If
traps arrive in a steady stream, straps will exit before the client
(scotty) manages to connect, because traps are handled before new
client connections in straps.  Adds a sleep(3) first, and rearranges
the order of handling of these events, so that scotty can get around
to connecting as a client before the first trap is handled by straps.

Bump pkgrevision to 3.
2004-07-07 14:39:33 +00:00

44 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.15 2004/07/07 14:39:33 he Exp $
#
DISTNAME= scotty-${DIST_VERS}
PKGNAME= tcl-scotty-${DIST_VERS}
PKGREVISION= 3
CATEGORIES= net tcl
MASTER_SITES= ftp://ftp.ibr.cs.tu-bs.de/pub/local/tkined/
MAINTAINER= jwise@NetBSD.org
HOMEPAGE= http://wwwhome.cs.utwente.nl/~schoenw/scotty/
COMMENT= Network management extensions to TCL
BUILDLINK_DEPENDS.tcl+= tcl>=8.4.6nb4
PKG_INSTALLATION_TYPES= overwrite pkgviews
DIST_VERS= 2.1.11
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
USE_BUILDLINK3= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-tcl-config=${BUILDLINK_PREFIX.tcl}/lib \
--enable-multicast \
--enable-gdmo --without-tk-config
CONFIGURE_ENV+= TARGET=scotty
USE_LIBTOOL= yes
NO_EXPORT_CPP= yes
.include "../../lang/tcl/buildlink3.mk"
post-extract:
@${RM} -f ${WRKSRC}/../doc/http.n
@${RM} -f ${WRKSRC}/../doc/tkined.1
do-install:
@${CP} ${WRKSRC}/../tnm/ntping/ntping.8 ${WRKSRC}/../doc
@cd ${WRKSRC} && ${MAKE_ENV} ${MAKE} tnm-install install-man sinstall
post-install:
cd ${PREFIX}/bin && ${LN} -f -s scotty${DIST_VERS} scotty
.include "../../mk/bsd.pkg.mk"