[142195] trunk/dports/devel/cvsweb/Portfile

mojca at macports.org mojca at macports.org
Sat Dec 12 04:43:56 PST 2015


Revision: 142195
          https://trac.macports.org/changeset/142195
Author:   mojca at macports.org
Date:     2015-11-06 05:52:09 -0800 (Fri, 06 Nov 2015)
Log Message:
-----------
cvsweb: whitespace, first line, checksums only

Modified Paths:
--------------
    trunk/dports/devel/cvsweb/Portfile

Modified: trunk/dports/devel/cvsweb/Portfile
===================================================================
--- trunk/dports/devel/cvsweb/Portfile	2015-11-06 13:39:12 UTC (rev 142194)
+++ trunk/dports/devel/cvsweb/Portfile	2015-11-06 13:52:09 UTC (rev 142195)
@@ -1,69 +1,70 @@
+# -*- 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
 # $Id$
 
-PortSystem 1.0
+PortSystem          1.0
 
-name		cvsweb
-version		3.0.6
-revision    2
-categories	devel www
-license		BSD
-maintainers	nomaintainer
-supported_archs	noarch
+name                cvsweb
+version             3.0.6
+revision            2
+categories          devel www
+license             BSD
+maintainers         nomaintainer
+supported_archs     noarch
 
-description	WWW interface for CVS repositories
-long_description	\
-	FreeBSD-CVSweb is a WWW CGI script that allows remote users to \
-	browse a CVS repository tree via web.  It can display the revision \
-	history of a file, as well as diffs between revisions and \
-	downloading the whole file.
-homepage	http://www.freebsd.org/projects/cvsweb.html
-platforms	darwin
-master_sites    http://people.FreeBSD.org/~scop/cvsweb/ \
-		ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/scop/
-checksums	md5 0e1eec962b1db00e01b295fff84b6e89
+description         WWW interface for CVS repositories
+long_description    FreeBSD-CVSweb is a WWW CGI script that allows remote users to \
+                    browse a CVS repository tree via web.  It can display the revision \
+                    history of a file, as well as diffs between revisions and \
+                    downloading the whole file.
+homepage            http://www.freebsd.org/projects/cvsweb.html
+platforms           darwin
+master_sites        http://people.FreeBSD.org/~scop/cvsweb/ \
+                    ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/scop/
 
-depends_build	port:perl5.16 \
-		port:p5.16-ipc-run \
-		port:p5.16-file-temp \
-		port:p5.16-uri \
-		port:p5.16-mime-types \
-		port:p5.16-string-ediff \
-		port:cvsgraph
+checksums           rmd160  e933c3814ea52c7fb9cec65e088c9ab778da2fee \
+                    sha256  07391ee70212ae42e54b8f6d5e613623ef2aad5fd7474899a102fcca48d213c2
 
-use_configure	no
-build		{}
+depends_build       port:perl5.16 \
+                    port:p5.16-ipc-run \
+                    port:p5.16-file-temp \
+                    port:p5.16-uri \
+                    port:p5.16-mime-types \
+                    port:p5.16-string-ediff \
+                    port:cvsgraph
 
-	global cgi_path httpd_conf_path
-	set cgi_path "/Library/WebServer/CGI-Executables/"
-	set httpd_conf_path "/private/etc/httpd/"
-	set icons_path "/Library/WebServer/Documents/icons/"
-	set css_path "/Library/WebServer/Documents/css/"
+use_configure       no
+build               {}
 
+global cgi_path     httpd_conf_path
+set cgi_path        "/Library/WebServer/CGI-Executables/"
+set httpd_conf_path "/private/etc/httpd/"
+set icons_path      "/Library/WebServer/Documents/icons/"
+set css_path        "/Library/WebServer/Documents/css/"
+
 variant macports_apache2 description {Install for MacPorts apache2 instead of Apple Apache} {
-	global cgi_path httpd_conf_path
+    global cgi_path httpd_conf_path
         set cgi_path "${prefix}/apache2/cgi-bin/"
         set httpd_conf_path "${prefix}/apache2/conf/"
         set icons_path "${prefix}/apache2/htdocs/icons/"
         set css_path "${prefix}/apache2/htdocs/css/"
-
 }
 
 destroot.violate_mtree yes
 
 destroot {
-	file mkdir ${destroot}${cgi_path}
-	file mkdir ${destroot}${httpd_conf_path}
-	file mkdir ${destroot}${icons_path}
-	file mkdir ${destroot}${css_path}
-	xinstall -m 755 ${worksrcpath}/cvsweb.cgi ${destroot}${cgi_path}
-	xinstall -m 644 ${worksrcpath}/cvsweb.conf ${destroot}${httpd_conf_path}
-	eval xinstall -m 755 [glob ${worksrcpath}/icons/*] ${destroot}${icons_path}
-	eval xinstall -m 755 [glob ${worksrcpath}/css/*] ${destroot}${css_path}
+    file mkdir ${destroot}${cgi_path}
+    file mkdir ${destroot}${httpd_conf_path}
+    file mkdir ${destroot}${icons_path}
+    file mkdir ${destroot}${css_path}
+    xinstall -m 755 ${worksrcpath}/cvsweb.cgi ${destroot}${cgi_path}
+    xinstall -m 644 ${worksrcpath}/cvsweb.conf ${destroot}${httpd_conf_path}
+    eval xinstall -m 755 [glob ${worksrcpath}/icons/*] ${destroot}${icons_path}
+    eval xinstall -m 755 [glob ${worksrcpath}/css/*] ${destroot}${css_path}
 
-	reinplace -locale en_US.ISO8859-1 "s|#!/usr/bin/perl|#!${prefix}/bin/perl5.16|g" \
-		"${destroot}${cgi_path}/cvsweb.cgi"
-	reinplace -locale en_US.ISO8859-1 "s|/usr/local/etc/cvsweb/cvsweb.conf|${httpd_conf_path}cvsweb.conf|g" \
-		"${destroot}${cgi_path}/cvsweb.cgi"
-	reinplace -locale en_US.ISO8859-1 "s|/bin /usr/bin /usr/local/bin|/bin /usr/bin /usr/local/bin ${prefix}/bin ${prefix}/sbin|g" \
-		"${destroot}${cgi_path}/cvsweb.cgi"
+    reinplace -locale en_US.ISO8859-1 "s|#!/usr/bin/perl|#!${prefix}/bin/perl5.16|g" \
+        "${destroot}${cgi_path}/cvsweb.cgi"
+    reinplace -locale en_US.ISO8859-1 "s|/usr/local/etc/cvsweb/cvsweb.conf|${httpd_conf_path}cvsweb.conf|g" \
+        "${destroot}${cgi_path}/cvsweb.cgi"
+    reinplace -locale en_US.ISO8859-1 "s|/bin /usr/bin /usr/local/bin|/bin /usr/bin /usr/local/bin ${prefix}/bin ${prefix}/sbin|g" \
+        "${destroot}${cgi_path}/cvsweb.cgi"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/57aa1693/attachment.html>


More information about the macports-changes mailing list