Makefile 889 B

12345678910111213141516171819202122232425262728293031323334
  1. # $OpenBSD: Makefile,v 1.7 2016/11/23 19:40:38 rpointel Exp $
  2. COMMENT = python tools to analyze OLE files
  3. MODPY_EGG_VERSION = 0.50
  4. DISTNAME = oletools-${MODPY_EGG_VERSION}
  5. CATEGORIES = security
  6. HOMEPAGE = http://www.decalage.info/python/oletools
  7. MAINTAINER = Remi Pointel <rpointel@openbsd.org>
  8. # BSD (apart from the thirdparty folder which contains third-party files published with their own license.)
  9. PERMIT_PACKAGE_CDROM = Yes
  10. MASTER_SITES = https://github.com/decalage2/oletools/releases/download/v${MODPY_EGG_VERSION}/
  11. MODULES = lang/python
  12. MODPY_SETUPTOOLS = Yes
  13. RUN_DEPENDS += ${MODPY_TKINTER_DEPENDS}
  14. MODPY_ADJ_FILES = oletools/*.py
  15. post-install:
  16. .for i in ezhexviewer mraptor olebrowse oledir oleid olemap olemeta oletimes olevba pyxswf rtfobj
  17. chmod +x ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/oletools/${i}.py
  18. .endfor
  19. NO_TEST = Yes
  20. .include <bsd.port.mk>