jca ba62589b85 Disable hidden deps, sync WANTLIB and zap the bundled libressl copy.
gawk hidden dep spotted in phessler's aarch64 bulk build, json-c noticed
after Makefile scrutiny.

Zap the LibreSSL copy so that we know it starts being built instead
using the system libs.

ok tb@ jmatthew@ (maintainer)
2022-08-16 00:58:44 +00:00

44 lines
860 B
Makefile

V = 0.9.0
REVISION = 0
COMMENT = tools for using PIV tokens as an SSH agent, encryption, etc.
DISTNAME = pivy-$V
HOMEPAGE = https://github.com/arekinath/pivy
MASTER_SITES = https://github.com/arekinath/pivy/releases/download/v$V/
DISTFILES = ${DISTNAME}-src${EXTRACT_SUFX}
CATEGORIES = security
MAINTAINER = Jonathan Matthew <jmatthew@openbsd.org>
# MPLv2
PERMIT_PACKAGE = Yes
WANTLIB = c edit crypto pcsclite util z
MODULES = gnu
MODGNU_CONFIG_GUESS_DIRS = openssh
LIB_DEPENDS = security/pcsc-lite
RUN_DEPENDS = security/ccid
USE_GMAKE = Yes
NO_TEST = Yes
MAKE_FLAGS = CC="${CC}" \
COPTFLAGS="${CFLAGS}" \
prefix=${PREFIX} \
JSONC_VER=""
post-extract:
rm -Rf ${WRKDIST}/libressl
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pivy
${INSTALL_DATA} ${WRKSRC}/README.adoc ${PREFIX}/share/doc/pivy
.include <bsd.port.mk>