summaryrefslogtreecommitdiff
path: root/devel/libccid/Makefile
blob: 25c001d4477a6589ad89303dc4d4a6f79643ced3 (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
31
32
33
34
35
PORTNAME=	ccid
PORTVERSION=	1.6.2
CATEGORIES=	devel
MASTER_SITES=	https://ccid.apdu.fr/files/
PKGNAMEPREFIX=	lib

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Generic USB CCID and ICCD driver
WWW=		https://ccid.apdu.fr/ \
		https://github.com/LudovicRousseau/CCID

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libpcsclite.so:devel/pcsc-lite

USES=		meson perl5 pkgconfig tar:xz
USE_PERL5=	build

MESON_ARGS=	-Dclass=false \
		-Dcomposite-as-multislot=false \
		-Dembedded=false \
		-Denable-extras=true \
		-Dos_log=false \
		-Dpcsclite=true \
		-Dserial=false \
		-Dzlp=false

post-install:
	${INSTALL_PROGRAM} ${WRKSRC}/_build/Kobil_mIDentity_switch ${STAGEDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/_build/RSA_SecurID_getpasswd ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/contrib/RSA_SecurID/RSA_SecurID_getpasswd.1 ${STAGEDIR}${PREFIX}/share/man/man1
	${INSTALL_MAN} ${WRKSRC}/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch.8 ${STAGEDIR}${PREFIX}/share/man/man8

.include <bsd.port.mk>