From owner-svn-ports-all@freebsd.org Sun Jan 24 20:02:47 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D7E0CA1D353; Sun, 24 Jan 2016 20:02:47 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A9086D82; Sun, 24 Jan 2016 20:02:47 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u0OK2kKY090769; Sun, 24 Jan 2016 20:02:46 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0OK2kG8090768; Sun, 24 Jan 2016 20:02:46 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201601242002.u0OK2kG8090768@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 24 Jan 2016 20:02:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407175 - head/devel/gitolite X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jan 2016 20:02:47 -0000 Author: amdmi3 Date: Sun Jan 24 20:02:46 2016 New Revision: 407175 URL: https://svnweb.freebsd.org/changeset/ports/407175 Log: - Add NO_ARCH - Switch to options helpers Modified: head/devel/gitolite/Makefile Modified: head/devel/gitolite/Makefile ============================================================================== --- head/devel/gitolite/Makefile Sun Jan 24 20:02:45 2016 (r407174) +++ head/devel/gitolite/Makefile Sun Jan 24 20:02:46 2016 (r407175) @@ -25,24 +25,16 @@ GH_TAGNAME= 3455375 CONFLICTS= gitolite-[^3]* USES= cpe perl5 - CPE_VENDOR= sitaram_chamarty +NO_ARCH= yes SUB_FILES= pkg-message OPTIONS_DEFINE= GITUSER DOCS +OPTIONS_SUB= yes GITUSER_DESC= Create git user as gitolite provider - -.include - -.if ${PORT_OPTIONS:MGITUSER} -USERS= git -GROUPS= ${USERS} -PLIST_SUB+= GITUSER="" -.else -PLIST_SUB+= GITUSER="@comment " -.endif +GITUSER_VARS= USERS=git GROUPS=git post-patch: @${FIND} ${WRKSRC} \ @@ -69,8 +61,9 @@ do-install: (cd ${WRKSRC}/lib && ${COPYTREE_SHARE} Gitolite ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/) ${LN} -s ${PREFIX}/libexec/gitolite/gitolite ${STAGEDIR}${PREFIX}/bin/gitolite - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/CHANGELOG ${STAGEDIR}${DOCSDIR} +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${STAGEDIR}${DOCSDIR} .include