svn commit: r390665 - head/security/keepass
Pawel Pekala
pawel at FreeBSD.org
Fri Jun 26 19:49:16 UTC 2015
Author: pawel
Date: Fri Jun 26 19:49:15 2015
New Revision: 390665
URL: https://svnweb.freebsd.org/changeset/ports/390665
Log:
- 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 <sascha at root-login.org> [1]
Approved by: maintainer [1]
Modified:
head/security/keepass/Makefile
Modified: head/security/keepass/Makefile
==============================================================================
--- head/security/keepass/Makefile Fri Jun 26 19:14:41 2015 (r390664)
+++ head/security/keepass/Makefile Fri Jun 26 19:49:15 2015 (r390665)
@@ -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)
More information about the svn-ports-all
mailing list