summaryrefslogtreecommitdiff
path: root/security/libglobalplatform/Makefile
blob: e344c927fe371ee296441877dafd1efe6d1b95b6 (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
27
28
29
30
# $NetBSD: Makefile,v 1.8 2020/07/27 16:22:46 gdt Exp $

DISTNAME=	globalplatform-6.0.0
PKGNAME=	lib${DISTNAME}
PKGREVISION=	2
CATEGORIES=	security
# The pkgsrc guide says to do:
# MASTER_SITES=${MASTER_SITE_SOURCEFORGE:=globalplatform/GlobalPlatform%20Library/GlobalPlatform%20Library%20${PKGVERSION_NOREV}/}
# but unfortunately bmake's ":old_string=new_string" variable modifier
# treats the % in the URL as a special character and doesn't provide a
# way to escape it.  So we use the ":@temp@string@" variable modifier
# instead to accomplish the same thing.
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:@.SITE.@${.SITE.}globalplatform/GlobalPlatform%20Library/GlobalPlatform%20Library%20${PKGVERSION_NOREV}/@}

MAINTAINER=	pkgsrc-users@netbsd.org
HOMEPAGE=	http://globalplatform.sourceforge.net/
COMMENT=	C library for managing GlobalPlatform smart card contents
LICENSE=	gnu-gpl-v3

BROKEN=		"Fails to build with OpenSSL 1.1"

GNU_CONFIGURE=	yes
USE_LANGUAGES+=	c
USE_LIBTOOL=	yes
USE_TOOLS+=	pkg-config

.include "../../devel/zlib/buildlink3.mk"
.include "../../security/pcsc-lite/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"