Edit

IABSD.fr/ports/sysutils/libfwnt/Makefile

Branch :

  • Show log

    Commit

  • Author : sebastia
    Date : 2026-03-19 09:53:15
    Hash : 02e7f026
    Message : update to 20240415 take MAINTAINER feedback and OK sthen@

  • sysutils/libfwnt/Makefile
  • COMMENT =	library for Windows NT data types
    
    VERSION =	20240415
    DISTNAME =	libfwnt-alpha-${VERSION}
    PKGNAME =	${DISTNAME:S/-alpha//}
    
    SHARED_LIBS +=  fwnt                       0.1 # 1.0
    
    CATEGORIES =	sysutils security
    
    HOMEPAGE =	https://github.com/libyal/libfwnt/wiki
    
    MAINTAINER =	Sebastian Reitenbach <sebastia@openbsd.org>
    
    SITES =		https://github.com/libyal/libfwnt/releases/download/${VERSION}/
    
    # LGPLv3+
    PERMIT_PACKAGE =	Yes
    
    WANTLIB += iconv intl m pthread util ${MODPY_WANTLIB}
    
    CONFIGURE_STYLE =	gnu
    CONFIGURE_ARGS +=	--enable-python --disable-nls
    
    WRKDIST =	${WRKDIR}/${PKGNAME}
    
    MODULES +=	lang/python
    
    BUILD_DEPENDS =	devel/py-setuptools
    
    TEST_DEPENDS += shells/bash
    
    pre-test:
    	sed -i s,#!/bin/bash,#!/${LOCALBASE}/bin/bash, ${WRKSRC}/tests/test_*.sh
    
    
    .include <bsd.port.mk>