# -*- 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 # $Id: Portfile 150749 2016-07-27 22:48:22Z petr@macports.org $ PortSystem 1.0 name py26-pydb version 1.25 revision 1 categories python platforms darwin supported_archs noarch license GPL-2+ maintainers nomaintainer description Extended Python Debugger long_description \ pydb is an ex panded version of the Python debugger loosely based on the gdb command set. \ To use pydb i n a GUI, also install the ddd packages, and run "ddd --pydb" homepage http://bashdb.sourceforge.net/pydb/ master_sites sourceforge:bashdb distname pydb-${version} checksums md5 86ab5dcd4f1c81192aeb7e0828371b6c \ sha1 9e6242c051089e53f3da4fcecba469c2d868de55 \ rmd160 afc83ea56149c3b1fba84089386b6974f01b1344 patchfiles patch-Makefile.in.diff # Set general python version parameters set pyver 2.6 set python python${pyver} set pyport [join [lrange [split ${python} .] 0 1] ""] set pyframe ${prefix}/Library/Frameworks/Python.framework/Versions/${pyver} depends_lib-append port:${pyport} # Install binaries and man pages in a different location to avoid conflict # with other Python versions configure.pre_args --prefix=${pyframe} configure.python ${prefix}/bin/${python} configure.args-append \ --with-python=${prefix}/bin/${python} post-destroot { ln -s ${pyframe}/bin/pydb ${destroot}${prefix}/bin/pydb-${pyver} ln -s ${pyframe}/share/man/man1/pydb.1 ${destroot}${prefix}/share/man/man1/pydb-${pyver}.1 }