aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gone
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-06-03 15:40:32 +0800
committerjgh <jgh@FreeBSD.org>2013-06-03 15:40:32 +0800
commit52a7f6afe5d708bc90a832b94b5de846e40e696a (patch)
tree139d78708e5d13f261be3266ece27a42dbf5fdaf /misc/gone
parent0e37d75f8504b7a5967a8f30908af13dcb9e2632 (diff)
downloadfreebsd-ports-gnome-52a7f6afe5d708bc90a832b94b5de846e40e696a.tar.gz
freebsd-ports-gnome-52a7f6afe5d708bc90a832b94b5de846e40e696a.tar.zst
freebsd-ports-gnome-52a7f6afe5d708bc90a832b94b5de846e40e696a.zip
- adoption of optionsNG
- trim historical headers Approved by: portmgr (bapt)
Diffstat (limited to 'misc/gone')
-rw-r--r--misc/gone/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/misc/gone/Makefile b/misc/gone/Makefile
index 31768cb69679..acc97b959788 100644
--- a/misc/gone/Makefile
+++ b/misc/gone/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: gone
-# Date created: 19 April 1998
-# Whom: marcus
-#
+# Created by: marcus
# $FreeBSD$
-#
PORTNAME= gone
PORTVERSION= 1.3.6
@@ -17,8 +13,10 @@ MAN1= gone.1
PLIST_FILES= bin/gone
GNU_CONFIGURE= yes
-OPTIONS= SETUID "Install gone setuid root for password support" OFF
+OPTIONS_DEFINE= SETUID
+SETUID_DESC= Install gone setuid root for password support
+.include <bsd.port.options.mk>
.include <bsd.port.pre.mk>
#
@@ -26,7 +24,7 @@ OPTIONS= SETUID "Install gone setuid root for password support" OFF
# override this with WITH_SETUID=yes in your environment.
# Be aware that setting gone to suid MAY be a security hole.
#
-.if defined(WITH_SETUID)
+.if ${PORT_OPTIONS:MSETUID}
CONFIGURE_ENV= with_setuid=yes
.else
CONFIGURE_ENV= with_setuid=no