mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
38 lines
877 B
Plaintext
38 lines
877 B
Plaintext
PortSystem 1.0
|
|
|
|
name nbtstat
|
|
version 20041203
|
|
categories net
|
|
license GPL
|
|
platforms any
|
|
supported_archs noarch
|
|
maintainers nomaintainer
|
|
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 sha1 e2aa2c62c06485d257cae5e243dc4408aff92023
|
|
|
|
depends_run path:bin/perl:perl5
|
|
|
|
extract.mkdir yes
|
|
extract {
|
|
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
|
|
}
|