Edit

IABSD.fr/ports/security/oletools/Makefile

Branch :

  • Show log

    Commit

  • Author : kmos
    Date : 2021-05-21 19:50:21
    Hash : 2795ba23
    Message : Bump the REVISION on all ports that use the python2 version of py-setuptools. Also change the lang/python module to use the new devel/py2-setuptools for python2 ports ok sthen@

  • security/oletools/Makefile
  • # $OpenBSD: Makefile,v 1.13 2021/05/21 19:50:34 kmos Exp $
    
    COMMENT =	python tools to analyze OLE files
    
    MODPY_EGG_VERSION = 0.53.1
    DISTNAME =	oletools-${MODPY_EGG_VERSION}
    REVISION =	0
    
    CATEGORIES =	security
    
    HOMEPAGE =	http://www.decalage.info/python/oletools
    
    MAINTAINER =	Remi Pointel <rpointel@openbsd.org>
    
    # BSD (apart from the thirdparty folder which contains third-party files published with their own license.)
    PERMIT_PACKAGE =	Yes
    
    MODULES =	lang/python
    MODPY_VERSION =	${MODPY_DEFAULT_VERSION_2}
    MODPY_PI =	Yes
    MODPY_SETUPTOOLS =	Yes
    
    EXTRACT_SUFX =	.zip
    
    RUN_DEPENDS +=	${MODPY_TKINTER_DEPENDS} \
    		devel/py-parsing
    
    MODPY_ADJ_FILES = oletools/*.py
    
    post-install:
    	chmod +x ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/oletools/*.py
    #.for i in ezhexviewer mraptor msodde olebrowse oledir oleid olemap olemeta oleobj oletimes olevba pyxswf rtfobj
    #.endfor
    
    NO_TEST =	Yes
    
    .include <bsd.port.mk>