aada88e659
Remove devel/py-ctypes (only needed by and supporting python24). Remove PYTHON_VERSIONS_ACCEPTED and PYTHON_VERSIONS_INCOMPATIBLE lines that just mirror defaults now. Miscellaneous cleanup while editing all these files.
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# $NetBSD: options.mk,v 1.7 2012/04/08 19:09:09 wiz Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.nmap
|
|
|
|
PKG_SUPPORTED_OPTIONS= inet6 zenmap ndiff
|
|
PKG_SUGGESTED_OPTIONS= inet6
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
.endif
|
|
|
|
###
|
|
### Enable dynamically loadable preprocessors, detection engine
|
|
### and rules libraries.
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mzenmap)
|
|
CONFIGURE_ARGS+= --with-zenmap
|
|
PLIST_SRC+= ${PKGDIR}/PLIST.zenmap
|
|
PY_PATCHPLIST= yes
|
|
REPLACE_PYTHON= zenmap/zenmapCore/*.py
|
|
REPLACE_PYTHON+= zenmap/zenmapGUI/*.py
|
|
REPLACE_PYTHON+= zenmap/zenmapGUI/higwidgets/*.py
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../x11/py-gtk2/buildlink3.mk"
|
|
.include "../../databases/py-sqlite2/buildlink3.mk"
|
|
.include "../../textproc/py-xml/buildlink3.mk"
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-zenmap
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mndiff)
|
|
CONFIGURE_ARGS+= --with-ndiff
|
|
PLIST_SRC+= ${PKGDIR}/PLIST.ndiff
|
|
.else
|
|
CONFIGURE_ARGS+= --without-ndiff
|
|
.endif
|