2011-09-17 23:47:30 +02:00
|
|
|
# $NetBSD: Makefile,v 1.10 2011/09/17 21:47:30 pettai Exp $
|
2010-03-13 18:47:56 +01:00
|
|
|
#
|
|
|
|
|
2011-09-17 23:47:30 +02:00
|
|
|
DISTNAME= softhsm-1.3.0
|
2010-03-13 18:47:56 +01:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= http://www.opendnssec.org/files/source/
|
|
|
|
|
2010-03-13 18:51:26 +01:00
|
|
|
MAINTAINER= pettai@NetBSD.org
|
2010-07-17 00:24:52 +02:00
|
|
|
HOMEPAGE= http://www.opendnssec.org/softhsm/
|
2011-03-31 20:37:33 +02:00
|
|
|
COMMENT= Cryptographic store accessible through a PKCS\#11 interface
|
2010-03-13 18:47:56 +01:00
|
|
|
LICENSE= 2-clause-bsd
|
|
|
|
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
|
|
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
|
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/softhsm
|
|
|
|
|
|
|
|
SUBST_CLASSES+= paths
|
|
|
|
SUBST_FILES.paths= ${WRKSRC}/Makefile.in
|
|
|
|
SUBST_STAGE.paths= post-patch
|
|
|
|
SUBST_SED.paths= -e 's,@EGDIR@,${EGDIR},'
|
|
|
|
|
|
|
|
CXXFLAGS.NetBSD+= -D_NETBSD_SOURCE
|
|
|
|
|
|
|
|
CONF_FILES= ${EGDIR}/softhsm.conf ${PKG_SYSCONFDIR}/softhsm.conf
|
|
|
|
|
2010-10-18 23:03:50 +02:00
|
|
|
INSTALLATION_DIRS= ${EGDIR} etc bin lib
|
|
|
|
OWN_DIRS= ${VARBASE}/softhsm
|
2010-03-13 18:47:56 +01:00
|
|
|
|
|
|
|
pre-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/softhsm.conf ${DESTDIR}${EGDIR}
|
|
|
|
|
|
|
|
.include "../../databases/sqlite3/buildlink3.mk"
|
|
|
|
.include "../../security/botan/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|