source: trunk/dports/sysutils/zeroinstall-injector/Portfile @ 29929

Last change on this file since 29929 was 29929, checked in by afb@…, 12 years ago

new port: Zero Install (with Portfile too)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 29929 2007-10-15 12:49:22Z afb@macports.org $
2
3PortSystem 1.0
4
5name            zeroinstall-injector
6version         0.30
7platforms       darwin freebsd linux
8categories      sysutils
9maintainers     afb@macports.org
10description     The Zero Install Injector (0launch)
11long_description \
12The Zero Install Injector makes it easy for users to install software without \
13needing root privileges. It takes the URL of a program and runs it (downloading \
14it first if necessary). Any dependencies of the program are fetched in the same \
15way. The user controls which version of the program and its dependencies to \
16use.
17
18homepage        http://0install.net
19master_sites    sourceforge
20master_sites.mirror_subdir      zero-install
21extract.suffix  .tar.gz.gpg
22checksums       md5 c539dc6ffa39f18700220f5565d8eac3 \
23                sha1 c3cdc1bec37f62f9dbd8e938590a6097a259904a \
24                rmd160 eff6aee9b81ce8aa9a92272de6526ac6753f3fd0
25
26depends_lib     port:python25 bin:gpg:gnupg
27depends_run     port:py25-gtk port:py25-xml bin:sudo:sudo
28
29extract { system "mkdir ${worksrcpath} && cd ${workpath};
30gpg --decrypt ${distpath}/${distname}${extract.suffix} |
31${extract.cmd} ${extract.pre_args} - ${extract.post_args}" }
32
33patchfiles      patch-setup.py patch-arch.py patch-unpack.py
34
35use_configure   no
36
37build.cmd       ${prefix}/bin/python2.5 setup.py
38build.target            build
39
40destroot.cmd    ${prefix}/bin/python2.5 setup.py
41destroot.destdir        --prefix=${prefix} --skip-build --root=${destroot}
42
43livecheck.name  zero-install
44livecheck.distname      injector
Note: See TracBrowser for help on using the repository browser.