Edit

IABSD.fr/ports/sysutils/libregf/Makefile

Branch :

  • Show log

    Commit

  • Author : naddy
    Date : 2017-11-21 00:12:59
    Hash : 1a87aebd
    Message : mechanical replacement of the gettext module

  • sysutils/libregf/Makefile
  • # $OpenBSD: Makefile,v 1.4 2017/11/21 00:13:03 naddy Exp $
    
    COMMENT =	library and tools to access the Windows NT Registry File
    
    VERSION = 	20170130
    DISTNAME =	libregf-alpha-${VERSION}
    PKGNAME =	${DISTNAME:S/-alpha//}
    REVISION =	0
    
    SHARED_LIBS +=  regf                       0.0 # 1.0
    
    CATEGORIES =	sysutils security
    
    HOMEPAGE =	https://github.com/libyal/libregf/wiki
    
    MASTER_SITES =	https://github.com/libyal/libregf/releases/download/${VERSION}/
    
    MAINTAINER =	Remi Pointel <rpointel@openbsd.org>
    
    # LGPLv3+
    PERMIT_PACKAGE_CDROM =	Yes
    
    WANTLIB =  ${MODPY_WANTLIB}
    WANTLIB += bfio c fuse fwsi iconv intl m pthread util
    
    CONFIGURE_STYLE =	gnu
    CONFIGURE_ARGS +=	--enable-python \
    			--with-libfwnt=${LOCALBASE}
    
    WRKDIST =	${WRKDIR}/${PKGNAME}
    
    MODULES +=	lang/python
    
    LIB_DEPENDS +=	devel/libbfio \
    		sysutils/libfwsi
    
    TEST_DEPENDS +=	shells/bash
    
    pre-test:
    	sed -i s,#!/bin/bash,#!/${LOCALBASE}/bin/bash, ${WRKSRC}/tests/test_*.sh
    
    .include <bsd.port.mk>