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.
43 lines
940 B
Makefile
43 lines
940 B
Makefile
# $OpenBSD: Makefile,v 1.10 2021/02/23 19:39:41 sthen Exp $
|
|
|
|
COMMENT = library and tools to access NTFS
|
|
|
|
VERSION = 20200805
|
|
DISTNAME = libfsntfs-experimental-${VERSION}
|
|
PKGNAME = ${DISTNAME:S/-experimental//}
|
|
|
|
SHARED_LIBS += fsntfs 0.1 # 1.0
|
|
|
|
CATEGORIES = sysutils security
|
|
|
|
HOMEPAGE = https://github.com/libyal/libfsntfs/wiki
|
|
|
|
MASTER_SITES = https://github.com/libyal/libfsntfs/releases/download/${VERSION}/
|
|
|
|
MAINTAINER = Remi Pointel <rpointel@openbsd.org>
|
|
|
|
# LGPLv3+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB = ${MODPY_WANTLIB}
|
|
WANTLIB += bfio c fuse fwnt iconv intl m pthread util
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS += --enable-python3
|
|
|
|
WRKDIST = ${WRKDIR}/${PKGNAME}
|
|
|
|
MODULES += lang/python
|
|
|
|
BUILD_DEPENDS = devel/gettext,-tools
|
|
|
|
LIB_DEPENDS += devel/libbfio \
|
|
sysutils/libfwnt
|
|
|
|
TEST_DEPENDS += shells/bash
|
|
|
|
pre-test:
|
|
sed -i s,#!/bin/bash,#!/${LOCALBASE}/bin/bash, ${WRKSRC}/tests/test_*.sh
|
|
|
|
.include <bsd.port.mk>
|