5393242c73
Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed.
23 lines
577 B
Makefile
23 lines
577 B
Makefile
# $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"
|