Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 2016 20:01:54 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r407173 - head/devel/gitolite2
Message-ID:  <201601242001.u0OK1sZK090543@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Jan 24 20:01:54 2016
New Revision: 407173
URL: https://svnweb.freebsd.org/changeset/ports/407173

Log:
  - Add LICENSE_FILE
  - Switch to options helpers
  - Add CPE info

Modified:
  head/devel/gitolite2/Makefile

Modified: head/devel/gitolite2/Makefile
==============================================================================
--- head/devel/gitolite2/Makefile	Sun Jan 24 20:01:17 2016	(r407172)
+++ head/devel/gitolite2/Makefile	Sun Jan 24 20:01:54 2016	(r407173)
@@ -13,6 +13,7 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Access control layer on top of git
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/doc/COPYING
 
 RUN_DEPENDS=	git>=0:${PORTSDIR}/devel/git
 
@@ -22,38 +23,32 @@ GH_TAGNAME=	912a8bd
 
 CONFLICTS=	gitolite-[^2]*
 
-USES=		perl5	shebangfix
+USES=		cpe perl5 shebangfix
+CPE_VENDOR=	sitaram_chamarty
 SHEBANG_FILES=	hooks/common/update \
-	src/gl-admin-push \
-	src/gl-auth-command \
-	src/gl-compile-conf \
-	src/gl-conf-convert \
-	src/gl-dryrun \
-	src/gl-install \
-	src/gl-mirror-push \
-	src/gl-mirror-shell \
-	src/gl-query-rc \
-	src/gl-setup \
-	src/gl-setup-authkeys \
-	src/gl-time \
-	src/gl-tool \
-	src/sshkeys-lint
+		src/gl-admin-push \
+		src/gl-auth-command \
+		src/gl-compile-conf \
+		src/gl-conf-convert \
+		src/gl-dryrun \
+		src/gl-install \
+		src/gl-mirror-push \
+		src/gl-mirror-shell \
+		src/gl-query-rc \
+		src/gl-setup \
+		src/gl-setup-authkeys \
+		src/gl-time \
+		src/gl-tool \
+		src/sshkeys-lint
+NO_ARCH=	yes
 
 SUB_FILES=	pkg-message
 
 OPTIONS_DEFINE=	GITUSER
+OPTIONS_SUB=	yes
 
 GITUSER_DESC=	Create git user as gitolite provider
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGITUSER}
-USERS=		git
-GROUPS=		${USERS}
-PLIST_SUB+=	GITUSER=""
-.else
-PLIST_SUB+=	GITUSER="@comment "
-.endif
+GITUSER_VARS=	USERS=git GROUPS=git
 
 GLAUTHCOMMAND=	\
 \#!/bin/sh\n \
@@ -85,11 +80,11 @@ post-build:
 	@${FIND} ${WRKSRC} -name "*.orig" -delete
 
 do-install:
-	${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gitolite
+	@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gitolite
 	${INSTALL_SCRIPT} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/libexec/gitolite/
-	${MKDIR} ${STAGEDIR}${DATADIR}/conf
+	@${MKDIR} ${STAGEDIR}${DATADIR}/conf
 	${INSTALL_DATA} ${WRKSRC}/conf/* ${STAGEDIR}${DATADIR}/conf
-	${MKDIR} ${STAGEDIR}${DATADIR}/hooks
+	@${MKDIR} ${STAGEDIR}${DATADIR}/hooks
 	(cd ${WRKSRC}/hooks && ${COPYTREE_BIN} \* ${STAGEDIR}${DATADIR}/hooks)
 	${INSTALL_SCRIPT} ${WRKDIR}/auth-command ${STAGEDIR}${PREFIX}/bin/gl-auth-command
 	${INSTALL_SCRIPT} ${WRKDIR}/setup ${STAGEDIR}${PREFIX}/bin/gl-setup



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