summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2013-11-14 18:30:39 +0000
committerSteve Wills <swills@FreeBSD.org>2013-11-14 18:30:39 +0000
commit6d6362d76c952042879677d2d4c4307af5f98406 (patch)
treef8580063b2d8127808cf5687f3c0ce94908a607b /devel
parentRevert badly tested conversion to USES=webplugin (diff)
- Update to 3.5.2,1
- Use GH mastersite - Support stagedir PR: ports/183371 Submitted by: milki <milki@rescomp.berkeley.edu> (maintainer)
Notes
Notes: svn path=/head/; revision=333782
Diffstat (limited to 'devel')
-rw-r--r--devel/gitolite/Makefile20
-rw-r--r--devel/gitolite/distinfo4
-rw-r--r--devel/gitolite/pkg-plist2
3 files changed, 14 insertions, 12 deletions
diff --git a/devel/gitolite/Makefile b/devel/gitolite/Makefile
index 0e4a4cd108be..c6f74d31c30c 100644
--- a/devel/gitolite/Makefile
+++ b/devel/gitolite/Makefile
@@ -1,11 +1,12 @@
# $FreeBSD$
PORTNAME= gitolite
-PORTVERSION= 3.5.1
+PORTVERSION= 3.5.2
PORTEPOCH= 1
CATEGORIES= devel
-MASTER_SITES= http://milki.github.io/${PORTNAME}/ \
+MASTER_SITES= GH \
LOCAL/tdb
+DISTNAME= g-${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-${GH_COMMIT}
MAINTAINER= milki@rescomp.berkeley.edu
COMMENT= An access control layer on top of git
@@ -14,6 +15,11 @@ LICENSE= GPLv2
RUN_DEPENDS= git>=0:${PORTSDIR}/devel/git
+USE_GITHUB= yes
+GH_ACCOUNT= sitaramc
+GH_COMMIT= 926bd5f
+GH_TAGNAME= ${GH_COMMIT}
+
CONFLICTS= gitolite-[^3]*
USES= perl5
@@ -24,7 +30,6 @@ OPTIONS_DEFINE= GITUSER
GITUSER_DESC= Create git user as gitolite provider
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGITUSER}
@@ -44,6 +49,7 @@ post-patch:
-exec ${REINPLACE_CMD} -Ee 's|#!/bin/bash|#!${LOCALBASE}/bin/bash|' {} \;
do-build:
+ echo "v${PORTVERSION}-0-g${GH_COMMIT}" > ${WRKSRC}/src/VERSION
@${MKDIR} ${WRKSRC}/lib
@${MV} ${WRKSRC}/src/lib/Gitolite ${WRKSRC}/lib/
@${RMDIR} ${WRKSRC}/src/lib
@@ -55,9 +61,9 @@ post-build:
@${FIND} ${WRKSRC} -name "*.orig" -delete
do-install:
- @(cd ${WRKSRC}/src && ${COPYTREE_BIN} \* ${PREFIX}/libexec/gitolite)
- @(cd ${WRKSRC}/lib && ${COPYTREE_SHARE} Gitolite ${PREFIX}/${SITE_PERL_REL}/)
- @${LN} -s ${PREFIX}/libexec/gitolite/gitolite ${PREFIX}/bin/gitolite
+ @(cd ${WRKSRC}/src && ${COPYTREE_BIN} \* ${STAGEDIR}${PREFIX}/libexec/gitolite)
+ @(cd ${WRKSRC}/lib && ${COPYTREE_SHARE} Gitolite ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/)
+ @${LN} -s ${PREFIX}/libexec/gitolite/gitolite ${STAGEDIR}${PREFIX}/bin/gitolite
post-install:
.if ! ${PORT_OPTIONS:MDOCS}
@@ -66,8 +72,6 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DOCSDIR}
.endif
- @${CAT} ${PKGMESSAGE}
-
.if ! ${PORT_OPTIONS:MDOCS}
PORTDOCS= README.txt CHANGELOG
.endif
diff --git a/devel/gitolite/distinfo b/devel/gitolite/distinfo
index d90ae4882388..acfec5349c42 100644
--- a/devel/gitolite/distinfo
+++ b/devel/gitolite/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gitolite-3.5.1.tar.gz) = b527e90ea6aa0f0d5496b3e520cc4a461b130a91b1b284ffee1f20865fada7cf
-SIZE (gitolite-3.5.1.tar.gz) = 128763
+SHA256 (g-sitaramc-gitolite-3.5.2-926bd5f.tar.gz) = ec57c49103fabbe3f919b72e3b50dbca25504a8482f5ba2a681e0ef941473548
+SIZE (g-sitaramc-gitolite-3.5.2-926bd5f.tar.gz) = 131354
diff --git a/devel/gitolite/pkg-plist b/devel/gitolite/pkg-plist
index 9f68d8ff5534..dc402efdd3b1 100644
--- a/devel/gitolite/pkg-plist
+++ b/devel/gitolite/pkg-plist
@@ -77,7 +77,6 @@ libexec/gitolite/triggers/post-compile/update-gitweb-daemon-from-options
libexec/gitolite/triggers/renice
libexec/gitolite/triggers/set-default-roles
libexec/gitolite/triggers/upstream
-%%GITUSER%%@dirrmtry git
@dirrm libexec/gitolite/triggers/post-compile
@dirrm libexec/gitolite/triggers
@dirrm libexec/gitolite/syntactic-sugar
@@ -89,4 +88,3 @@ libexec/gitolite/triggers/upstream
@dirrm %%SITE_PERL%%/Gitolite/Hooks
@dirrm %%SITE_PERL%%/Gitolite/Conf
@dirrm %%SITE_PERL%%/Gitolite
-@dirrm %%SITE_PERL%%