ports/security/pivy/Makefile

49 lines
1 KiB
Makefile
Raw Normal View History

2023-08-16 22:26:55 +00:00
V = 0.11.1
COMMENT = tools for using PIV tokens as an SSH agent, encryption, etc.
DISTNAME = pivy-$V
HOMEPAGE = https://github.com/arekinath/pivy
2023-09-28 02:05:49 +00:00
SITES = https://github.com/arekinath/pivy/releases/download/v$V/
2023-08-16 22:26:55 +00:00
CATEGORIES = security
MAINTAINER = Jonathan Matthew <jmatthew@openbsd.org>
# MPLv2
PERMIT_PACKAGE = Yes
WANTLIB = c edit crypto json-c pcsclite util z
2023-08-21 05:20:32 +00:00
CONFIGURE_STYLE = autoconf
AUTOCONF_VERSION = 2.71
AUTOCONF_DIR = ${WRKDIST}/openssh
MODGNU_CONFIG_GUESS_DIRS = ${WRKDIST}/openssh
WRKCONF = ${WRKDIST}/openssh
LIB_DEPENDS = security/pcsc-lite \
devel/json-c
2023-08-16 22:26:55 +00:00
RUN_DEPENDS = security/ccid
USE_GMAKE = Yes
NO_TEST = Yes
MAKE_FLAGS = CC="${CC}" \
COPTFLAGS="${CFLAGS}" \
prefix=${PREFIX} \
USE_JSONC=yes
post-extract:
rm -Rf ${WRKDIST}/libressl
2023-08-21 05:20:32 +00:00
do-configure:
# the configure script is run from ${WRKSRC}/Makefile,
# overridden here to avoid running it twice
2023-08-16 22:26:55 +00:00
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pivy
${INSTALL_DATA} ${WRKSRC}/README.adoc ${PREFIX}/share/doc/pivy
.include <bsd.port.mk>