[134920] trunk/dports/devel/codesearch/Portfile

eborisch at macports.org eborisch at macports.org
Fri Apr 10 15:00:51 PDT 2015


Revision: 134920
          https://trac.macports.org/changeset/134920
Author:   eborisch at macports.org
Date:     2015-04-10 15:00:51 -0700 (Fri, 10 Apr 2015)
Log Message:
-----------
codesearch: code.google -> github.

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

Modified: trunk/dports/devel/codesearch/Portfile
===================================================================
--- trunk/dports/devel/codesearch/Portfile	2015-04-10 20:10:54 UTC (rev 134919)
+++ trunk/dports/devel/codesearch/Portfile	2015-04-10 22:00:51 UTC (rev 134920)
@@ -4,12 +4,12 @@
 # Adapted from https://bitbucket.org/seanfarley/scienceports/src/de7cc636fbec/devel/codesearch/Portfile?at=default
 
 PortSystem          1.0
+PortGroup           github 1.0
 
-name                codesearch
-version             20131031
-checksums \
-    rmd160  bd98b05f1b74b7f40df1def060cd66df60bdfddb \
-    sha256  1cbbb8cfaf065874085c8e1cc2406a0d33caafd3866f3b3e1b34dac9dca43f6a
+github.setup        google codesearch cd8c34d7416fc8a67c45e0ad5146c5878bc87ebd
+version             20131030
+# Epoch 1: Migration to github
+epoch               1
 
 categories          devel
 maintainers         nomaintainer
@@ -20,20 +20,21 @@
     set of command-line programs written in Go
 
 license             BSD
-homepage            http://code.google.com/p/codesearch/
-master_sites        googlecode
 
+checksums \
+    rmd160  72368e8843b6c160e31c7a23c27bacbeb86973c4 \
+    sha256  a93832ae7dbef3e986deee48a95ae8a51e7ae138815e7f7a3dcf7e8313c023e4
+
 platforms           darwin
 
 depends_lib         port:go
 
 worksrcdir          src/code.google.com/p/codesearch
 
-extract.suffix      .tgz
-
 post-extract {
     xinstall -d ${workpath}/src/code.google.com/p
-    move ${workpath}/${name} ${workpath}/src/code.google.com/p
+    move ${workpath}/${name}-${github.version} \
+        ${worksrcpath}
 }
 
 use_configure       no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150410/f2b674fd/attachment.html>


More information about the macports-changes mailing list