Edit

IABSD.fr/ports/sysutils/libolecf/Makefile

Branch :

  • Show log

    Commit

  • Author : naddy
    Date : 2018-11-29 14:50:02
    Hash : 0c8f3c00
    Message : needs gettext-tools

  • sysutils/libolecf/Makefile
  • # $OpenBSD: Makefile,v 1.5 2018/11/29 14:50:02 naddy Exp $
    
    COMMENT =	library and tools to access the OLE 2 Compound File
    
    VERSION = 	20170825
    DISTNAME =	libolecf-alpha-${VERSION}
    PKGNAME =	${DISTNAME:S/-alpha//}
    REVISION =	0
    
    SHARED_LIBS +=  olecf                       0.1 # 1.0
    
    CATEGORIES =	sysutils security
    
    HOMEPAGE =	https://github.com/libyal/libolecf/wiki
    
    MASTER_SITES =	https://github.com/libyal/libolecf/releases/download/${VERSION}/
    
    MAINTAINER =	Remi Pointel <rpointel@openbsd.org>
    
    # LGPLv3+
    PERMIT_PACKAGE_CDROM =	Yes
    
    WANTLIB =  ${MODPY_WANTLIB}
    WANTLIB += bfio c fuse iconv intl m pthread util
    
    CONFIGURE_STYLE =	gnu
    CONFIGURE_ARGS +=	--enable-python
    
    WRKDIST =	${WRKDIR}/${PKGNAME}
    
    MODULES +=	lang/python
    
    BUILD_DEPENDS =	devel/gettext-tools
    
    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>