1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- # $OpenBSD: Makefile,v 1.2 2017/03/07 10:09:37 rpointel Exp $
- COMMENT = library for binary signature scanning
- VERSION = 20170124
- DISTNAME = libsigscan-experimental-${VERSION}
- PKGNAME = ${DISTNAME:S/-experimental//}
- 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_CDROM = Yes
- WANTLIB += bfio c m pthread util ${MODPY_WANTLIB}
- CONFIGURE_STYLE = gnu
- CONFIGURE_ARGS += --enable-python
- WRKDIST = ${WRKDIR}/${PKGNAME}
-
- MODULES += devel/gettext \
- lang/python
- 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>
|