pkgsrc/net/zenmap/Makefile
jperkin 5393242c73 *: Move SUBST_STAGE from post-patch to pre-configure
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.
2018-07-04 13:40:07 +00:00

28 lines
720 B
Makefile

# $NetBSD: Makefile,v 1.2 2018/07/04 13:40:31 jperkin Exp $
.include "../../net/nmap/Makefile.common"
PKGNAME= ${DISTNAME:S/nmap/zenmap/}
COMMENT= Nmap Security Scanner GUI
WRKSRC= ${WRKDIR}/${DISTNAME}/zenmap
EXTRACT_ELEMENTS= ${DISTNAME}/zenmap
PYTHON_VERSIONS_ACCEPTED= 27
DEPENDS+= nmap-[0-9]*:../../net/nmap
DEPENDS+= ${PYPKGPREFIX}-gtk2-[0-9]*:../../x11/py-gtk2
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
PYSETUPARGS+= vanilla
SUBST_CLASSES+= setup
SUBST_STAGE.setup= pre-configure
SUBST_MESSAGE.setup= Fixing setup.
SUBST_FILES.setup= setup.py
SUBST_SED.setup= -e 's,\(self.create_uninstaller\),\#\1,g'
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"