aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/bareftp
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-10-07 15:46:04 +0800
committerbapt <bapt@FreeBSD.org>2012-10-07 15:46:04 +0800
commitf641f09c5d05ea7c19ee2962402b83de81881944 (patch)
tree4d6e1fd6d93723c98a8482f71f13474f00567b33 /ftp/bareftp
parent879ba80700cb4f1307491b845fb72c782f88b4d3 (diff)
downloadfreebsd-ports-gnome-f641f09c5d05ea7c19ee2962402b83de81881944.tar.gz
freebsd-ports-gnome-f641f09c5d05ea7c19ee2962402b83de81881944.tar.zst
freebsd-ports-gnome-f641f09c5d05ea7c19ee2962402b83de81881944.zip
Convert to new options framework
PR: ports/172414 Submitted by: Chris Petrik <c.petrik.sosa@gmail.com> (maintainer)
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