35 lines
726 B
Makefile
35 lines
726 B
Makefile
# $OpenBSD: Makefile,v 1.20 2022/02/22 04:22:21 bket 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 = 4
|
|
|
|
HOMEPAGE = http://xael.org/norman/python/python-nmap/
|
|
MASTER_SITES = http://xael.org/pages/
|
|
|
|
MAINTAINER = Remi Pointel <rpointel@openbsd.org>
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
|
|
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}
|
|
|
|
FLAVORS = python3
|
|
FLAVOR = python3
|
|
|
|
.include <bsd.port.mk>
|