summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2010-08-29 11:19:53 +0000
committerSven Wegener <swegener@gentoo.org>2010-08-29 11:19:53 +0000
commitcc1c8a08a75e48605562987362df2e4df033c68e (patch)
tree10f005b55b3e999e2f63d58a6eb61dcde9a8f27d /dev-vcs/git
parentFix dependencies to test against a compatible version of redcloth, fixes bug ... (diff)
downloadgentoo-2-cc1c8a08a75e48605562987362df2e4df033c68e.tar.gz
gentoo-2-cc1c8a08a75e48605562987362df2e4df033c68e.tar.bz2
gentoo-2-cc1c8a08a75e48605562987362df2e4df033c68e.zip
Install static gitweb files into correct location.
(Portage version: 2.2_rc71/cvs/Linux x86_64)
Diffstat (limited to 'dev-vcs/git')
-rw-r--r--dev-vcs/git/ChangeLog6
-rw-r--r--dev-vcs/git/git-1.7.2-r2.ebuild19
-rw-r--r--dev-vcs/git/git-1.7.2.2.ebuild19
-rw-r--r--dev-vcs/git/git-1.7.2.ebuild19
4 files changed, 29 insertions, 34 deletions
diff --git a/dev-vcs/git/ChangeLog b/dev-vcs/git/ChangeLog
index 9c7b7899db9e..4145db9f4d90 100644
--- a/dev-vcs/git/ChangeLog
+++ b/dev-vcs/git/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-vcs/git
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/ChangeLog,v 1.24 2010/08/23 19:05:11 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/ChangeLog,v 1.25 2010/08/29 11:19:53 swegener Exp $
+
+ 29 Aug 2010; Sven Wegener <swegener@gentoo.org> git-1.7.2.ebuild,
+ git-1.7.2-r2.ebuild, git-1.7.2.2.ebuild:
+ Install static gitweb files into correct location.
*git-1.7.2.2 (23 Aug 2010)
diff --git a/dev-vcs/git/git-1.7.2-r2.ebuild b/dev-vcs/git/git-1.7.2-r2.ebuild
index e33f3f89be80..ce428c12e599 100644
--- a/dev-vcs/git/git-1.7.2-r2.ebuild
+++ b/dev-vcs/git/git-1.7.2-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-1.7.2-r2.ebuild,v 1.2 2010/08/16 05:47:29 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-1.7.2-r2.ebuild,v 1.3 2010/08/29 11:19:53 swegener Exp $
EAPI=3
@@ -333,17 +333,14 @@ src_install() {
done
if use perl && use cgi ; then
- dodir /usr/share/${PN}/gitweb
- insinto /usr/share/${PN}/gitweb
- doins "${S}"/gitweb/gitweb.cgi
- doins "${S}"/gitweb/gitweb.css
+ exeinto /usr/share/${PN}/gitweb
+ doexe "${S}"/gitweb/gitweb.cgi
+ insinto /usr/share/${PN}/gitweb/static
+ doins "${S}"/gitweb/static/gitweb.css
js=gitweb.js
- [ -f "${S}"/gitweb/gitweb.min.js ] && js=gitweb.min.js
- doins "${S}"/gitweb/${js}
- doins "${S}"/gitweb/git-{favicon,logo}.png
-
- # Make sure it can run
- fperms 0755 /usr/share/${PN}/gitweb/gitweb.cgi
+ [ -f "${S}"/gitweb/static/gitweb.min.js ] && js=gitweb.min.js
+ doins "${S}"/gitweb/static/${js}
+ doins "${S}"/gitweb/static/git-{favicon,logo}.png
# INSTALL discusses configuration issues, not just installation
docinto /
diff --git a/dev-vcs/git/git-1.7.2.2.ebuild b/dev-vcs/git/git-1.7.2.2.ebuild
index 0ef2e0536b64..bd9dd29494c4 100644
--- a/dev-vcs/git/git-1.7.2.2.ebuild
+++ b/dev-vcs/git/git-1.7.2.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-1.7.2.2.ebuild,v 1.1 2010/08/23 19:05:11 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-1.7.2.2.ebuild,v 1.2 2010/08/29 11:19:53 swegener Exp $
EAPI=3
@@ -333,17 +333,14 @@ src_install() {
done
if use perl && use cgi ; then
- dodir /usr/share/${PN}/gitweb
- insinto /usr/share/${PN}/gitweb
- doins "${S}"/gitweb/gitweb.cgi
- doins "${S}"/gitweb/gitweb.css
+ exeinto /usr/share/${PN}/gitweb
+ doexe "${S}"/gitweb/gitweb.cgi
+ insinto /usr/share/${PN}/gitweb/static
+ doins "${S}"/gitweb/static/gitweb.css
js=gitweb.js
- [ -f "${S}"/gitweb/gitweb.min.js ] && js=gitweb.min.js
- doins "${S}"/gitweb/${js}
- doins "${S}"/gitweb/git-{favicon,logo}.png
-
- # Make sure it can run
- fperms 0755 /usr/share/${PN}/gitweb/gitweb.cgi
+ [ -f "${S}"/gitweb/static/gitweb.min.js ] && js=gitweb.min.js
+ doins "${S}"/gitweb/static/${js}
+ doins "${S}"/gitweb/static/git-{favicon,logo}.png
# INSTALL discusses configuration issues, not just installation
docinto /
diff --git a/dev-vcs/git/git-1.7.2.ebuild b/dev-vcs/git/git-1.7.2.ebuild
index bf805226e19d..599e908b4cbc 100644
--- a/dev-vcs/git/git-1.7.2.ebuild
+++ b/dev-vcs/git/git-1.7.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-1.7.2.ebuild,v 1.2 2010/08/16 05:47:29 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-1.7.2.ebuild,v 1.3 2010/08/29 11:19:53 swegener Exp $
EAPI=2
@@ -290,17 +290,14 @@ src_install() {
done
if use perl && use cgi ; then
- dodir /usr/share/${PN}/gitweb
- insinto /usr/share/${PN}/gitweb
- doins "${S}"/gitweb/gitweb.cgi
- doins "${S}"/gitweb/gitweb.css
+ exeinto /usr/share/${PN}/gitweb
+ doexe "${S}"/gitweb/gitweb.cgi
+ insinto /usr/share/${PN}/gitweb/static
+ doins "${S}"/gitweb/static/gitweb.css
js=gitweb.js
- [ -f "${S}"/gitweb/gitweb.min.js ] && js=gitweb.min.js
- doins "${S}"/gitweb/${js}
- doins "${S}"/gitweb/git-{favicon,logo}.png
-
- # Make sure it can run
- fperms 0755 /usr/share/${PN}/gitweb/gitweb.cgi
+ [ -f "${S}"/gitweb/static/gitweb.min.js ] && js=gitweb.min.js
+ doins "${S}"/gitweb/static/${js}
+ doins "${S}"/gitweb/static/git-{favicon,logo}.png
# INSTALL discusses configuration issues, not just installation
docinto /