Edit

IABSD.fr/ports/sysutils/libevt/Makefile

Branch :

  • Show log

    Commit

  • Author : tb
    Date : 2024-12-22 12:06:33
    Hash : be009bc8
    Message : Use a bdep rather than MODPY_PYBUILD for pulling in setuptools As these ports use autoconf, they don't use MODPY_PYBUILD, and therefore a BDP is the right way. Pointed out by sthen

  • sysutils/libevt/Makefile
  • COMMENT =	library and tools to access the Windows Event Log (EVT)
    
    VERSION = 	20191221
    DISTNAME =	libevt-alpha-${VERSION}
    PKGNAME =	${DISTNAME:S/-alpha//}
    REVISION =	5
    
    SHARED_LIBS +=  evt                       0.0 # 1.0
    
    CATEGORIES =	sysutils security
    
    HOMEPAGE =	https://github.com/libyal/libevt/wiki
    
    SITES =		https://github.com/libyal/libevt/releases/download/${VERSION}/
    
    MAINTAINER = 	Remi Pointel <rpointel@openbsd.org>
    
    # LGPLv3+
    PERMIT_PACKAGE =	Yes
    
    WANTLIB =  ${MODPY_WANTLIB}
    WANTLIB += bfio c iconv intl m pthread util
    
    CONFIGURE_STYLE =	gnu
    CONFIGURE_ARGS +=	--enable-python3 \
    			--without-libfwnt \
    			--without-libregf
    
    WRKDIST =	${WRKDIR}/${PKGNAME}
    
    MODULES +=	lang/python
    
    BUILD_DEPENDS +=	devel/gettext,-tools \
    			devel/py-setuptools
    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>