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

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

use absolute path and version suffix for running python (#16511)
avoids user error with not having PATH nor python_select set up

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 70137 2010-07-30 08:59:07Z afb@macports.org $
2
3PortSystem 1.0
4
5name            zeroinstall-injector
6version         0.41.1
7revision        1
8platforms       darwin freebsd linux
9categories      sysutils
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 98a77cf3432199dfe0b6bbb951883f1d \
24                sha1 a55b7a4fc87df0421e14c25e58b1632508d654b0 \
25                rmd160 0b8bd09c51cf3c3650fb1fabb211f7320e17877f
26
27depends_lib     port:python25 bin:gpg:gnupg
28depends_run     port:py25-gtk port:py25-xml bin:sudo:sudo
29
30patchfiles      patch-setup.py
31
32use_configure   no
33
34build.cmd       ${prefix}/bin/python2.5 setup.py
35build.target            build
36
37destroot.cmd    ${prefix}/bin/python2.5 setup.py
38destroot.destdir        --prefix=${prefix} --skip-build --root=${destroot}
39
40post-destroot   {
41        reinplace "s|/usr/bin/env python|${prefix}/bin/python2.5|" \
42                  ${destroot}${prefix}/lib/python2.5/site-packages/zeroinstall/0launch-gui/0launch-gui
43}
44
45livecheck.name  zero-install
46livecheck.distname      injector
Note: See TracBrowser for help on using the repository browser.