Changeset 48671


Ignore:
Timestamp:
Mar 27, 2009, 1:26:19 AM (11 years ago)
Author:
mcalhoun@…
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).
Location:
trunk/dports/python/py26-pydb
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py26-pydb/Portfile

    r48661 r48671  
    66name             py26-pydb
    77version          1.25
     8revision         1
    89categories       python
    9 maintainers      software@macfreek.nl dweber openmaintainer
     10maintainers      dweber openmaintainer
    1011description      Extended Python Debugger
    1112long_description \
     
    2425                 rmd160 afc83ea56149c3b1fba84089386b6974f01b1344
    2526
     27patchfiles       patch-Makefile.in.diff
     28
    2629# Set general python version parameters
    2730set pyver        2.6
     
    2932set pyport       [join [lrange [split ${python} .] 0 1] ""]
    3033set pyframe      ${prefix}/Library/Frameworks/Python.framework/Versions/${pyver}
    31 set pysite       ${pyframe}/lib/${python}/site-packages
    3234
    3335depends_lib-append port:${pyport}
     
    4244
    4345post-destroot {
    44     ln -f -s ${pysite}/pydb/pydb.py /opt/local/bin/${name}
     46    ln -s ${pyframe}/bin/pydb ${destroot}${prefix}/bin/pydb-${pyver}
     47    ln -s ${pyframe}/share/man/man1/pydb.1 ${destroot}${prefix}/share/man/man1/pydb-${pyver}.1
    4548}
    46 
Note: See TracChangeset for help on using the changeset viewer.