Makefile 913 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # $OpenBSD: Makefile,v 1.2 2017/04/05 11:44:11 rpointel Exp $
  2. COMMENT = library and tools to access the ESE and EDB format
  3. VERSION = 20170121
  4. DISTNAME = libesedb-experimental-${VERSION}
  5. PKGNAME = ${DISTNAME:S/-experimental//}
  6. SHARED_LIBS += esedb 0.0 # 1.0
  7. CATEGORIES = sysutils security
  8. HOMEPAGE = https://github.com/libyal/libesedb/wiki
  9. MASTER_SITES = https://github.com/libyal/libesedb/releases/download/${VERSION}/
  10. MAINTAINER = Remi Pointel <rpointel@openbsd.org>
  11. # LGPLv3+
  12. PERMIT_PACKAGE_CDROM = Yes
  13. WANTLIB += bfio c fwnt 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. sysutils/libfwnt
  21. TEST_DEPENDS += shells/bash
  22. pre-test:
  23. sed -i s,#!/bin/bash,#!/${LOCALBASE}/bin/bash, ${WRKSRC}/tests/test_*.sh
  24. .include <bsd.port.mk>