[48671] trunk/dports/python/py26-pydb
mcalhoun at macports.org
mcalhoun at macports.org
Thu Mar 26 18:26:20 PDT 2009
Revision: 48671
http://trac.macports.org/changeset/48671
Author: mcalhoun at macports.org
Date: 2009-03-26 18:26:19 -0700 (Thu, 26 Mar 2009)
Log Message:
-----------
py26-pydb:
* patch-Makefile.in.diff required to avoid a link to destroot directory.
* macfreek.nl:software maintainership copied over from py25-pydb.
* /opt/local replaced with ${prefix}.
* Links created in ${destroot}${prefix} instead of ${prefix}.
* Change binary name to be more consistent with other py26-* packages.
* Install man page (with python version number).
Modified Paths:
--------------
trunk/dports/python/py26-pydb/Portfile
Added Paths:
-----------
trunk/dports/python/py26-pydb/files/
trunk/dports/python/py26-pydb/files/patch-Makefile.in.diff
Modified: trunk/dports/python/py26-pydb/Portfile
===================================================================
--- trunk/dports/python/py26-pydb/Portfile 2009-03-27 01:04:23 UTC (rev 48670)
+++ trunk/dports/python/py26-pydb/Portfile 2009-03-27 01:26:19 UTC (rev 48671)
@@ -5,8 +5,9 @@
name py26-pydb
version 1.25
+revision 1
categories python
-maintainers software at macfreek.nl dweber openmaintainer
+maintainers dweber openmaintainer
description Extended Python Debugger
long_description \
pydb is an expanded version of the Python debugger loosely based on the gdb command set. \
@@ -23,12 +24,13 @@
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}
-set pysite ${pyframe}/lib/${python}/site-packages
depends_lib-append port:${pyport}
@@ -41,6 +43,6 @@
--with-python=${prefix}/bin/${python}
post-destroot {
- ln -f -s ${pysite}/pydb/pydb.py /opt/local/bin/${name}
+ 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
}
-
Added: trunk/dports/python/py26-pydb/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/python/py26-pydb/files/patch-Makefile.in.diff (rev 0)
+++ trunk/dports/python/py26-pydb/files/patch-Makefile.in.diff 2009-03-27 01:26:19 UTC (rev 48671)
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2009-03-09 16:17:54.000000000 -0400
++++ Makefile.in 2009-03-09 16:18:05.000000000 -0400
+@@ -827,7 +827,7 @@
+ fi
+ rm -f "$(DESTDIR)$(bindir)/$(bin_SCRIPTS)" || true;
+ chmod +x "$(DESTDIR)$(pkgpythondir)/$(python_debugger_script)"
+- $(LN_S) "$(DESTDIR)$(pkgpythondir)/$(python_debugger_script)" "$(DESTDIR)$(bindir)/$(bin_SCRIPTS)"
++ $(LN_S) "$(pkgpythondir)/$(python_debugger_script)" "$(DESTDIR)$(bindir)/$(bin_SCRIPTS)"
+
+ test: check
+ @MAINTAINER_MODE_TRUE at ChangeLog:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090326/3792c511/attachment.html>
More information about the macports-changes
mailing list