38 lines
972 B
Makefile
38 lines
972 B
Makefile
# $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}
|
|
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.
|
|
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>
|