[144774] trunk/dports/devel/viewcvs/Portfile

khindenburg at macports.org khindenburg at macports.org
Sun Jan 17 20:04:42 PST 2016


Revision: 144774
          https://trac.macports.org/changeset/144774
Author:   khindenburg at macports.org
Date:     2016-01-17 20:04:42 -0800 (Sun, 17 Jan 2016)
Log Message:
-----------
viewcvs: obsolete + replaced_by viewvc #20976

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

Modified: trunk/dports/devel/viewcvs/Portfile
===================================================================
--- trunk/dports/devel/viewcvs/Portfile	2016-01-18 03:59:32 UTC (rev 144773)
+++ trunk/dports/devel/viewcvs/Portfile	2016-01-18 04:04:42 UTC (rev 144774)
@@ -2,9 +2,12 @@
 
 PortSystem 1.0
 
+replaced_by    viewvc
+PortGroup      obsolete 1.0
+
 name		viewcvs
 version		0.9.2
-revision	1
+revision	2
 categories	devel www
 license		BSD
 maintainers	nomaintainer
@@ -18,38 +21,3 @@
 homepage	http://viewcvs.sourceforge.net/
 platforms	darwin
 supported_archs	noarch
-master_sites	sourceforge
-patchfiles	patch-viewcvs-install
-checksums	md5 c7857b1ed05240ad1f691ea40044daf2
-
-use_configure	no
-depends_build   bin:python:python27
-
-pre-build {
-	reinplace "s|__ROOTDIR|${prefix}/share/${name}-${version}|g" ${worksrcpath}/viewcvs-install
-	reinplace "s|__DESTROOTDIR|${destroot}${prefix}/share/${name}-${version}|g" ${worksrcpath}/viewcvs-install
-}
-
-build		{}
-build.cmd	./viewcvs-install
-post-destroot {
-	
-	switch ${os.platform} {
-		darwin {
-			set cgi_path "/Library/WebServer/CGI-Executables/"
-		} freebsd {
-			set cgi_path "/usr/local/www/cgi-bin/"
-		} default {
-			puts stdout "and it was like, beep beep beep beep beep..."
-		}
-	}
-	
-	# apache port interop
-	if {[ file exists ${prefix}/sbin/httpd]} {
-		set cgi_path "${prefix}/www/cgi-bin/"
-   	}
-
-	system "install -d ${destroot}${cgi_path}"
-	system "install -m 755 ${destroot}${prefix}/share/${name}-${version}/cgi/query.cgi ${destroot}${cgi_path}"
-	system "install -m 755 ${destroot}${prefix}/share/${name}-${version}/cgi/viewcvs.cgi ${destroot}${cgi_path}"
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160117/754ec8c9/attachment.html>


More information about the macports-changes mailing list