summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2013-03-16 15:56:17 +0000
committerryoon <ryoon@pkgsrc.org>2013-03-16 15:56:17 +0000
commit771856f5518406a806206d69451fa5f3ec118b0f (patch)
tree3f0b7fdb82c5409638d628f4a92c2f5e527567e6
parent1690b61d853005fc91170e9a1f7edef566a73fee (diff)
downloadpkgsrc-771856f5518406a806206d69451fa5f3ec118b0f.tar.gz
Bump PKGREVISION.
* Fix perl's path in hook files. Fix functionality on unprivileged bootstrap pkgsrc environment.
-rw-r--r--devel/gitolite/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/devel/gitolite/Makefile b/devel/gitolite/Makefile
index 1f4f28d654c..1df5d7c4e18 100644
--- a/devel/gitolite/Makefile
+++ b/devel/gitolite/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.7 2013/03/14 18:55:02 ryoon Exp $
+# $NetBSD: Makefile,v 1.8 2013/03/16 15:56:17 ryoon Exp $
#
GLVER= 3.4
DISTNAME= gitolite-${GLVER}
+PKGREVISION= 1
CATEGORIES= devel net
MASTER_SITES= -https://github.com/sitaramc/gitolite/archive/v${GLVER}.tar.gz
@@ -23,10 +24,16 @@ FETCH_USING= curl
NO_BUILD= yes
REPLACE_PERL= src/lib/* src/VREF/* src/triggers/* src/triggers/*/* \
- src/commands/* src/gitolite* src/lib/Gitolite/Test/*
+ src/commands/* src/gitolite* src/lib/Gitolite/*/*
REPLACE_SH= src/VREF/* src/triggers/* src/triggers/post-compile/* \
src/commands/*
+SUBST_CLASSES+= perl
+SUBST_STAGE.perl= pre-configure
+SUBST_MESSAGE.perl= Set PERL5
+SUBST_FILES.perl+= src/lib/Gitolite/Hooks/*
+SUBST_SED.perl+= -e 's,/usr/bin/perl,${PERL5},g'
+
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= pre-configure
SUBST_MESSAGE.prefix= Set PREFIX