45 lines
1023 B
Makefile
45 lines
1023 B
Makefile
COMMENT = library for binary signature scanning
|
|
|
|
VERSION = 20191221
|
|
DISTNAME = libsigscan-experimental-${VERSION}
|
|
PKGNAME = ${DISTNAME:S/-experimental//}
|
|
REVISION = 2
|
|
|
|
SHARED_LIBS += sigscan 0.0 # 1.0
|
|
|
|
CATEGORIES = sysutils security
|
|
|
|
HOMEPAGE = https://github.com/libyal/libsigscan/wiki
|
|
|
|
MASTER_SITES = https://github.com/libyal/libsigscan/releases/download/${VERSION}/
|
|
|
|
MAINTAINER = Remi Pointel <rpointel@openbsd.org>
|
|
|
|
# LGPLv3+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB = ${MODPY_WANTLIB}
|
|
WANTLIB += bfio c iconv intl m pthread util
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS += --enable-python3
|
|
|
|
WRKDIST = ${WRKDIR}/${PKGNAME}
|
|
|
|
MODULES += lang/python
|
|
|
|
BUILD_DEPENDS = devel/gettext,-tools
|
|
|
|
LIB_DEPENDS += devel/libbfio
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/libsigscan/
|
|
mv ${WRKINST}${SYSCONFDIR}/sigscan.conf ${PREFIX}/share/examples/libsigscan/
|
|
|
|
TEST_DEPENDS += shells/bash
|
|
|
|
pre-test:
|
|
sed -i s,#!/bin/bash,#!/${LOCALBASE}/bin/bash, ${WRKSRC}/tests/test_*.sh
|
|
|
|
.include <bsd.port.mk>
|