Makefile 939 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # $OpenBSD: Makefile,v 1.2 2017/04/05 11:56:51 rpointel Exp $
  2. COMMENT = library and tools to access the Windows NT Registry File
  3. VERSION = 20170130
  4. DISTNAME = libregf-alpha-${VERSION}
  5. PKGNAME = ${DISTNAME:S/-alpha//}
  6. SHARED_LIBS += regf 0.0 # 1.0
  7. CATEGORIES = sysutils security
  8. HOMEPAGE = https://github.com/libyal/libregf/wiki
  9. MASTER_SITES = https://github.com/libyal/libregf/releases/download/${VERSION}/
  10. MAINTAINER = Remi Pointel <rpointel@openbsd.org>
  11. # LGPLv3+
  12. PERMIT_PACKAGE_CDROM = Yes
  13. WANTLIB += bfio c fuse fwsi m pthread util ${MODPY_WANTLIB}
  14. CONFIGURE_STYLE = gnu
  15. CONFIGURE_ARGS += --enable-python \
  16. --with-libfwsi=${LOCALBASE}
  17. WRKDIST = ${WRKDIR}/${PKGNAME}
  18. MODULES += devel/gettext \
  19. lang/python
  20. LIB_DEPENDS += devel/libbfio \
  21. sysutils/libfwsi
  22. TEST_DEPENDS += shells/bash
  23. pre-test:
  24. sed -i s,#!/bin/bash,#!/${LOCALBASE}/bin/bash, ${WRKSRC}/tests/test_*.sh
  25. .include <bsd.port.mk>