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

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

zeroinstall-injector: port upgrade

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 77131 2011-03-20 16:53:17Z afb@macports.org $
2
3PortSystem 1.0
4
5name            zeroinstall-injector
6version         0.52
7platforms       darwin freebsd linux
8categories      sysutils
9license         LGPL
10maintainers     afb
11description     The Zero Install Injector (0launch)
12long_description \
13The Zero Install Injector makes it easy for users to install software without \
14needing root privileges. It takes the URL of a program and runs it (downloading \
15it first if necessary). Any dependencies of the program are fetched in the same \
16way. The user controls which version of the program and its dependencies to \
17use.
18
19homepage        http://0install.net
20master_sites    sourceforge
21master_sites.mirror_subdir      zero-install
22use_bzip2       yes
23checksums       md5 781002a02e8516e61d369c40c53f6b46 \
24                sha1 aad722561a55358a360a0dddf99118974dca741e \
25                rmd160 fdf667e9b0f051769d5eff2e901e4f49a3d445d1
26
27depends_lib     port:python25 bin:gpg:gnupg
28depends_run     port:py25-gtk port:py25-xml bin:sudo:sudo
29
30post-patch   {
31        reinplace "s|'man/man1'|'share/man/man1'|" ${worksrcpath}/setup.py
32}
33
34use_configure   no
35
36build.cmd       ${prefix}/bin/python2.5 setup.py
37build.target            build
38
39destroot.cmd    ${prefix}/bin/python2.5 setup.py
40destroot.destdir        --prefix=${prefix} --skip-build --root=${destroot}
41
42post-destroot   {
43        reinplace "s|/usr/bin/env python|${prefix}/bin/python2.5|" \
44                  ${destroot}${prefix}/lib/python2.5/site-packages/zeroinstall/0launch-gui/0launch-gui
45}
46
47livecheck.name  zero-install
48livecheck.distname      injector
Note: See TracBrowser for help on using the repository browser.