rpointel 81574b9c2e update libvhdi to 20170223.
ok benoit@.
2017-04-05 11:44:45 +00:00

40 lines
872 B
Makefile

# $OpenBSD: Makefile,v 1.2 2017/04/05 11:44:45 rpointel Exp $
COMMENT = library and tools to access the VHD image format
VERSION = 20170223
DISTNAME = libvhdi-alpha-${VERSION}
PKGNAME = ${DISTNAME:S/-alpha//}
SHARED_LIBS += vhdi 0.0 # 1.0
CATEGORIES = sysutils security
HOMEPAGE = https://github.com/libyal/libvhdi/wiki
MASTER_SITES = https://github.com/libyal/libvhdi/releases/download/${VERSION}/
MAINTAINER = Remi Pointel <rpointel@openbsd.org>
# LGPLv3+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += bfio c fuse m pthread util ${MODPY_WANTLIB}
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --enable-python
WRKDIST = ${WRKDIR}/${PKGNAME}
MODULES += devel/gettext \
lang/python
LIB_DEPENDS += devel/libbfio
TEST_DEPENDS += shells/bash
pre-test:
sed -i s,#!/bin/bash,#!/${LOCALBASE}/bin/bash, ${WRKSRC}/tests/test_*.sh
.include <bsd.port.mk>