source: trunk/dports/net/nbtstat/Portfile

Last change on this file was 110558, checked in by jmr@…, 4 years ago

nbtstat: license, noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 897 bytes
Line 
1# $Id: Portfile 110558 2013-09-02 05:53:30Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            nbtstat
6version         20041203
7categories      net
8license         GPL
9platforms       darwin
10supported_archs noarch
11maintainers     nomaintainer
12description     grabs NetBIOS name table from a remote machine
13long_description        nbtstat provides the basic functionality of the \
14                        nbtstat utility that is available on Windows. It grabs \
15                        the NetBIOS name table from a remote machine.
16
17homepage        http://www.watersheep.org/~jim/
18master_sites    http://www.watersheep.org/~jim/perl/
19distfiles       ${name}.pl
20dist_subdir     ${name}/${version}
21checksums       sha1 e2aa2c62c06485d257cae5e243dc4408aff92023
22
23depends_run     path:bin/perl:perl5
24
25extract {
26        file mkdir ${worksrcpath}
27        file copy ${distpath}/${distfiles} ${worksrcpath}/nbtstat
28}
29
30configure       {
31        reinplace "s|/usr/bin/perl|${prefix}/bin/perl|g" \
32                ${worksrcpath}/nbtstat
33}
34
35build   {}
36
37destroot        {
38        xinstall -m 755 ${worksrcpath}/nbtstat ${destroot}${prefix}/bin
39}
Note: See TracBrowser for help on using the repository browser.