aboutsummaryrefslogtreecommitdiff
path: root/misc/gone
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-06-03 07:40:32 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-06-03 07:40:32 +0000
commit549d97656808cd33641c54bb228b4ed8a2252bad (patch)
tree139d78708e5d13f261be3266ece27a42dbf5fdaf /misc/gone
parent4aed171d2817123b9dd1edc5c480ed96d1a62a77 (diff)
downloadports-549d97656808cd33641c54bb228b4ed8a2252bad.tar.gz
ports-549d97656808cd33641c54bb228b4ed8a2252bad.zip
Notes
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