summaryrefslogtreecommitdiff
path: root/security/KeePass/Makefile
blob: cd1059a4fdca14e07ec056218b0bbd51eca07439 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $NetBSD: Makefile,v 1.9 2013/07/05 13:29:42 ryoon Exp $
#

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

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

DEPENDS+=	mono>=2.6<3:../../lang/mono2

WRKSRC=		${WRKDIR}
USE_LANGUAGES=	# none

INSTALLATION_DIRS=	bin libexec/KeePass/XSL

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

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