openbsd-ports/sysutils/libvmdk/Makefile
sthen 3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00

43 lines
931 B
Makefile

# $OpenBSD: Makefile,v 1.9 2021/02/23 19:39:42 sthen Exp $
COMMENT = library and tools to access the VMware Virtual Disk format
VERSION = 20191221
DISTNAME = libvmdk-alpha-${VERSION}
PKGNAME = ${DISTNAME:S/-alpha//}
REVISION = 0
SHARED_LIBS += vmdk 0.0 # 1.0
CATEGORIES = sysutils security
HOMEPAGE = https://github.com/libyal/libvmdk/wiki
MASTER_SITES = https://github.com/libyal/libvmdk/releases/download/${VERSION}/
MAINTAINER = Remi Pointel <rpointel@openbsd.org>
# LGPLv3+
PERMIT_PACKAGE = Yes
WANTLIB = ${MODPY_WANTLIB}
WANTLIB += bfio c fuse iconv intl m pthread util z
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --enable-python3
WRKDIST = ${WRKDIR}/${PKGNAME}
MODULES += lang/python
BUILD_DEPENDS = devel/gettext,-tools
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>