sthen d7f0752227 bump all the py3 things, _SYSTEM_VERSION didn't quite work out how
we expected and it's easier|safer to do it this way than fiddle with
pkg_add now. thanks aja for update tests with a quick bulk.
2019-04-28 20:51:26 +00:00

33 lines
741 B
Makefile

# $OpenBSD: Makefile,v 1.15 2019/04/28 20:51:45 sthen Exp $
COMMENT = python interface to the nmap scan data
MODPY_EGG_VERSION = 0.6.1
DISTNAME = python-nmap-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/python/py/}
CATEGORIES = net
REVISION = 1
HOMEPAGE = http://xael.org/norman/python/python-nmap/
MASTER_SITES = http://xael.org/pages/
MAINTAINER = Remi Pointel <rpointel@openbsd.org>
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
RUN_DEPENDS = net/nmap
NO_TEST = Yes
EXAMPLESDIR = ${PREFIX}/share/examples/${MODPY_PY_PREFIX}nmap
post-install:
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/example.py ${EXAMPLESDIR}
.include <bsd.port.mk>