pkgsrc/net/scapy/Makefile
hasso 7c7af4b3df Update to 2.0.1. Changes are too numerous since 1.0.5 and there is no normal
changelog except log in upstream repository.

Most notably (at least for me) it adds an IPv6 support.
2009-06-09 12:30:02 +00:00

42 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2009/06/09 12:30:02 hasso Exp $
#
DISTNAME= scapy-2.0.1
CATEGORIES= net
MASTER_SITES= http://www.secdev.org/projects/scapy/files/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.secdev.org/projects/scapy/
COMMENT= Interactive packet manipulation program
PKG_DESTDIR_SUPPORT= user-destdir
PYDISTUTILSPKG= yes
NO_BUILD= yes
PYTHON_VERSIONS_ACCEPTED= 26 25
.include "options.mk"
CONF_FILES= ${PREFIX}/share/examples/scapy/ethertypes \
${PKG_SYSCONFDIR}/ethertypes
SUBST_CLASSES+= config
SUBST_STAGE.config= post-patch
SUBST_FILES.config= scapy/data.py
SUBST_SED.config= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g"
SUBST_MESSAGE.config= Fixing paths.
post-extract:
${CP} ${FILESDIR}/ethertypes ${WRKSRC}
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/scapy
${INSTALL_DATA} ${WRKSRC}/ethertypes ${DESTDIR}${PREFIX}/share/examples/scapy/
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../net/py-libpcap/buildlink3.mk"
.include "../../net/py-libdnet/buildlink3.mk"
.include "../../devel/py-readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"