tix stable port information

Package: tix
Version: 8.4.3
Revision: 1001
Source: mirror:sourceforge:%n/Tix%v-src.tar.gz
#Source-MD5: 422a4e1c5f64da203c753a596b0d74de
Source-MD5: 2b8bf4b10a852264678182652f477e59
SourceDirectory: Tix%v
Source2: mirror:sourceforge:tcl/tcl8.4.16-src.tar.gz
Source2-MD5: f1c783a49547778d160e10be2fb5d76f
Source3: mirror:sourceforge:tcl/tk8.4.16-src.tar.gz
Source3-MD5: 24d18fbebe3bb8853e418431be01bf2c
License: OSI-Approved
GCC: 4.0
Depends: x11, tcltk, %N-shlibs (>= %v-%r)
BuildDepends: x11-dev, tcltk-dev
Architecture: i386, powerpc
#Patch: %n.patch
PatchScript: <<
#!/bin/sh -ex
# perl -pi.bak -e 's|headerpad_max_install_names|install_name %p/lib/Tix%v/\$\{\(PKG_LIB_FILE\)\}|g' configure
sed -e "s|TCL_SRC_DIR=.*|TCL_SRC_DIR='%b/../tcl8.4.16'|g" %p/lib/tclConfig.sh > ../tcl8.4.16/tclConfig.sh
sed -e "s|TK_SRC_DIR=.*|TK_SRC_DIR='%b/../tk8.4.16'|g" %p/lib/tkConfig.sh > ../tk8.4.16/tkConfig.sh
perl -pi -e 's|8\.3\.3|8.4.16|g; s|tix\-8\.2\.0|Tix%v|g' tools/tix-man2html.tcl
<<
ConfigureParams: --mandir=%p/share/man --enable-shared --with-tcl=%b/../tcl8.4.16 --with-tk=%b/../tk8.4.16 --with-x --x-i=/usr/X11R6/include --x-l=/usr/X11R6/lib -enable-sam
CompileScript: <<
#!/bin/sh -ex
./configure %c
perl -pi.bak -e 's|headerpad_max_install_names|install_name %p/lib/Tix%v/\$\(PKG_LIB_FILE\)|g' Makefile
make
cd man
make html
<<
InstallScript: <<
#!/bin/sh -ex
make install DESTDIR=%d
mkdir -p %i/lib
ln -s %p/lib/Tix%v/libTix%v.dylib %i/lib/libtix8.4.dylib
/bin/mkdir -p %i/share/man/mann %i/share/doc/%n
/bin/mv man/*.n %i/share/man/mann/
/bin/cp -pR license.terms README.txt index.html ABOUT.html ChangeLog docs demos man Python %i/share/doc/%n/
<<
Splitoff: <<
Package: %N-shlibs
Depends: x11, x11-shlibs
Files: lib/Tix%v/libTix%v.dylib
Shlibs: <<
%p/lib/Tix%v/libTix%v.dylib 0.0.0 %n (>= 8.4.3-1001)
<<
Description: TIX dylib
DocFiles: README.txt
<<
Description: Tk Interface eXtension
DescDetail: <<
Tix, the Tk Interface eXtension, is a powerful set of user interface
components that expands the capabilities of your Tcl/Tk and Python
applications. Using Tix together with Tk will greatly enhance the
appearance and functionality of your application.
<<
DescUsage: <<
The local online docs are browsable from
%p/share/doc/tix/index.html
For a demo, run the command
wish %p/share/doc/tix/demos/tixwidgets.tcl

The python bindings are not installed in the python site-packages;
you can find them in %p/share/doc/tix. For a demo, run the commands
cd %p/share/doc/tix/Python
env PYTHONPATH=`pwd` python Demo/tix/tixwidgets.py
<<
DescPort: <<
Tix would really like to be built as a tcltk splitoff.
It takes some convincing that the tcltk build directories are
not present.
The tcltk sources are needed, however, because some internal headers
of tcl and of tk are used (similar situation as for expect).
<<
Maintainer: Martin Costabel
Homepage: http://tix.sourceforge.net/