summaryrefslogtreecommitdiff
path: root/security/libglobalplatform/Makefile
blob: d554b831d34a289ed107f15c473b9705ef854aa3 (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
# $NetBSD: Makefile,v 1.3 2016/03/05 11:27:54 jperkin Exp $

DISTNAME=	globalplatform-6.0.0
PKGNAME=	lib${DISTNAME}
PKGREVISION=	1
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=	rhansen@bbn.com
HOMEPAGE=	http://globalplatform.sourceforge.net/
COMMENT=	C library for managing GlobalPlatform smart card contents
LICENSE=	gnu-gpl-v3

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"