# $NetBSD: Makefile,v 1.10 2023/08/14 05:25:10 wiz Exp $ DISTNAME= 1.5 PKGNAME= passphrase-1.5 PKGREVISION= 1 DIST_SUBDIR= passphrase CATEGORIES= security MASTER_SITES= https://git.sr.ht/~alva/passphrase/archive/ MAINTAINER= nikita@NetBSD.org HOMEPAGE= https://git.sr.ht/~alva/passphrase COMMENT= Zero-dependency passphrase generator LICENSE= mit WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} # \todo: There is currently an issue building this as RELRO. RELRO_SUPPORTED= no ZIGBUILDARGS= -Dpie=true .if ${MKDEBUG:Uyes:M[yY][eE][sS]} && ${INSTALL_UNSTRIPPED:Uyes:tl} == yes ZIGBUILDARGS+= -Dstrip=true .endif .include "../../lang/python/pyversion.mk" CONFLICTS+= ${PYPKGPREFIX}-pyutil-[0-9]* SUBST_CLASSES+= mandir SUBST_STAGE.mandir= pre-build SUBST_MESSAGE.mandir= replacing mandir location SUBST_FILES.mandir= build.zig SUBST_SED.mandir+= -e 's,"share" ++ sep ++ "man","${PKGMANDIR}",g' .include "../../lang/zig/application.mk" .include "../../mk/bsd.pkg.mk"