pkgsrc/security/softhsm2/Makefile
rillig 9637f7852e all: migrate homepages from http to https
pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
2020-01-26 17:30:40 +00:00

48 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2020/01/26 17:32:07 rillig Exp $
#
VERSION= 2.5.0
DISTNAME= softhsm-${VERSION}
PKGNAME= softhsm2-${VERSION}
CATEGORIES= security
MASTER_SITES= http://www.opendnssec.org/files/source/
MAINTAINER= he@NetBSD.org
HOMEPAGE= https://www.opendnssec.org/softhsm/
COMMENT= Cryptographic store accessible through a PKCS\#11 interface
LICENSE= 2-clause-bsd
BUILD_DEFS+= VARBASE
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
CONFIGURE_ARGS+= --with-botan=${PREFIX}
CONFIGURE_ARGS+= --with-objectstore-backend-db
CONFIGURE_ARGS+= --with-migrate
EGDIR= ${PREFIX}/share/examples/softhsm
SUBST_CLASSES+= paths
SUBST_FILES.paths= ${WRKSRC}/src/lib/common/Makefile.in
SUBST_STAGE.paths= pre-configure
SUBST_VARS.paths= EGDIR
CXXFLAGS.NetBSD+= -D_NETBSD_SOURCE
# For debugging:
CXXFLAGS+= -g
INSTALL_UNSTRIPPED= YES
CONF_FILES= ${EGDIR}/softhsm2.conf ${PKG_SYSCONFDIR}/softhsm2.conf
INSTALLATION_DIRS= ${EGDIR} etc bin lib
OWN_DIRS= ${VARBASE}/softhsm
pre-install:
${INSTALL_DATA} ${WRKSRC}/src/lib/common/softhsm2.conf ${DESTDIR}${EGDIR}
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../security/botan/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"