openbsd-ports/security/py-vivisect/Makefile
2018-03-09 16:51:59 +00:00

36 lines
868 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2018/03/09 16:51:59 rpointel Exp $
COMMENT = vivisect analysis and debugging framework
MODPY_EGG_VERSION = 0.0.1a
DISTNAME = vivisect-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
GH_ACCOUNT = vivisect
GH_PROJECT = vivisect
GH_COMMIT = 7be4037b1cecc4551b397f840405a1fc606f9b53
CATEGORIES = security devel
# Apache v2
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
MODPY_ADJ_FILES = vdbbin vivbin
do-build:
${MODPY_BIN} -m compileall ${WRKSRC}
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/
${INSTALL_SCRIPT} ${WRKSRC}/vdbbin ${PREFIX}/bin/
${INSTALL_SCRIPT} ${WRKSRC}/vivbin ${PREFIX}/bin/
.for lib in Elf PE cobra envi vdb visgraph vivisect vqt vstruct vtrace
cp -r ${WRKSRC}/${lib} ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/
.endfor
NO_TEST = Yes
.include <bsd.port.mk>