Revision: 94787 https://trac.macports.org/changeset/94787 Author: g5pw@macports.org Date: 2012-06-29 12:39:56 -0700 (Fri, 29 Jun 2012) Log Message: ----------- sysutils/autojump: - Modified to use github portgroup - Adapted to new directory structure of sources - Updated version to 20-9 - Removed livecheck as it is included in the github portgroup I received permission from the maintainer to commit this patch. Modified Paths: -------------- trunk/dports/sysutils/autojump/Portfile Modified: trunk/dports/sysutils/autojump/Portfile =================================================================== --- trunk/dports/sysutils/autojump/Portfile 2012-06-29 19:34:49 UTC (rev 94786) +++ trunk/dports/sysutils/autojump/Portfile 2012-06-29 19:39:56 UTC (rev 94787) @@ -2,9 +2,9 @@ # $Id$ PortSystem 1.0 +PortGroup github 1.0 -name autojump -version 20 +github.setup joelthelion autojump 20-9 "release-v" categories sysutils platforms darwin maintainers gmail.com:johnny.kuan @@ -15,18 +15,14 @@ long_description ${name} is ${description}. -homepage http://github.com/joelthelion/autojump -master_sites https://github.com/downloads/joelthelion/autojump -distname ${name}_v${version} +checksums rmd160 cad4650a97c38af3dc1d8b857413473de252f248 \ + sha256 678182dcd2854f096e3e468dfb9006ffedb2a178ae927dbc822789eb8107f5aa -checksums rmd160 de31e3396684fc88305b5a4fc47afe5c9a40c060 \ - sha256 a2a8cf2dcda97fef227a53b3a634ebb7173e0f8da97545da247e7f4de88ba408 - depends_run port:python27 post-patch { - reinplace "s:/etc/profile.d:${prefix}/etc/profile.d:g" ${worksrcpath}/autojump.sh - reinplace "s:/usr/bin/env python:${prefix}/bin/python2.7:g" ${worksrcpath}/autojump + reinplace "s:/etc/profile.d:${prefix}/etc/profile.d:g" ${worksrcpath}/bin/autojump.sh + reinplace "s:/usr/bin/env python:${prefix}/bin/python2.7:g" ${worksrcpath}/bin/autojump } use_configure no @@ -34,12 +30,12 @@ build {} destroot { - xinstall -m 755 -W ${worksrcpath} autojump ${destroot}${prefix}/bin/ - xinstall -m 755 -W ${worksrcpath} autojump.1 ${destroot}${prefix}/share/man/man1/ + xinstall -m 755 -W ${worksrcpath}/bin autojump ${destroot}${prefix}/bin/ + xinstall -m 755 -W ${worksrcpath}/docs autojump.1 ${destroot}${prefix}/share/man/man1/ xinstall -d ${destroot}${prefix}/etc/profile.d/ - xinstall -m 644 -W ${worksrcpath} autojump.sh autojump.bash autojump.zsh ${destroot}${prefix}/etc/profile.d/ + xinstall -m 644 -W ${worksrcpath}/bin autojump.sh autojump.bash autojump.zsh ${destroot}${prefix}/etc/profile.d/ xinstall -d ${destroot}${prefix}/share/zsh/site-functions/ - xinstall -m 644 -W ${worksrcpath} _j ${destroot}${prefix}/share/zsh/site-functions/ + xinstall -m 644 -W ${worksrcpath}/bin _j ${destroot}${prefix}/share/zsh/site-functions/ } notes " @@ -54,6 +50,3 @@ . ${prefix}/etc/profile.d/autojump.sh fi " - -livecheck.url ${homepage}/downloads -livecheck.regex ${name}_v(\[0-9.\]+)${extract.suffix}
participants (1)
-
g5pw@macports.org