summaryrefslogtreecommitdiff
path: root/security/keepassx
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-27 16:52:13 +0000
committerjoerg <joerg>2010-01-27 16:52:13 +0000
commit3e260982685001c528721ed091cb7168a8fea3e4 (patch)
tree9d6ef92caa3f4da88fc91862fe8a5c808dff16ed /security/keepassx
parentfdda69261d45ec9a6f1f1ae0abb87118c83d44e3 (diff)
downloadpkgsrc-3e260982685001c528721ed091cb7168a8fea3e4.tar.gz
DESTDIR support
Diffstat (limited to 'security/keepassx')
-rw-r--r--security/keepassx/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/security/keepassx/Makefile b/security/keepassx/Makefile
index 334bbd2ba67..b6547c63632 100644
--- a/security/keepassx/Makefile
+++ b/security/keepassx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2010/01/18 09:59:25 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2010/01/27 17:28:34 joerg Exp $
#
DISTNAME= KeePassX-0.2.2
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://keepassx.sourceforge.net/
COMMENT= Password manager or safe
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_LANGUAGES= c c++
USE_LIBTOOL= YES
@@ -18,6 +20,7 @@ USE_LIBTOOL= YES
QMAKE= ${QTDIR}/bin/qmake
CONFIGURE_ARGS+= QMAKE=${QMAKE:Q} PREFIX=${PREFIX:Q}
MAKE_ENV+= QTDIR=${QTDIR} PREFIX=${PREFIX}
+INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR}
BUILDLINK_DEPMETHOD.qt3-tools= build
@@ -29,7 +32,7 @@ pre-install:
${CP} ${WRKSRC}/bin/keepass ${WRKSRC}/src
post-install:
- ${CHMOD} ${SHAREMODE} ${PREFIX}/share/keepass/icons/*.png
+ ${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/share/keepass/icons/*.png
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"