45 lines
965 B
Makefile
45 lines
965 B
Makefile
COMMENT = library and tools to access the Windows XML Event Log (EVTX)
|
|
|
|
VERSION = 20191221
|
|
DISTNAME = libevtx-alpha-${VERSION}
|
|
PKGNAME = ${DISTNAME:S/-alpha//}
|
|
REVISION = 2
|
|
|
|
SHARED_LIBS += evtx 0.0 # 1.0
|
|
|
|
CATEGORIES = sysutils security
|
|
|
|
HOMEPAGE = https://github.com/libyal/libevtx/wiki
|
|
|
|
MASTER_SITES = https://github.com/libyal/libevtx/releases/download/${VERSION}/
|
|
|
|
MAINTAINER = Remi Pointel <rpointel@openbsd.org>
|
|
|
|
# LGPLv3+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += bfio c iconv intl m pthread util ${MODPY_WANTLIB}
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS += --enable-python3 \
|
|
--without-libfwnt \
|
|
--without-libregf
|
|
|
|
WRKDIST = ${WRKDIR}/${PKGNAME}
|
|
|
|
MODULES += lang/python
|
|
|
|
MODPY_ADJ_FILES += tests/pyevtx_test_support.py
|
|
|
|
# xgettext(1)
|
|
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>
|