pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/gitweb Clarify that site_header, home_text and sit...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3db4e11ebe28
branches:  trunk
changeset: 526980:3db4e11ebe28
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Thu Mar 22 17:34:48 2007 +0000

description:
Clarify that site_header, home_text and site_footer take absolute filenames.

diffstat:

 www/gitweb/Makefile          |  4 ++--
 www/gitweb/files/gitweb.conf |  3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r 63f45ba6e390 -r 3db4e11ebe28 www/gitweb/Makefile
--- a/www/gitweb/Makefile       Thu Mar 22 17:16:52 2007 +0000
+++ b/www/gitweb/Makefile       Thu Mar 22 17:34:48 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/03/22 17:15:36 jmmv Exp $
+# $NetBSD: Makefile,v 1.2 2007/03/22 17:34:48 jmmv Exp $
 #
 
 DISTNAME=      git-1.5.0.3
@@ -20,7 +20,7 @@
 MAKE_FLAGS+=   GITWEB_FAVICON=/gitweb/git-favicon.png
 MAKE_FLAGS+=   GITWEB_CONFIG=${GITWEB_CONFIG}
 MAKE_FLAGS+=   GITWEB_CSS=/gitweb/gitweb.css
-MAKE_FLAGS+=   GITWEB_HOMETEXT=/gitweb/indextext.html
+MAKE_FLAGS+=   GITWEB_HOMETEXT=${GITWEB_HTDOCS}/indextext.html
 MAKE_FLAGS+=   GITWEB_LOGO=/gitweb/git-logo.png
 MAKE_FLAGS+=   PERL_PATH=${PERL5:Q}
 
diff -r 63f45ba6e390 -r 3db4e11ebe28 www/gitweb/files/gitweb.conf
--- a/www/gitweb/files/gitweb.conf      Thu Mar 22 17:16:52 2007 +0000
+++ b/www/gitweb/files/gitweb.conf      Thu Mar 22 17:34:48 2007 +0000
@@ -27,10 +27,13 @@
 #our $site_name = ""
 
 # Filename of HTML text to include at top of each page.
+# Must be an absolute filename (i.e., not relative to htdocs).
 #our $site_header = "";
 # HTML text to include at home page.
+# Must be an absolute filename (i.e., not relative to htdocs).
 #our $home_text = "/gitweb/indextext.html";
 # Filename of HTML text to include at bottom of each page.
+# Must be an absolute filename (i.e., not relative to htdocs).
 #our $site_footer = "";
 
 # URI of the stylesheet to use.



Home | Main Index | Thread Index | Old Index