From 2ab1f4a6dce71263813ba5132a7a003d437b6a57 Mon Sep 17 00:00:00 2001 From: pawel Date: Fri, 26 Jun 2015 19:49:15 +0000 Subject: - Make xsel run dependency optional - it makes clipboard pasting not working under some conditions [1] - Make xdotool also optional - Add NO_ARCH PR: 200931 [1] Submitted by: Sascha Holzleiter [1] Approved by: maintainer [1] --- security/keepass/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'security') diff --git a/security/keepass/Makefile b/security/keepass/Makefile index f70c717f603..1c88cef4667 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) -- cgit