openbsd-ports/net/scapy6/Makefile
claudio cff10e3e22 Scapy6 is an extension to Scapy that provides support for IPv6.
A few things may not work correctly but it is usable enough.
OK jasper@
2007-05-05 16:03:05 +00:00

36 lines
784 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2007/05/05 16:03:05 claudio Exp $
COMMENT= "scapy extension to handle IPv6"
DISTNAME= scapy6-20070426
CATEGORIES= net
HOMEPAGE= http://namabiiru.hongo.wide.ad.jp/scapy6
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://diehard.n-r-g.com/files/
MODULES= lang/python
RUN_DEPENDS= :scapy->=1.1:net/scapy \
:python-bz2-*:lang/python/2.4,-bz2
PKG_ARCH= *
NO_REGRESS= Yes
do-build:
perl -p -i -e "s,^(\#\S+ \S+ )python\$$,#!${MODPY_BIN}," \
${WRKSRC}/*.py
do-install:
${INSTALL_DATA_DIR} ${WRKINST}${MODPY_SITEPKG}
${INSTALL_SCRIPT} ${WRKSRC}/scapy6.py ${WRKINST}${MODPY_SITEPKG}
ln -s ${MODPY_SITEPKG}/scapy6.py ${PREFIX}/bin/scapy6
.include <bsd.port.mk>