2007-02-06 12:49:15 +01:00
|
|
|
# New ports collection makefile for: keepassx
|
|
|
|
# Date created: 18 September 2006
|
|
|
|
# Whom: Sergey Skvortsov <skv@protey.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= KeePassX
|
2010-05-06 12:17:43 +02:00
|
|
|
PORTVERSION= 0.4.3
|
2007-02-06 12:49:15 +01:00
|
|
|
CATEGORIES= security
|
2010-05-06 12:17:43 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME:L}/KeePassX/${PORTVERSION}/
|
2009-11-24 14:59:33 +01:00
|
|
|
DISTNAME= ${PORTNAME:L}-${PORTVERSION}
|
2007-02-06 12:49:15 +01:00
|
|
|
|
|
|
|
MAINTAINER= skv@FreeBSD.org
|
|
|
|
COMMENT= Cross Platform Password Manager
|
|
|
|
|
2009-11-24 14:59:33 +01:00
|
|
|
RUN_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info
|
|
|
|
|
2008-06-02 17:49:41 +02:00
|
|
|
DATADIR= ${PREFIX}/share/${PORTNAME:L}
|
2008-09-03 15:09:46 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME:L}-${PORTVERSION}
|
2007-02-06 12:49:15 +01:00
|
|
|
|
|
|
|
USE_QT_VER= 4
|
2008-06-02 17:49:41 +02:00
|
|
|
QT_COMPONENTS= qmake_build moc_build uic_build qt3support_build rcc_build \
|
|
|
|
corelib gui xml
|
2007-02-06 12:49:15 +01:00
|
|
|
HAS_CONFIGURE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= xt inputproto xtst xrender xrandr xfixes xcursor\
|
|
|
|
xext x11 sm ice xi
|
2009-11-24 14:59:33 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2007-02-06 12:49:15 +01:00
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
|
|
|
|
${QMAKE} -unix PREFIX=${PREFIX} \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
INCLUDEPATH+=${LOCALBASE}/include LIBS+=-L${LOCALBASE}/lib \
|
2008-09-03 15:09:46 +02:00
|
|
|
keepassx.pro
|
2007-02-06 12:49:15 +01:00
|
|
|
|
2009-11-24 14:59:33 +01:00
|
|
|
post-install:
|
|
|
|
-@update-mime-database ${LOCALBASE}/share/mime
|
|
|
|
|
2007-02-06 12:49:15 +01:00
|
|
|
.include <bsd.port.mk>
|