ports/177162: [MAINTAINER] devel/gitolite2: Convert to OptionsNG
milki
milki at rescomp.berkeley.edu
Wed Mar 20 21:30:00 UTC 2013
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list