summaryrefslogtreecommitdiffstats
path: root/security/keepassx/Makefile
blob: 6878b411d6e669cace322172e249096c079d9e84 (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
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:	keepassx
# Date created:	   18 September 2006
# Whom:		   Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#

PORTNAME=	KeePassX
PORTVERSION=	0.4.3
CATEGORIES=	security
MASTER_SITES=	SF/${PORTNAME:L}/KeePassX/${PORTVERSION}/
DISTNAME=	${PORTNAME:L}-${PORTVERSION}

MAINTAINER=	skv@FreeBSD.org
COMMENT=	Cross Platform Password Manager

RUN_DEPENDS=	update-mime-database:${PORTSDIR}/misc/shared-mime-info

BROKEN=		bad plist

DATADIR=	${PREFIX}/share/${PORTNAME:L}
WRKSRC=		${WRKDIR}/${PORTNAME:L}-${PORTVERSION}

USE_QT_VER=	4
QT_COMPONENTS=	qmake_build moc_build uic_build qt3support_build rcc_build \
		corelib gui xml
HAS_CONFIGURE=	yes
USE_XORG=	xt inputproto xtst xrender xrandr xfixes xcursor\
		xext x11 sm ice xi
MAKE_JOBS_SAFE=	yes

do-configure:
	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
		${QMAKE} -unix PREFIX=${PREFIX} \
		INCLUDEPATH+=${LOCALBASE}/include LIBS+=-L${LOCALBASE}/lib \
		keepassx.pro

post-install:
	-@update-mime-database ${LOCALBASE}/share/mime

.include <bsd.port.mk>
OpenPOWER on IntegriCloud