2014-04-02 21:23:06 +02:00
|
|
|
# $NetBSD: Makefile,v 1.9 2014/04/02 19:23:06 gdt Exp $
|
2009-03-05 21:30:52 +01:00
|
|
|
#
|
|
|
|
|
2014-04-02 21:23:06 +02:00
|
|
|
VERSION= 0.1.8
|
|
|
|
DISTNAME= engine_pkcs11-${VERSION}
|
2009-03-05 21:30:52 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/_/-/}
|
2014-02-13 00:18:26 +01:00
|
|
|
PKGREVISION= 4
|
2009-03-05 21:30:52 +01:00
|
|
|
CATEGORIES= security
|
2014-04-02 21:23:06 +02:00
|
|
|
MASTER_SITES= https://github.com/OpenSC/engine_pkcs11/archive/
|
2009-03-05 21:30:52 +01:00
|
|
|
|
2011-02-28 15:52:37 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2014-04-02 21:23:06 +02:00
|
|
|
HOMEPAGE= https://github.com/OpenSC/OpenSC/wiki/OpenSSL-engine-for-PKCS%2311-modules
|
2009-03-05 21:30:52 +01:00
|
|
|
COMMENT= PKCS\#11 engine for OpenSSL
|
2009-06-08 21:11:30 +02:00
|
|
|
LICENSE= original-bsd
|
2009-03-05 21:30:52 +01:00
|
|
|
|
2014-04-02 21:23:06 +02:00
|
|
|
WRKSRC= ${WRKDIR}/engine_pkcs11-engine_pkcs11-${VERSION}
|
|
|
|
|
2009-03-05 21:30:52 +01:00
|
|
|
BUILDLINK_API_DEPENDS.openssl+= openssl>=0.9.7
|
|
|
|
|
2014-04-02 21:23:06 +02:00
|
|
|
USE_TOOLS+= autoconf automake gmake pkg-config
|
2009-03-05 21:30:52 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2014-04-02 21:23:06 +02:00
|
|
|
USE_LIBTOOL= yes
|
2009-03-05 21:30:52 +01:00
|
|
|
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
|
2014-04-02 21:23:06 +02:00
|
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC} && ./bootstrap
|
2009-03-05 21:30:52 +01:00
|
|
|
|
|
|
|
.include "../../security/libp11/buildlink3.mk"
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|