1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name py25-db |
---|
7 | version 1.25 |
---|
8 | categories python |
---|
9 | maintainers macfreek.nl:software openmaintainer |
---|
10 | description Extended Python debugger |
---|
11 | long_description pydb is an expanded version of the Python debugger loosely \ |
---|
12 | based on the gdb command set. To use pydb in a GUI, also \ |
---|
13 | install the ddd packages, and run "ddd --pydb" |
---|
14 | homepage http://bashdb.sourceforge.net/pydb/ |
---|
15 | |
---|
16 | platforms darwin |
---|
17 | |
---|
18 | master_sites sourceforge:bashdb |
---|
19 | distname pydb-${version} |
---|
20 | use_bzip2 yes |
---|
21 | |
---|
22 | checksums md5 a4b3005f92521461eb55663a1b8d1642 \ |
---|
23 | sha1 c9c85d3c3003d7d2feebc081bb71bf5649d3e09c \ |
---|
24 | rmd160 aebba569564dac9415ef6fc3b16f32f3157d1ce3 |
---|
25 | |
---|
26 | patchfiles patch-Makefile.in.diff |
---|
27 | |
---|
28 | # Install binaries and man pages in a different location to avoid conflict |
---|
29 | # with other Python versions |
---|
30 | set python_prefix ${frameworks_dir}/Python.framework/Version/2.5 |
---|
31 | configure.pre_args --prefix=${python_prefix} |
---|
32 | |
---|
33 | configure.python ${prefix}/bin/python2.5 |
---|
34 | |
---|
35 | # python2.5 gives the incorrect location of site-packages (see #16334). |
---|
36 | configure.args --with-site-packages=${prefix}/lib/python2.5 |
---|
37 | |
---|
38 | post-destroot { |
---|
39 | # Install binaries and man pages with version appended. |
---|
40 | foreach fl [glob -tails -directory ${destroot}${python_prefix}/bin *] { |
---|
41 | ln -s ${python_prefix}/bin/${fl} ${destroot}${prefix}/bin/${fl}2.5 |
---|
42 | } |
---|
43 | foreach fl {pydb} { |
---|
44 | ln -s ${python_prefix}/share/man/man1/${fl}.1 ${destroot}${prefix}/share/man/man1/${fl}2.5.1 |
---|
45 | } |
---|
46 | } |
---|