pdflib-py stable port information

Info2: <<

Package: pdflib-py%type_pkg[python]
Type: python (2.4 2.5)
Version: 5.0.3
Revision: 1001
Distribution: (%type_pkg[python] = 23) 10.4, (%m = powerpc) 10.4, (%type_pkg[python] = 24) 10.4, (%type_pkg[python] = 24) 10.5
GCC: 4.0

BuildDependsOnly: True
Source: http://pdflib.com/products/pdflib/download/503src/PDFlib-Lite-%v-Unix-src.tar.gz
Source-MD5: a844d84325b0c53399c1f0674f82aeac
Depends: pdflib-shlibs (>= 5.0.3-1002), python%type_pkg[python]
BuildDepends: pdflib (>= 5.0.3-1002)

PatchScript: <<
perl -pi.bak -e 's|\#\!/usr/bin/python|\#\!%p/bin/python%type_raw[python]|' bind/pdflib/python/businesscard.py
perl -pi.bak -e 's|\#\!/usr/bin/python|\#\!%p/bin/python%type_raw[python]|' bind/pdflib/python/chartab.py
perl -pi.bak -e 's|\#\!/usr/bin/python|\#\!%p/bin/python%type_raw[python]|' bind/pdflib/python/hello.py
perl -pi.bak -e 's|\#\!/usr/bin/python|\#\!%p/bin/python%type_raw[python]|' bind/pdflib/python/image.py
perl -pi.bak -e 's|\#\!/usr/bin/python|\#\!%p/bin/python%type_raw[python]|' bind/pdflib/python/invoice.py
perl -pi.bak -e 's|\#\!/usr/bin/python|\#\!%p/bin/python%type_raw[python]|' bind/pdflib/python/pdfclock.py
perl -pi.bak -e 's|\#\!/usr/bin/python|\#\!%p/bin/python%type_raw[python]|' bind/pdflib/python/quickreference.py

perl -pi.bak -e 's|\#\!/usr/bin/python|\#\!%p/bin/python%type_raw[python]|' bind/pdflib/python/Makefile
<<
NoSetCPPFLAGS: true
NoSetLDFLAGS: true

ConfigureParams: --without-java --without-perl --without-tcl --with-pyincl=%p/include/python%type_raw[python]

InstallScript: <<
mkdir -p %i/lib/python%type_raw[python]/lib-dynload
cp bind/pdflib/python/.libs/pdflib_py.dylib %i/lib/python%type_raw[python]/lib-dynload/pdflib_py.so
<<

DocFiles: doc/pdflib/* bind/pdflib/python/*.py
Description: Python interface to generating PDF (lite)
DescDetail: <<
Python interface shared library. Includes both python code and a dylib

PDFlib is a development tool for PDF-enabling your software,
or generating PDF on your server.
PDFlib Lite (Source Code) represents a subset of the full PDFlib product.
<<
DescPort: <<
I should probably turn the zillion perl replaces with something that does all .py files.

Based on pdflib.py
<<
License: Restrictive/Distributable
Maintainer: Kurt Schwehr
Homepage: http://www.pdflib.com/

# Info2
<<