aboutsummaryrefslogtreecommitdiff
path: root/ftp/bareftp
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-10-07 07:46:04 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-10-07 07:46:04 +0000
commitb9d17cc985bf3659065f9209de060101663fb9f3 (patch)
tree4d6e1fd6d93723c98a8482f71f13474f00567b33 /ftp/bareftp
parentdfdc1fa2f88cba0989020912f64788af19544e1d (diff)
downloadports-b9d17cc985bf3659065f9209de060101663fb9f3.tar.gz
ports-b9d17cc985bf3659065f9209de060101663fb9f3.zip
Notes
Diffstat (limited to 'ftp/bareftp')
-rw-r--r--ftp/bareftp/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/ftp/bareftp/Makefile b/ftp/bareftp/Makefile
index ab0c7ac53412..8f809090320f 100644
--- a/ftp/bareftp/Makefile
+++ b/ftp/bareftp/Makefile
@@ -25,16 +25,17 @@ MAKE_JOBS_SAFE= yes
MAN1= bareftp.1
-OPTIONS= KEYRING "Support for Gnome Keyring" on
+OPTIONS_DEFINE= GNOMEKEYRING
+OPTIONS_DEFAULT= GNOMEKEYRING
.include <bsd.port.options.mk>
-.if defined(WITHOUT_KEYRING)
-CONFIGURE_ARGS+= --without-gnomekeyring
-.else
+.if ${PORT_OPTIONS:MGNOMEKEYRING}
KEYRING_DETECT= ${LOCALBASE}/libdata/pkgconfig/gnome-keyring-sharp-1.0.pc
BUILD_DEPENDS+= ${KEYRING_DETECT}:${PORTSDIR}/security/gnome-keyring-sharp
RUN_DEPENDS+= ${KEYRING_DETECT}:${PORTSDIR}/security/gnome-keyring-sharp
+.else
+CONFIGURE_ARGS+= --without-gnomekeyring
.endif
# TODO