pkgsrc/net/nbtscan/Makefile
dholland ca901945e8 Add distfile patch:
- pass -Wall, use <ctype.h> correctly, use standard headers, etc.
	- fix up illegal printf usage (existing behavior was undefined)
	- roll in the bug fix from patch-ac
	- declare own functions properly, avoiding LP64 issues

Bump PKGREVISION as some of this fixes bugs.

Prompted by (and includes changes from) PR 49347 from Rob Quinn.
2014-11-23 00:05:30 +00:00

28 lines
724 B
Makefile

# $NetBSD: Makefile,v 1.15 2014/11/23 00:05:30 dholland Exp $
#
DISTNAME= nbtscan-1.5.1
PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.inetcat.net/software/
PATCHFILES= nbtscan-jumbo-patch-20141122.gz
PATCH_SITES= http://www.NetBSD.org/~dholland/patchkits/nbtscan/
PATCH_DIST_STRIP= -p1
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.inetcat.net/software/nbtscan.html
COMMENT= NetBIOS name network scanner
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}a
BUILD_TARGET= nbtscan
INSTALLATION_DIRS= bin share/doc/nbtscan
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nbtscan ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/nbtscan
.include "../../mk/bsd.pkg.mk"