[48673] trunk/dports/python/py25-pydb

mcalhoun at macports.org mcalhoun at macports.org
Thu Mar 26 18:38:43 PDT 2009


Revision: 48673
          http://trac.macports.org/changeset/48673
Author:   mcalhoun at macports.org
Date:     2009-03-26 18:38:43 -0700 (Thu, 26 Mar 2009)
Log Message:
-----------
py25-pydb:
  * patch-Makefile.in.diff required to avoid a link to destroot directory.
  * Change binary and man page name to be consistent with py26-pydb.
  * Fix python_prefix.

Modified Paths:
--------------
    trunk/dports/python/py25-pydb/Portfile

Added Paths:
-----------
    trunk/dports/python/py25-pydb/files/
    trunk/dports/python/py25-pydb/files/patch-Makefile.in.diff

Modified: trunk/dports/python/py25-pydb/Portfile
===================================================================
--- trunk/dports/python/py25-pydb/Portfile	2009-03-27 01:26:52 UTC (rev 48672)
+++ trunk/dports/python/py25-pydb/Portfile	2009-03-27 01:38:43 UTC (rev 48673)
@@ -5,6 +5,7 @@
 
 name                py25-pydb
 version             1.25
+revision            1
 categories          python
 maintainers         macfreek.nl:software dweber openmaintainer
 description         Extended Python debugger
@@ -25,9 +26,11 @@
 
 depends_lib         port:python25
 
+patchfiles          patch-Makefile.in.diff
+
 # Install binaries and man pages in a different location to avoid conflict
 #    with other Python versions
-set python_prefix   ${frameworks_dir}/Python.framework/Version/2.5
+set python_prefix   ${frameworks_dir}/Python.framework/Versions/2.5
 configure.pre_args  --prefix=${python_prefix}
 
 configure.python    ${prefix}/bin/python2.5
@@ -38,9 +41,9 @@
 post-destroot {
     # Install binaries and man pages with version appended.
     foreach fl [glob -tails -directory ${destroot}${python_prefix}/bin *] {
-        ln -s ${python_prefix}/bin/${fl} ${destroot}${prefix}/bin/${fl}2.5
+        ln -s ${python_prefix}/bin/${fl} ${destroot}${prefix}/bin/${fl}-2.5
     }
     foreach fl {pydb} {
-        ln -s ${python_prefix}/share/man/man1/${fl}.1 ${destroot}${prefix}/share/man/man1/${fl}2.5.1
+        ln -s ${python_prefix}/share/man/man1/${fl}.1 ${destroot}${prefix}/share/man/man1/${fl}-2.5.1
     }
 }

Added: trunk/dports/python/py25-pydb/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/python/py25-pydb/files/patch-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/python/py25-pydb/files/patch-Makefile.in.diff	2009-03-27 01:38:43 UTC (rev 48673)
@@ -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/58c08506/attachment-0001.html>


More information about the macports-changes mailing list