2edd552094
PR: ports/147130 Submitted by: Damian Gerow <dgerow at afflictions dot org> Approved by: maintainer timeout (skv - 3 weeks) Feature safe: yes
39 lines
1,018 B
Makefile
39 lines
1,018 B
Makefile
# 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
|
|
|
|
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>
|