openbsd-ports/net/py-impacket/Makefile
2013-03-11 11:35:43 +00:00

35 lines
889 B
Makefile

# $OpenBSD: Makefile,v 1.8 2013/03/11 11:35:55 espie Exp $
COMMENT = Python classes providing access to network packets
MODPY_EGG_VERSION = 0.9.6.0
DISTNAME = Impacket-${MODPY_EGG_VERSION}
PKGNAME = py-impacket-${MODPY_EGG_VERSION}
REVISION = 3
CATEGORIES = net
HOMEPAGE = http://oss.coresecurity.com/projects/impacket.html
# Apache
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = http://oss.coresecurity.com/repo/
MODULES = lang/python
# one example also uses python-tkinter, but it's pretty heavy and
# not required for normal use.
RUN_DEPENDS = security/py-crypto \
net/py-pcapy
NO_TEST = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-impacket
mv ${PREFIX}/share/doc/Impacket/ ${PREFIX}/share/doc/py-impacket
mv ${PREFIX}/bin/*py ${PREFIX}/share/examples/py-impacket
mv ${PREFIX}/bin/* ${PREFIX}/share/doc/py-impacket
.include <bsd.port.mk>