<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[144773] trunk/dports/devel</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/144773">144773</a></dd>
<dt>Author</dt> <dd>khindenburg@macports.org</dd>
<dt>Date</dt> <dd>2016-01-17 19:59:32 -0800 (Sun, 17 Jan 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>viewvc: new port renamed from viewcvs #20976
    - update to 1.1.24
    - add cvs and svn variants and their dependencies
    - tested with local cvs and svn repos using standalone.py</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsdevelviewvcPortfile">trunk/dports/devel/viewvc/Portfile</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li>trunk/dports/devel/viewvc/</li>
<li><a href="#trunkdportsdevelviewvcfilespatchviewvcinstalldiff">trunk/dports/devel/viewvc/files/patch-viewvc-install.diff</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkdportsdevelviewvcfilespatchviewcvsinstall">trunk/dports/devel/viewvc/files/patch-viewcvs-install</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsdevelviewvcPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/devel/viewvc/Portfile (144766 => 144773)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/devel/viewcvs/Portfile        2016-01-17 19:10:57 UTC (rev 144766)
+++ trunk/dports/devel/viewvc/Portfile        2016-01-18 03:59:32 UTC (rev 144773)
</span><span class="lines">@@ -1,3 +1,4 @@
</span><ins>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</ins><span class="cx"> # $Id$
</span><span class="cx"> 
</span><span class="cx"> PortSystem 1.0
</span><span class="lines">@@ -2,52 +3,63 @@
</span><span class="cx"> 
</span><del>-name                viewcvs
-version                0.9.2
-revision        1
-categories        devel www
-license                BSD
-maintainers        nomaintainer
-description        View CVS repo content with a Webbrowser
-long_description        \
-        ViewCVS was inspired by cvsweb (Zeller's version).  ViewCVS can \
-        browse directories, change logs, and specific revisions of files. It \
-        can display diffs between versions and show selections of files \
-        based on tags or branches. In addition, ViewCVS has &quot;annotation&quot; or \
-        &quot;blame&quot; support, and the beginnings of Bonsai-like query facilities.
-homepage        http://viewcvs.sourceforge.net/
-platforms        darwin
-supported_archs        noarch
-master_sites        sourceforge
-patchfiles        patch-viewcvs-install
-checksums        md5 c7857b1ed05240ad1f691ea40044daf2
</del><ins>+name                viewvc
+version             1.1.24
+categories          devel www
+maintainers         khindenburg openmaintainer
</ins><span class="cx"> 
</span><del>-use_configure        no
-depends_build   bin:python:python27
</del><ins>+description         Browser interface for CVS and Subversion
+long_description    \
+    ViewVC is a browser interface for CVS and Subversion version control \
+    repositories. It generates templatized HTML to present navigable \
+    directory, revision, and change log listings. It can display specific \
+    versions of files as well as diffs between those versions. Basically, \
+    ViewVC provides the bulk of the report-like functionality you expect \
+    out of your version control tool, but much more prettily than the \
+    average textual command-line program output.
</ins><span class="cx"> 
</span><del>-pre-build {
-        reinplace &quot;s|__ROOTDIR|${prefix}/share/${name}-${version}|g&quot; ${worksrcpath}/viewcvs-install
-        reinplace &quot;s|__DESTROOTDIR|${destroot}${prefix}/share/${name}-${version}|g&quot; ${worksrcpath}/viewcvs-install
</del><ins>+homepage            http://www.viewvc.org
+platforms           darwin
+supported_archs     noarch
+license             BSD
+master_sites        http://viewvc.tigris.org/files/documents/3330/49471/
+
+patchfiles          patch-viewvc-install.diff
+
+checksums           rmd160  f54549b82e6959cf1088c244e90c2688f27ee2a7 \
+                    sha256  0620f69fa5ba02ac65e000586ba31015a2053a82711bedb30629fd6087003d7e
+
+# Per website, this doesn't work with any python3
+depends_lib         port:python27
+
+post-patch {
+    reinplace &quot;s|/usr/bin/env python|${prefix}/bin/python2.7|&quot; ${worksrcpath}/viewvc-install
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-build                {}
-build.cmd        ./viewcvs-install
-post-destroot {
-        
-        switch ${os.platform} {
-                darwin {
-                        set cgi_path &quot;/Library/WebServer/CGI-Executables/&quot;
-                } freebsd {
-                        set cgi_path &quot;/usr/local/www/cgi-bin/&quot;
-                } default {
-                        puts stdout &quot;and it was like, beep beep beep beep beep...&quot;
-                }
-        }
-        
-        # apache port interop
-        if {[ file exists ${prefix}/sbin/httpd]} {
-                set cgi_path &quot;${prefix}/www/cgi-bin/&quot;
-           }
</del><ins>+use_configure       no
</ins><span class="cx"> 
</span><del>-        system &quot;install -d ${destroot}${cgi_path}&quot;
-        system &quot;install -m 755 ${destroot}${prefix}/share/${name}-${version}/cgi/query.cgi ${destroot}${cgi_path}&quot;
-        system &quot;install -m 755 ${destroot}${prefix}/share/${name}-${version}/cgi/viewcvs.cgi ${destroot}${cgi_path}&quot;
</del><ins>+build               {}
+
+destroot.cmd        ./viewvc-install --prefix=${prefix}/share/${name} --destdir=${destroot} --clean-mode=true
+
+
+variant cvs description {Enable cvs repositories} {
+    depends_lib-append  port:cvs \
+                        port:rcs
</ins><span class="cx"> }
</span><ins>+variant subversion description {Enable subversion repositories} {
+    depends_lib-append  port:py27-pysvn \
+                        port:subversion-python27bindings
+}
+
+default_variants +cvs +subversion
+
+notes &quot;
+If this is a fresh install, read\
+http://viewvc.tigris.org/source/browse/*checkout*/viewvc/trunk/INSTALL\
+otherwise http://viewvc.tigris.org/source/browse/*checkout*/viewvc/trunk/docs/upgrading-howto.html\
+
+Copy ${prefix}/share/viewvc/viewvc.conf.dist to ${prefix}/share/viewvc.conf\
+and then edit it.\
+It may be easiest to use ${prefix}/share/viewvc/bin/standalone.py to test the setup.
+&quot;
+
+livecheck.url       http://viewvc.tigris.org/servlets/ProjectDocumentList?folderID=6004
</ins></span></pre></div>
<a id="trunkdportsdevelviewvcfilespatchviewcvsinstall"></a>
<div class="delfile"><h4>Deleted: trunk/dports/devel/viewvc/files/patch-viewcvs-install (144766 => 144773)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/devel/viewcvs/files/patch-viewcvs-install        2016-01-17 19:10:57 UTC (rev 144766)
+++ trunk/dports/devel/viewvc/files/patch-viewcvs-install        2016-01-18 03:59:32 UTC (rev 144773)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>---- viewcvs-install.orig        Wed Oct  8 07:26:38 2003
-+++ viewcvs-install        Wed Oct  8 07:31:41 2003
-@@ -51,7 +51,8 @@
- &quot;&quot;&quot; % version

- ## installer defaults
--ROOT_DIR = &quot;/usr/local/viewcvs-&quot; + version
-+ROOT_DIR = &quot;__ROOTDIR&quot;
-+DESTROOT_DIR = &quot;__DESTROOTDIR&quot;


- ## list of files for installation
-@@ -65,11 +66,11 @@
-     (&quot;cgi/query.cgi&quot;, &quot;cgi/query.cgi&quot;, 0755, 1, 0, 0),
-     (&quot;standalone.py&quot;, &quot;standalone.py&quot;, 0755, 1, 0, 0),

--    (&quot;cgi/viewcvs.conf.dist&quot;, &quot;viewcvs.conf&quot;, 0644, 1,
-+    (&quot;cgi/viewcvs.conf.dist&quot;, &quot;viewcvs.conf.dist&quot;, 0644, 1,
-              &quot;&quot;&quot;Note: If you are upgrading from viewcvs-0.7 or earlier: 
- The section [text] has been removed from viewcvs.conf.  The functionality
- went into the new files in subdirectory templates.&quot;&quot;&quot;, 0),
--    (&quot;cgi/cvsgraph.conf.dist&quot;, &quot;cvsgraph.conf&quot;, 0644, 0, 1, 0),
-+    (&quot;cgi/cvsgraph.conf.dist&quot;, &quot;cvsgraph.conf.dist&quot;, 0644, 0, 1, 0),

-     (&quot;lib/PyFontify.py&quot;, &quot;lib/PyFontify.py&quot;, 0644, 0, 0, 1),
-     (&quot;lib/blame.py&quot;, &quot;lib/blame.py&quot;, 0644, 0, 0, 1),
-@@ -158,7 +159,7 @@

- def InstallFile(src_path, dest_path, mode, set_python_paths, prompt_replace,
-                 compile_it):
--  dest_path = os.path.join(ROOT_DIR, dest_path)
-+  dest_path = os.path.join(DESTROOT_DIR, dest_path)
-     
-   if prompt_replace and os.path.exists(dest_path):
-     # Collect ndiff output from ndiff
-@@ -192,7 +193,7 @@
-     if type(prompt_replace) == type(&quot;&quot;):
-       print prompt_replace
-     while 1:
--      temp = raw_input(&quot;\n    File %s\n    exists and is different from source file.\n      DO YOU WANT TO,\n        overwrite [o]\n        do not overwrite [d]\n        view differences [v]: &quot; % (dest_path))
-+      temp = &quot;o&quot;
-       print

-       temp = string.lower(temp[0])
-@@ -245,10 +246,10 @@
-     print INFO_TEXT
-     
-     ## get the install path
--    temp = raw_input(&quot;Installation Path [%s]: &quot; % ROOT_DIR)
--    temp = string.strip(temp)
--    if len(temp):
--        ROOT_DIR = temp
-+    #temp = raw_input(&quot;Installation Path [%s]: &quot; % ROOT_DIR)
-+    #temp = string.strip(temp)
-+    #if len(temp):
-+    #    ROOT_DIR = temp
-         
-     ## install the files
-     print
</del></span></pre></div>
<a id="trunkdportsdevelviewvcfilespatchviewvcinstalldiff"></a>
<div class="addfile"><h4>Added: trunk/dports/devel/viewvc/files/patch-viewvc-install.diff (0 => 144773)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/devel/viewvc/files/patch-viewvc-install.diff                                (rev 0)
+++ trunk/dports/devel/viewvc/files/patch-viewvc-install.diff        2016-01-18 03:59:32 UTC (rev 144773)
</span><span class="lines">@@ -0,0 +1,14 @@
</span><ins>+--- viewvc-install.orig        2013-01-04 13:04:36.000000000 -0600
++++ viewvc-install        2014-09-12 23:04:24.000000000 -0500
+@@ -63,11 +63,8 @@
+     (&quot;bin/svndbadmin&quot;,            &quot;bin/svndbadmin&quot;,            0755, 1, 0, 0),
+     (&quot;bin/make-database&quot;,         &quot;bin/make-database&quot;,         0755, 1, 0, 0),
+     (&quot;conf/viewvc.conf.dist&quot;,     &quot;viewvc.conf.dist&quot;,          0644, 0, 0, 0),
+-    (&quot;conf/viewvc.conf.dist&quot;,     &quot;viewvc.conf&quot;,               0644, 0, 1, 0),
+     (&quot;conf/cvsgraph.conf.dist&quot;,   &quot;cvsgraph.conf.dist&quot;,        0644, 0, 0, 0),
+-    (&quot;conf/cvsgraph.conf.dist&quot;,   &quot;cvsgraph.conf&quot;,             0644, 0, 1, 0),
+     (&quot;conf/mimetypes.conf.dist&quot;,  &quot;mimetypes.conf.dist&quot;,       0644, 0, 0, 0),
+-    (&quot;conf/mimetypes.conf.dist&quot;,  &quot;mimetypes.conf&quot;,            0644, 0, 1, 0),
+     ]
+ if sys.platform == &quot;win32&quot;:
+   FILE_INFO_LIST.extend([
</ins></span></pre>
</div>
</div>

</body>
</html>