[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / security / KeePass

File: [cvs.NetBSD.org] / pkgsrc / security / KeePass / Makefile (download)

Revision 1.29, Wed Nov 23 16:20:59 2022 UTC (2 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.28: +2 -2 lines

massive revision bump after textproc/icu update

# $NetBSD: Makefile,v 1.29 2022/11/23 16:20:59 adam Exp $

DISTNAME=	KeePass-2.44
PKGREVISION=	10
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=keepass/}
EXTRACT_SUFX=	.zip

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://keepass.info/
COMMENT=	Free, open source, light-weight and easy-to-use password manager
LICENSE=	gnu-gpl-v2

WRKSRC=		${WRKDIR}/keepass
EXTRACT_DIR=	${WRKDIR}/keepass
USE_LANGUAGES=	# none

INSTALLATION_DIRS=	bin libexec/KeePass/XSL
INSTALLATION_DIRS+=	share/applications

do-build:
	${ECHO} '#!/bin/sh' > ${WRKSRC}/KeePass
	${ECHO} "${PREFIX}/bin/mono ${PREFIX}/libexec/KeePass/KeePass.exe "'"$$@"' >> ${WRKSRC}/KeePass

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/KeePass ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/*.* ${DESTDIR}${PREFIX}/libexec/KeePass
	${INSTALL_DATA} ${WRKSRC}/XSL/* ${DESTDIR}${PREFIX}/libexec/KeePass/XSL
	${INSTALL_DATA} ${FILESDIR}/keepass.desktop ${DESTDIR}${PREFIX}/share/applications

.include "../../graphics/libgdiplus/buildlink3.mk"
.include "../../lang/mono/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"