[106649] trunk/dports/office/task/Portfile

g5pw at macports.org g5pw at macports.org
Mon Jun 3 05:40:02 PDT 2013


Revision: 106649
          https://trac.macports.org/changeset/106649
Author:   g5pw at macports.org
Date:     2013-06-03 05:40:02 -0700 (Mon, 03 Jun 2013)
Log Message:
-----------
office/task:
  use recent checksums
  install bash, zsh completions by default
  install vim runtime files

Modified Paths:
--------------
    trunk/dports/office/task/Portfile

Modified: trunk/dports/office/task/Portfile
===================================================================
--- trunk/dports/office/task/Portfile	2013-06-03 11:56:38 UTC (rev 106648)
+++ trunk/dports/office/task/Portfile	2013-06-03 12:40:02 UTC (rev 106649)
@@ -5,6 +5,7 @@
 
 name                task
 version             2.2.0
+revision            1
 maintainers         nomaintainer
 
 categories          office
@@ -19,33 +20,26 @@
 homepage            http://taskwarrior.org/
 master_sites        http://www.taskwarrior.org/download/
 
-checksums           sha1    70656deb48a460f95370c885e388b475475f64eb \
-                    rmd160  286c67655b217058f26dcafc98693599a00cce88 \
+checksums           rmd160  286c67655b217058f26dcafc98693599a00cce88 \
                     sha256  39e25dd285e6bc8474337a5868cb2ec55675978fa1f08c802e6da58b4181ee14
 
 depends_lib-append  port:lua
 
 post-destroot {
-    if {[variant_isset bash_completion]} {
-        xinstall -d ${destroot}${prefix}/share/bash-completion/completions
-        xinstall ${worksrcpath}/scripts/bash/task.sh ${destroot}${prefix}/share/bash-completion/completions/task
-    }
+    # Install bash completions
+    xinstall -d ${destroot}${prefix}/share/bash-completion/completions
+    xinstall ${worksrcpath}/scripts/bash/task.sh ${destroot}${prefix}/share/bash-completion/completions/task
 
-    if {[variant_isset zsh_completion]} {
-        set site-functions ${destroot}${prefix}/share/zsh/site-functions
-        xinstall -d ${site-functions}
-        xinstall ${worksrcpath}/scripts/zsh/_task ${site-functions}/_task
-    }
-}
+    # Install zsh completions
+    set site-functions ${destroot}${prefix}/share/zsh/site-functions
+    xinstall -d ${site-functions}
+    xinstall ${worksrcpath}/scripts/zsh/_task ${site-functions}/_task
 
-variant bash_completion {
-    depends_run-append  path:etc/bash_completion:bash-completion
+    # Install vim runtime files
+    xinstall -d ${prefix}/share/vim/vimfiles
+    xinstall -W ${worksrcpath}/scripts/vim after syntax ${prefix}/share/vim/vimfiles
 }
 
-variant zsh_completion description {Install mercurial zsh completion file} {
-    depends_run-append path:${prefix}/bin/zsh:zsh
-}
-
 livecheck.type  regex
 livecheck.url   ${homepage}/projects/taskwarrior/wiki/Download
 livecheck.regex ${name}-(\\d(?:\\.\\d)+)\\.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130603/27e24b4a/attachment.html>


More information about the macports-changes mailing list