Makefile 898 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # $OpenBSD: Makefile,v 1.1.1.1 2017/02/13 19:38:21 rpointel Exp $
  2. COMMENT = library and tools to access the Windows Shortcut File
  3. VERSION = 20170111
  4. DISTNAME = liblnk-alpha-${VERSION}
  5. PKGNAME = ${DISTNAME:S/-alpha//}
  6. SHARED_LIBS += lnk 0.0 # 1.0
  7. CATEGORIES = sysutils security
  8. HOMEPAGE = https://github.com/libyal/liblnk/wiki
  9. MASTER_SITES = https://github.com/libyal/liblnk/releases/download/${VERSION}/
  10. MAINTAINER = Remi Pointel <rpointel@openbsd.org>
  11. # LGPLv3+
  12. PERMIT_PACKAGE_CDROM = Yes
  13. WANTLIB += bfio c fwsi 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/libfwsi
  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>