aboutsummaryrefslogtreecommitdiff
path: root/graphics/libqrencode/Makefile
blob: 9edd675b2343a66b53f7c4c6e76b3d509255a4a9 (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=	libqrencode
PORTVERSION=	4.1.1
DISTVERSIONPREFIX=	v
CATEGORIES=	graphics

MAINTAINER=	vanilla@FreeBSD.org
COMMENT=	C library for encoding data in a QR Code symbol
WWW=		https://github.com/fukuchi/libqrencode

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libpng.so:graphics/png

USES=		cmake iconv pathfix pkgconfig
USE_GITHUB=	yes
GH_ACCOUNT=	fukuchi
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes

CMAKE_ARGS=	-DBUILD_SHARED_LIBS=ON
PLIST_FILES=	bin/qrencode \
		include/qrencode.h \
		lib/libqrencode.so \
		lib/libqrencode.so.4 \
		lib/libqrencode.so.${PORTVERSION} \
		libdata/pkgconfig/libqrencode.pc \
		share/man/man1/qrencode.1.gz

.include <bsd.port.mk>