Files
ports/sysutils/libyal/libvsapm/Makefile
T
sthen 2929eba575 MODULES needs to be in subdir Makefiles to work properly, it's too late
to set it after bsd.port.mk is pulled in
2026-05-12 16:24:03 +00:00

26 lines
545 B
Makefile

COMMENT = library to access the Apple Partition Map volumes
VERSION = 20240503
BASENAME = libvsapm
DISTNAME = ${BASENAME}-experimental-${VERSION}
PKGNAME = ${DISTNAME:S/-experimental//}
SHARED_LIBS += vsapm 0.0 # 1.0
WANTLIB += bfio c iconv intl m pthread util
WANTLIB += ${MODPY_WANTLIB}
MODULES = lang/python
CONFIGURE_ARGS += --enable-python \
AWK=/usr/bin/awk
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>