42 lines
921 B
Makefile
42 lines
921 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2017/02/04 08:43:28 rpointel Exp $
|
|
|
|
COMMENT = library and tools to access the Windows Event Log (EVT)
|
|
|
|
VERSION = 20170120
|
|
DISTNAME = libevt-alpha-${VERSION}
|
|
PKGNAME = ${DISTNAME:S/-alpha//}
|
|
|
|
SHARED_LIBS += evt 0.0 # 1.0
|
|
|
|
CATEGORIES = sysutils security
|
|
|
|
HOMEPAGE = https://github.com/libyal/libevt/wiki
|
|
|
|
MASTER_SITES = https://github.com/libyal/libevt/releases/download/${VERSION}/
|
|
|
|
MAINTAINER = Remi Pointel <rpointel@openbsd.org>
|
|
|
|
# LGPLv3+
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB += bfio c m pthread util ${MODPY_WANTLIB}
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS += --enable-python \
|
|
--without-libfwnt \
|
|
--without-libregf
|
|
|
|
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>
|