aboutsummaryrefslogtreecommitdiff
path: root/devel/gitolite/Makefile
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2012-08-05 19:36:46 +0000
committerSteve Wills <swills@FreeBSD.org>2012-08-05 19:36:46 +0000
commit24c8459e221527c8358c1b759bd67860ff5bdd1c (patch)
treef1d3abfd37831d4a597c1eb38b578a97091799a3 /devel/gitolite/Makefile
parent8fad11e21aba43cfbe0ebc0f16e58dd671726042 (diff)
Notes
Diffstat (limited to 'devel/gitolite/Makefile')
-rw-r--r--devel/gitolite/Makefile18
1 files changed, 15 insertions, 3 deletions
diff --git a/devel/gitolite/Makefile b/devel/gitolite/Makefile
index c0a47b661b42..40d6f6582e5a 100644
--- a/devel/gitolite/Makefile
+++ b/devel/gitolite/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gitolite
-PORTVERSION= 3.03
+PORTVERSION= 3.04
CATEGORIES= devel
MASTER_SITES= http://milki.github.com/${PORTNAME}/ \
LOCAL/tdb
@@ -24,11 +24,13 @@ USE_PERL5= yes
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=""
@@ -57,6 +59,16 @@ do-install:
@${LN} -s ${PREFIX}/libexec/gitolite/gitolite ${PREFIX}/bin/gitolite
post-install:
+.if !defined(NOPORTDOCS)
+ -@${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DOCSDIR}
+.endif
+
@${CAT} ${PKGMESSAGE}
+.if !defined(NOPORTDOCS)
+PORTDOCS= README.txt CHANGELOG
+.endif
+
.include <bsd.port.mk>