2017-11-03 13:44:32 +00:00

40 lines
891 B
Makefile

# $OpenBSD: Makefile,v 1.2 2017/11/03 13:44:32 rpointel Exp $
COMMENT = library and tools to access the (split) RAW image format
VERSION = 20170803
DISTNAME = libsmraw-alpha-${VERSION}
PKGNAME = ${DISTNAME:S/-alpha//}
SHARED_LIBS += smraw 0.1 # 1.0
CATEGORIES = sysutils security
HOMEPAGE = https://github.com/libyal/libsmraw/wiki
MASTER_SITES = https://github.com/libyal/libsmraw/releases/download/${VERSION}/
MAINTAINER = Remi Pointel <rpointel@openbsd.org>
# LGPLv3+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += bfio c crypto 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>