summaryrefslogtreecommitdiff
path: root/net/ndiff/Makefile
blob: 6d839215489de3e883e8551f524df151c49107ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $NetBSD: Makefile,v 1.2 2018/07/04 13:40:29 jperkin Exp $

.include "../../net/nmap/Makefile.common"

PKGNAME=	${DISTNAME:S/nmap/ndiff/}

COMMENT=	Compares Nmap scans

WRKSRC=		${WRKDIR}/${DISTNAME}/ndiff

EXTRACT_ELEMENTS=	${DISTNAME}/ndiff

PYTHON_VERSIONS_ACCEPTED=	27

SUBST_CLASSES+=		setup
SUBST_STAGE.setup=	pre-configure
SUBST_MESSAGE.setup=	Fixing setup.
SUBST_FILES.setup=	setup.py
SUBST_SED.setup=	-e 's,share/man,${PKGMANDIR},g'
SUBST_SED.setup+=	-e 's,\(self.create_uninstaller\),\#\1,g'

.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"