summaryrefslogtreecommitdiff
path: root/graphics/py-qrencode/Makefile
blob: 1fa0e1e244e9171706685c17fca0a8a8e9214177 (plain)
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
PORTNAME=	qrencode
PORTVERSION=	1.2
PORTREVISION=	1
CATEGORIES=	graphics python
MASTER_SITES=	PYPI
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	dvl@FreeBSD.org
COMMENT=	Simple wrapper for the C qrencode library
WWW=		https://github.com/Arachnid/pyqrencode/tree/master

LICENSE=	MIT

BUILD_DEPENDS=	libqrencode>0:graphics/libqrencode
RUN_DEPENDS=	libqrencode>0:graphics/libqrencode
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}

USES=		python
USE_PYTHON=	autoplist distutils

CFLAGS+=	-I${PREFIX}/include

NO_ARCH_IGNORE=	yes
INSTALL_TARGET=	install-strip

.include <bsd.port.mk>