Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2013 14:25:26 -0700 (PDT)
From:      milki <milki@rescomp.berkeley.edu>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/177162: [MAINTAINER] devel/gitolite2: Convert to OptionsNG
Message-ID:  <201303202125.r2KLPQnh064154@cibo.ircmylife.com>
Resent-Message-ID: <201303202130.r2KLU01G092563@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         177162
>Category:       ports
>Synopsis:       [MAINTAINER] devel/gitolite2: Convert to OptionsNG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 20 21:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     milki
>Release:        FreeBSD 8.3-RELEASE-p3 amd64
>Organization:
cibo
>Environment:
System: FreeBSD cibo.ircmylife.com 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #0: Tue Jun 12 00:39:29 UTC 2012 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Convert to Options NG
>How-To-Repeat:
>Fix:
--- gitolite2.patch begins here ---
diff -rub /usr/ports/devel/gitolite2/Makefile ./Makefile
--- /usr/ports/devel/gitolite2/Makefile	2012-11-16 21:55:45.000000000 -0800
+++ ./Makefile	2013-03-20 14:17:14.000000000 -0700
@@ -1,9 +1,4 @@
-# New ports collection makefile for:	gitolite
-# Date created:				07-28-2011
-# Whom:					milki <milki@rescomp.berkeley.edu>
-#
 # $FreeBSD: ports/devel/gitolite2/Makefile,v 1.10 2012/11/17 05:55:45 svnexp Exp $
-#
 
 PORTNAME=	gitolite
 PORTVERSION=	2.3.1
@@ -25,11 +20,13 @@
 
 SUB_FILES=	pkg-message
 
-OPTIONS=	GITUSER	"Create git user as gitolite provider" On
+OPTIONS_DEFINE=	GITUSER
+
+GITUSER_DESC=	Create git user as gitolite provider
 
 .include <bsd.port.options.mk>
 
-.if !defined(WITHOUT_GITUSER)
+.if ${PORT_OPTIONS:MGITUSER}
 USERS=		git
 GROUPS=		${USERS}
 PLIST_SUB+=	GITUSER=""
--- gitolite2.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303202125.r2KLPQnh064154>