openbsd-ports/net/py-impacket/Makefile

38 lines
972 B
Makefile
Raw Normal View History

2010-11-19 17:31:32 -05:00
# $OpenBSD: Makefile,v 1.5 2010/11/19 22:31:37 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}
2010-08-30 17:21:53 -04:00
REVISION = 1
CATEGORIES = net
HOMEPAGE = http://oss.coresecurity.com/projects/impacket.html
# Apache
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = 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.
2010-11-19 17:31:32 -05:00
RUN_DEPENDS = security/py-crypto \
net/py-pcapy
NO_REGRESS = 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>