aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-sane/Makefile
blob: e91a73eb3df0be84ede6dd511f13d9c00ccb9fac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PORTNAME=	sane
DISTVERSIONPREFIX=	v
DISTVERSION=	2.9.2
CATEGORIES=	graphics python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	cmt@FreeBSD.org
COMMENT=	Python interface to the SANE scanner and frame grabber interface
WWW=		https://github.com/python-pillow/Sane

LICENSE=	MIT-CMU
LICENSE_NAME=	CMU License
LICENSE_FILE=	${WRKSRC}/COPYING
LICENSE_PERMS=	auto-accept dist-mirror dist-sell pkg-mirror pkg-sell

BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
LIB_DEPENDS=	libsane.so:graphics/sane-backends

USES=		localbase python
USE_GITHUB=	yes
GH_ACCOUNT=	python-pillow
GH_PROJECT=	Sane
USE_PYTHON=	pep517

PLIST_SUB=	DISTVERSION=${DISTVERSION}

INSTALL_TARGET=	install-strip

.include <bsd.port.mk>