Makefile 802 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $OpenBSD: Makefile,v 1.1.1.1 2017/02/12 06:46:18 rpointel Exp $
  2. COMMENT = library for Windows NT data types
  3. VERSION = 20170115
  4. DISTNAME = libfwnt-alpha-${VERSION}
  5. PKGNAME = ${DISTNAME:S/-alpha//}
  6. SHARED_LIBS += fwnt 0.0 # 1.0
  7. CATEGORIES = sysutils security
  8. HOMEPAGE = https://github.com/libyal/libfwnt/wiki
  9. MASTER_SITES = https://github.com/libyal/libfwnt/releases/download/${VERSION}/
  10. MAINTAINER = Remi Pointel <rpointel@openbsd.org>
  11. # LGPLv3+
  12. PERMIT_PACKAGE_CDROM = Yes
  13. WANTLIB += m pthread util ${MODPY_WANTLIB}
  14. CONFIGURE_STYLE = gnu
  15. CONFIGURE_ARGS += --enable-python
  16. WRKDIST = ${WRKDIR}/${PKGNAME}
  17. MODULES += lang/python
  18. TEST_DEPENDS += shells/bash
  19. pre-test:
  20. sed -i s,#!/bin/bash,#!/${LOCALBASE}/bin/bash, ${WRKSRC}/tests/test_*.sh
  21. .include <bsd.port.mk>