pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/viewvc Fix paths on install



details:   https://anonhg.NetBSD.org/pkgsrc/rev/319055a741bb
branches:  trunk
changeset: 548718:319055a741bb
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Tue Oct 21 20:46:28 2008 +0000

description:
Fix paths on install
PKGREVISION++

diffstat:

 www/viewvc/Makefile         |  12 +++++++++++-
 www/viewvc/distinfo         |   6 +++---
 www/viewvc/patches/patch-aa |   8 ++++----
 www/viewvc/patches/patch-ab |  31 +++++++++++++++++++++++++------
 4 files changed, 43 insertions(+), 14 deletions(-)

diffs (128 lines):

diff -r bd8b5a3c6ba0 -r 319055a741bb www/viewvc/Makefile
--- a/www/viewvc/Makefile       Tue Oct 21 19:30:16 2008 +0000
+++ b/www/viewvc/Makefile       Tue Oct 21 20:46:28 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2008/10/19 18:02:19 adrianp Exp $
+# $NetBSD: Makefile,v 1.7 2008/10/21 20:46:28 adrianp Exp $
 #
 
 DISTNAME=      viewvc-1.0.7
+PKGREVISION=   1
 CATEGORIES=    devel www
 MASTER_SITES=  http://viewvc.tigris.org/files/documents/3330/44050/
 
@@ -13,6 +14,9 @@
 
 .if !exists(/usr/bin/rlog)
 DEPENDS+=      rcs-[0-9]*:../../devel/rcs
+RCS_PKG=       YES
+.else
+RCS_PKG=       NO
 .endif
 
 NO_BUILD=      YES
@@ -35,6 +39,12 @@
 SUBST_SED.conf+=       -e "s|@PHP_OPT@|${PHP_OPT}|g"
 SUBST_SED.conf+=       -e "s|@CVSGRAPH_OPT@|${CVSGRAPH_OPT}|g"
 
+.if defined(RCS_PKG) && ${RCS_PKG} == "YES"
+SUBST_SED.conf+=       -e "s|@RCS_PREFIX@|${PREFIX}|g"
+.else
+SUBST_SED.conf+=       -e "s|@RCS_PREFIX@|/usr|g"
+.endif
+
 CHECK_PORTABILITY_SKIP=        tools/make-release
 
 do-install:
diff -r bd8b5a3c6ba0 -r 319055a741bb www/viewvc/distinfo
--- a/www/viewvc/distinfo       Tue Oct 21 19:30:16 2008 +0000
+++ b/www/viewvc/distinfo       Tue Oct 21 20:46:28 2008 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2008/10/19 18:02:19 adrianp Exp $
+$NetBSD: distinfo,v 1.6 2008/10/21 20:46:28 adrianp Exp $
 
 SHA1 (viewvc-1.0.7.tar.gz) = 9c07eeba6067cf1806644d696710df5c668334dc
 RMD160 (viewvc-1.0.7.tar.gz) = 92c691e492f7b927a7113e745ce4464f790c67ca
 Size (viewvc-1.0.7.tar.gz) = 522560 bytes
-SHA1 (patch-aa) = da1bc13cf0936289d4254d73f14864c39b2ddf96
-SHA1 (patch-ab) = c8562a82ea747690d748807503d826bbc0a063ab
+SHA1 (patch-aa) = b4f5e36e5d744249aec8128d6ccaa670398afafe
+SHA1 (patch-ab) = cf4c56e5b4254d0deb1a7b51121b6b1d2113fd3e
diff -r bd8b5a3c6ba0 -r 319055a741bb www/viewvc/patches/patch-aa
--- a/www/viewvc/patches/patch-aa       Tue Oct 21 19:30:16 2008 +0000
+++ b/www/viewvc/patches/patch-aa       Tue Oct 21 20:46:28 2008 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.3 2007/05/20 09:01:04 xtraeme Exp $
+$NetBSD: patch-aa,v 1.4 2008/10/21 20:46:28 adrianp Exp $
 
---- viewvc-install.orig        2007-05-20 08:45:42.000000000 +0200
-+++ viewvc-install     2007-05-20 08:47:21.000000000 +0200
-@@ -58,10 +58,6 @@
+--- viewvc-install.orig        2007-05-03 19:03:36.000000000 +0100
++++ viewvc-install
+@@ -58,10 +58,6 @@ FILE_INFO_LIST = [
      ("bin/cvsdbadmin",            "bin/cvsdbadmin",            0755, 1, 0, 0),
      ("bin/svndbadmin",            "bin/svndbadmin",            0755, 1, 0, 0),
      ("bin/make-database",         "bin/make-database",         0755, 1, 0, 0),
diff -r bd8b5a3c6ba0 -r 319055a741bb www/viewvc/patches/patch-ab
--- a/www/viewvc/patches/patch-ab       Tue Oct 21 19:30:16 2008 +0000
+++ b/www/viewvc/patches/patch-ab       Tue Oct 21 20:46:28 2008 +0000
@@ -1,8 +1,26 @@
-$NetBSD: patch-ab,v 1.1.1.1 2006/10/21 09:05:44 adrianp Exp $
+$NetBSD: patch-ab,v 1.2 2008/10/21 20:46:28 adrianp Exp $
 
---- viewvc.conf.dist.orig      2006-09-28 02:13:36.000000000 +0100
+--- viewvc.conf.dist.orig      2008-02-25 20:47:24.000000000 +0000
 +++ viewvc.conf.dist
-@@ -135,7 +135,7 @@ use_rcsparse = 0
+@@ -105,6 +105,7 @@ cvs_roots = cvs: /home/cvsroot
+ default_root = cvs
+ 
+ # uncomment if the RCS binaries are not on the standard path
++rcs_path = @RCS_PREFIX@/bin/
+ #rcs_path = /usr/bin/
+ 
+ # ViewVC can use CVSNT (www.cvsnt.org) instead of the RCS 
+@@ -125,7 +126,8 @@ default_root = cvs
+ use_rcsparse = 0
+ 
+ # uncomment if the svn command-line utilities are not on the standard path
+-#svn_path = /usr/bin/
++#svn_path = @PREFIX@/bin/
++svn_path = @PREFIX@/bin/
+ 
+ #
+ # This is a pathname to a MIME types file to help viewvc to guess the
+@@ -135,7 +137,7 @@ use_rcsparse = 0
  # uncomment this option and point it at a MIME type file.
  #
  # For example, you can use the mime.types from apache here:
@@ -11,7 +29,7 @@
  
  # This address is shown in the footer of the generated pages. 
  # It must be replaced with the address of the local repository maintainer.
-@@ -456,14 +456,14 @@ highlight_line_numbers = 1
+@@ -495,14 +497,14 @@ highlight_line_numbers = 1
  highlight_convert_tabs = 2
  
  # use php to colorize .php and .inc files?
@@ -28,7 +46,7 @@
  # php_exe_path = /usr/local/bin/php
  # php_exe_path = C:\Program Files\php\cli\php.exe
  
-@@ -477,20 +477,20 @@ allow_tar = 0
+@@ -510,20 +512,20 @@ php_exe_path = php
  # Use CvsGraph. See http://www.akhphd.au.dk/~bertho/cvsgraph/ for
  # documentation and download. 
  #
@@ -39,8 +57,9 @@
  #
  # if the cvsgraph program is not on the path, set this value
  #
- cvsgraph_path =
+-cvsgraph_path =
 -# cvsgraph_path = /usr/local/bin/
++cvsgraph_path = @PREFIX@/bin/
 +# cvsgraph_path = @PREFIX@/bin/
  
  #



Home | Main Index | Thread Index | Old Index