source: trunk/dports/python/py26-pydb/Portfile

Last change on this file was 150749, checked in by petr@…, 12 months ago

py26-pydb: formating

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
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: Portfile 150749 2016-07-27 22:48:22Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                py26-pydb
7version             1.25
8revision            1
9categories          python
10platforms           darwin
11supported_archs     noarch
12license             GPL-2+
13maintainers         nomaintainer
14
15description         Extended Python Debugger
16long_description    \
17    pydb is an ex   panded version of the Python debugger loosely based on the gdb command set. \
18    To use pydb i   n a GUI, also install the ddd packages, and run "ddd --pydb"
19
20homepage            http://bashdb.sourceforge.net/pydb/
21
22master_sites        sourceforge:bashdb
23distname            pydb-${version}
24
25checksums           md5  86ab5dcd4f1c81192aeb7e0828371b6c \
26                    sha1 9e6242c051089e53f3da4fcecba469c2d868de55 \
27                    rmd160 afc83ea56149c3b1fba84089386b6974f01b1344
28
29patchfiles          patch-Makefile.in.diff
30
31# Set general python version parameters
32set pyver           2.6
33set python          python${pyver}
34set pyport          [join [lrange [split ${python} .] 0 1] ""]
35set pyframe         ${prefix}/Library/Frameworks/Python.framework/Versions/${pyver}
36
37depends_lib-append  port:${pyport}
38
39# Install binaries and man pages in a different location to avoid conflict
40# with other Python versions
41configure.pre_args  --prefix=${pyframe}
42configure.python    ${prefix}/bin/${python}
43
44configure.args-append \
45    --with-python=${prefix}/bin/${python}
46
47post-destroot {
48    ln -s ${pyframe}/bin/pydb ${destroot}${prefix}/bin/pydb-${pyver}
49    ln -s ${pyframe}/share/man/man1/pydb.1 ${destroot}${prefix}/share/man/man1/pydb-${pyver}.1
50}
Note: See TracBrowser for help on using the repository browser.