# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 85558 2011-10-14 11:11:45Z jmr@macports.org $

PortSystem      1.0

name            nbtscan
version         1.5.1
revision        1
categories      security
maintainers     googlemail.com:usx303

description     NBTscan

long_description \
                NBTscan is a program for scanning IP networks for NetBIOS \
                name information. It sends NetBIOS status query to each \
                address in supplied range and lists received information in \
                human readable form. For each responded host it lists IP \
                address, NetBIOS computer name, logged-in user name and MAC \
                address.

homepage        http://www.inetcat.net/software/nbtscan.html

master_sites    http://www.inetcat.net/software/

worksrcdir      ${name}-${version}a

platforms       darwin

checksums       md5    85bb085077c380b82a6ff73e0de0c154 \
                sha1   4041d8f6b592fa310b8d3c79c56a2d3263dba82f\
                rmd160 5130d9e6decd3346859281f45f8a179aa0286a42

patch.pre_args  -p1
patchfiles      debian-patches-04_fix_compiler_warnings.diff \
                debian-patches-05_fix_off_by_one.diff

build.type      gnu

build.target    nbtscan

destroot.args   BINDIR=${destroot}${prefix}/bin
