Edit

IABSD.fr/ports/sysutils/libvhdi/Makefile

Branch :

  • Show log

    Commit

  • Author : rpointel
    Date : 2017-04-05 11:44:45
    Hash : 81574b9c
    Message : update libvhdi to 20170223. ok benoit@.

  • sysutils/libvhdi/Makefile
  • # $OpenBSD: Makefile,v 1.2 2017/04/05 11:44:45 rpointel Exp $
    
    COMMENT =	library and tools to access the VHD image format
    
    VERSION = 	20170223
    DISTNAME =	libvhdi-alpha-${VERSION}
    PKGNAME =	${DISTNAME:S/-alpha//}
    
    SHARED_LIBS +=  vhdi                       0.0 # 1.0
    
    CATEGORIES =	sysutils security
    
    HOMEPAGE =	https://github.com/libyal/libvhdi/wiki
    
    MASTER_SITES =	https://github.com/libyal/libvhdi/releases/download/${VERSION}/
    
    MAINTAINER =	Remi Pointel <rpointel@openbsd.org>
    
    # LGPLv3+
    PERMIT_PACKAGE_CDROM =	Yes
    
    WANTLIB += bfio c fuse m pthread util ${MODPY_WANTLIB}
    
    CONFIGURE_STYLE =	gnu
    CONFIGURE_ARGS +=	--enable-python
    
    WRKDIST =	${WRKDIR}/${PKGNAME}
    
    MODULES +=	devel/gettext \
    		lang/python
    
    LIB_DEPENDS +=	devel/libbfio
    
    TEST_DEPENDS +=	shells/bash
    
    pre-test:
    	sed -i s,#!/bin/bash,#!/${LOCALBASE}/bin/bash, ${WRKSRC}/tests/test_*.sh
    
    .include <bsd.port.mk>