openbsd-ports/net/scapy6/Makefile
2009-03-28 16:18:04 +00:00

36 lines
760 B
Makefile

# $OpenBSD: Makefile,v 1.6 2009/03/28 16:25:13 naddy Exp $
COMMENT= scapy extension to handle IPv6
DISTNAME= scapy6-20070426
PKGNAME= ${DISTNAME}p3
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
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>