Edit

IABSD.fr/ports/sysutils/binwalk/Makefile

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2014-08-20 00:29:15
    Hash : c8e507e1
    Message : handler new py-libmagic, breakage reported by chris@

  • sysutils/binwalk/Makefile
  • # $OpenBSD: Makefile,v 1.3 2014/08/20 00:29:15 sthen Exp $
    
    COMMENT=	tool for reverse-engineering and analysing firmware blobs
    
    MODPY_EGG_VERSION = 1.2.2_1
    DISTNAME=	binwalk-1.2.2-1
    PKGNAME=	binwalk-1.2.2.1
    REVISION=	0
    
    CATEGORIES=	sysutils
    
    HOMEPAGE=	http://code.google.com/p/binwalk/
    
    MAINTAINER=	Stuart Henderson <sthen@openbsd.org>
    
    # MIT
    PERMIT_PACKAGE_CDROM=	Yes
    
    MASTER_SITES=	http://binwalk.googlecode.com/files/
    
    MODULES=	lang/python
    BUILD_DEPENDS=	${RUN_DEPENDS}
    RUN_DEPENDS=	devel/py-libmagic \
    		graphics/py-matplotlib
    
    NO_TEST=	Yes
    
    WRKSRC=		${WRKDIST}/src
    
    pre-configure:
    	rm ${WRKSRC}/magic/*.orig # don't include pre-patched files in the generated amalgamation
    
    post-install:
    	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/binwalk
    	${INSTALL_DATA} ${WRKDIST}/docs/* ${PREFIX}/share/doc/binwalk/
    
    .include <bsd.port.mk>