Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # $OpenBSD: Makefile,v 1.2 2017/03/07 10:09:37 rpointel Exp $
  2. COMMENT = library for binary signature scanning
  3. VERSION = 20170124
  4. DISTNAME = libsigscan-experimental-${VERSION}
  5. PKGNAME = ${DISTNAME:S/-experimental//}
  6. SHARED_LIBS += sigscan 0.0 # 1.0
  7. CATEGORIES = sysutils security
  8. HOMEPAGE = https://github.com/libyal/libsigscan/wiki
  9. MASTER_SITES = https://github.com/libyal/libsigscan/releases/download/${VERSION}/
  10. MAINTAINER = Remi Pointel <rpointel@openbsd.org>
  11. # LGPLv3+
  12. PERMIT_PACKAGE_CDROM = Yes
  13. WANTLIB += bfio c m pthread util ${MODPY_WANTLIB}
  14. CONFIGURE_STYLE = gnu
  15. CONFIGURE_ARGS += --enable-python
  16. WRKDIST = ${WRKDIR}/${PKGNAME}
  17. MODULES += devel/gettext \
  18. lang/python
  19. LIB_DEPENDS += devel/libbfio
  20. post-install:
  21. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/libsigscan/
  22. mv ${WRKINST}${SYSCONFDIR}/sigscan.conf ${PREFIX}/share/examples/libsigscan/
  23. TEST_DEPENDS += shells/bash
  24. pre-test:
  25. sed -i s,#!/bin/bash,#!/${LOCALBASE}/bin/bash, ${WRKSRC}/tests/test_*.sh
  26. .include <bsd.port.mk>