aboutsummaryrefslogtreecommitdiff
path: root/security/keepass
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2015-06-26 19:49:15 +0000
committerPawel Pekala <pawel@FreeBSD.org>2015-06-26 19:49:15 +0000
commitc7b98666172afa9f59a343eb082b32756ef8acfc (patch)
treee8bb59147b3a60b525ac0a8dfdd50011b471c6be /security/keepass
parentf0e20e9950a0770f7ac20a603f6dc14af7d8276b (diff)
downloadports-c7b98666172afa9f59a343eb082b32756ef8acfc.tar.gz
ports-c7b98666172afa9f59a343eb082b32756ef8acfc.zip
Notes
Diffstat (limited to 'security/keepass')
-rw-r--r--security/keepass/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/security/keepass/Makefile b/security/keepass/Makefile
index f70c717f603f..1c88cef4667b 100644
--- a/security/keepass/Makefile
+++ b/security/keepass/Makefile
@@ -15,8 +15,6 @@ LICENSE= GPLv2 # or later
BUILD_DEPENDS= icotool:${PORTSDIR}/graphics/icoutils
LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \
libgdiplus.so:${PORTSDIR}/x11-toolkits/libgdiplus
-RUN_DEPENDS= xdotool:${PORTSDIR}/x11/xdotool \
- xsel:${PORTSDIR}/x11/xsel
EXTRACT_AFTER_ARGS= -d ${WRKDIR}/${DISTNAME}
@@ -25,6 +23,8 @@ DOS2UNIX_GLOB= *.csproj *.sln
INSTALLS_ICONS= yes
SUB_FILES= ${PORTNAME}.sh
+NO_ARCH= yes
+
DESKTOP_ENTRIES="KeePass" \
"${COMMENT}" \
"${PORTNAME}" \
@@ -32,6 +32,15 @@ DESKTOP_ENTRIES="KeePass" \
"Utility;" \
true
+OPTIONS_DEFINE= XDOTOOL XSEL
+XDOTOOL_DESC= Use the xdotool utility for auto-typing passwords
+XSEL_DESC= Use the xsel utility for clipboard copying
+
+OPTIONS_DEFAULT= XDOTOOL XSEL
+
+XDOTOOL_RUN_DEPENDS= xdotool:${PORTSDIR}/x11/xdotool
+XSEL_RUN_DEPENDS= xsel:${PORTSDIR}/x11/xsel
+
do-build:
# Extract icons
(cd ${WRKSRC} && ${LOCALBASE}/bin/icotool -x KeePass/KeePass.ico)