# $Id: Portfile,v 1.2 2004/07/18 15:46:55 mww Exp $ PortSystem 1.0 name nbtstat version 1.0 categories net platforms darwin maintainers mww@opendarwin.org description grabs NetBIOS name table from a remote machine long_description nbtstat provides the basic functionality of the \ nbtstat utility that is available on Windows. It grabs \ the NetBIOS name table from a remote machine. homepage http://www.watersheep.org/~jim/ master_sites http://www.watersheep.org/~jim/perl/ distfiles ${name}.pl dist_subdir ${name}/${version} checksums md5 bbc3d133ee4907d3d09f837fa2c6fd87 depends_run bin:perl:perl5.8 extract { file mkdir ${worksrcpath} file copy ${distpath}/${distfiles} ${worksrcpath}/nbtstat } configure { reinplace "s|/usr/bin/perl|${prefix}/bin/perl|g" \ ${worksrcpath}/nbtstat } build {} destroot { xinstall -m 755 ${worksrcpath}/nbtstat ${destroot}${prefix}/bin }