pkgsrc/net/scapy/options.mk
obache 9629f04c25 * No need to buildlink with python modules, simple DEPENDS is sufficient.
* Convert PYDISTUTILSPKG to register egg-info.

Bump PKGREVISION.
2011-10-16 04:16:49 +00:00

28 lines
670 B
Makefile

# $NetBSD: options.mk,v 1.2 2011/10/16 04:16:49 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.scapy
PKG_SUPPORTED_OPTIONS= scapy-crypto gnuplot scapy-pyx
.include "../../mk/bsd.options.mk"
###
### Add in crypto support for WEP operations
###
.if !empty(PKG_OPTIONS:Mscapy-crypto)
DEPENDS+= ${PYPKGPREFIX}-amkCrypto-[0-9]*:../../security/py-amkCrypto
.endif
###
### Add in gnuplot support for plotting
###
.if !empty(PKG_OPTIONS:Mgnuplot)
DEPENDS+= ${PYPKGPREFIX}-gnuplot-[0-9]*:../../graphics/py-gnuplot
.endif
###
### Add in TeX support for psdump() and/or pdfdump()
###
.if !empty(PKG_OPTIONS:Mscapy-pyx)
DEPENDS+= ${PYPKGPREFIX}-X-[0-9]*:../../textproc/py-X
.endif