description Network management extensions to Tcl that enables \
TCP/UDP connections, DNS queries, and SNMP. The graphical \
network mapper tkined is also included.
long_description ${description}
homepage http://wiki.tcl.tk/220
checksums md5 40e1aeeee79767b882a78910ad177f78
distfiles ${name}-${version}-rev2813.tar.bz2
#svn.url https://subversion.eecs.iu-bremen.de/svn/schoenw/src/scotty
patchfiles patch-Makefile.in \
patch-configure.in.diff \
patch-tnm-library-init.tcl
startupitem.executable "${prefix}/bin/nmicmpd"
autoconf.dir ${worksrcpath}/unix
configure.dir ${worksrcpath}/unix
build.dir ${worksrcpath}/unix
configure.args --exec_prefix=${prefix} \
destroot.target install sinstall
reinplace "s|\$(INSTALL_ROOT)|${destroot}|g" \
${worksrcpath}/unix/Makefile.in
reinplace "s|\$(BIN_INSTALL_DIR)/nmicmpd|${prefix}/bin/nmicmpd|g" \
${worksrcpath}/unix/Makefile.in
reinplace "s|\$(BIN_INSTALL_DIR)/nmtrapd|${prefix}/bin/nmtrapd|g" \
${worksrcpath}/unix/Makefile.in
ln -s scotty3.0.0 ${destroot}${prefix}/bin/scotty
ln -s tkined1.5.0 ${destroot}${prefix}/bin/tkined