Ticket #12447: mcl-Portfile

File mcl-Portfile, 1.7 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 15 years ago)
Line 
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
4PortSystem          1.0
5
6name                py25-db
7version             1.25
8categories          python
9maintainers         macfreek.nl:software openmaintainer
10description         Extended Python debugger
11long_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"
14homepage            http://bashdb.sourceforge.net/pydb/
15
16platforms           darwin
17
18master_sites        sourceforge:bashdb
19distname            pydb-${version}
20use_bzip2           yes
21
22checksums           md5 a4b3005f92521461eb55663a1b8d1642 \
23                    sha1 c9c85d3c3003d7d2feebc081bb71bf5649d3e09c \
24                    rmd160 aebba569564dac9415ef6fc3b16f32f3157d1ce3
25
26patchfiles          patch-Makefile.in.diff
27
28# Install binaries and man pages in a different location to avoid conflict
29#    with other Python versions
30set python_prefix   ${frameworks_dir}/Python.framework/Version/2.5
31configure.pre_args  --prefix=${python_prefix}
32
33configure.python    ${prefix}/bin/python2.5
34
35# python2.5 gives the incorrect location of site-packages (see #16334).
36configure.args      --with-site-packages=${prefix}/lib/python2.5
37
38post-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}