the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: iwidgets
Version: 4.0.1
Revision: 100
Architecture: x86_64
Description: Mega-widget support for Tcl
Maintainer: Steffen Schmidt
DescDetail: <<
<<
License: BSD
Homepage: http://incrtcl.sourceforge.net/itcl/
Type: tcltk (8.5.7), itcl (3.4), itk (3.4)
Source: mirror:sourceforge:incrtcl/%n%v.tar.gz
Source-MD5: 0e9c140e81ea6015b56130127c7deb03
Source2: mirror:sourceforge:tcl/tcl%type_raw[tcltk]-src.tar.gz
Source2-MD5: f70ad8f78b5e4a9f792fe101f22b125f
Source3: mirror:sourceforge:tcl/tk%type_raw[tcltk]-src.tar.gz
Source3-MD5: 0764f63ae2106b4774c4ecb0ef391610
#Source4: mirror:sourceforge:incrtcl/itcl%type_raw[itcl].tar.gz
Source4: mirror:sourceforge:fink/itk-20071231cvs.tgz
Source4-MD5: 0d54ac2a2aca37249484c3646f02f172
#Source5: mirror:sourceforge:incrtcl/itk%type_raw[itk].tar.gz
Source5: mirror:sourceforge:fink/incrtcl-20071231cvs.tgz
Source5-MD5: 0cc51eddc45552d3f329172b3bb2248b
BuildDepends: tcltk-dev, fink (>= 0.24.12)
Depends: tcltk, itcl
SourceDirectory: %n%v
SetCFLAGS: -I%p/include -I../tcl%type_raw[tcltk]/unix -I../tcl%type_raw[tcltk]/generic -I../tk%type_raw[tcltk]/unix -I../tk%type_raw[tcltk]/generic
SetCPP: /usr/bin/cpp
PatchFile: %n.patch
PatchFile-MD5: 14ec5864c34165beb5e52b63a113658d
PatchScript: <<
#!/bin/bash -ev
pushd ..
mkdir config
patch -p0 < %{PatchFile}
chmod +x config/mkinstalldirs
popd
<<
CompileScript: <<
#!/bin/bash -ev
pushd ..
#ln -s itcl%type_raw[itcl] itcl
ln -s incrtcl-20071231cvs itcl
#ln -s itk%type_raw[itk] itk
ln -s itk-20071231cvs itk
popd
./configure --prefix=%p --exec-prefix=%p --mandir=%p/share/man --infodir=%p/share/info --with-tcl=%p/lib --with-tk=%p/lib --with-itcl=../
perl -pi -e 's|INSTALL_ROOT =|INSTALL_ROOT = %d|' ./Makefile
<<
InstallScript: <<
#!/bin/zsh -ev
mkdir -p %i/lib
perl -pi -e 's|man/mann|share/man/man1|g' Makefile
make install DESTDIR=%d
/bin/rm %i/lib/%n
ln -s %p/lib/%n%v %i/lib/%n
foreach manfile in $( /bin/ls %i/share/man/man1/*.n )
mv $manfile $manfile:r.1
end
<<
DocFiles: CHANGES README license.terms
<<