the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: rubber
Version: 1.1
Revision: 2
Source: http://launchpad.net/%n/trunk/%v/+download/%n-%v.tar.gz
Source-MD5: 8087cdb498f51f91c2427c7d0b253189
Recommends: tetex-base
ConfigureParams: --mandir='${datadir}/man' --infodir='${datadir}/info' --python=/usr/bin/python
InstallScript: <<
#!/bin/sh -ev
make prefix=%i install
#fix .pyc that encode %i
osversion=`uname -r | cut -d. -f1`
#Since we're using the system's python, find the compileall which
#goes along with /usr/bin/python
case $osversion in
11) py=2.7 ;;
10) py=2.6 ;;
9) py=2.5 ;;
8) py=2.3 ;;
esac
cd %i/share/%n/%n
find . -name "*.pyc" -delete
/usr/bin/python /System/Library/Frameworks/Python.framework/Versions/$py/lib/python$py/compileall.py \
-d %p/share/%n/%n %i/share/%n/%n
<<
DocFiles: NEWS README COPYING PKG-INFO
InfoDocs: %n.info
License: GPL
Description: Building system for LaTeX documents
DescDetail: <<
This is a building system for LaTeX documents. It is based on a routine that
runs (hopefully) just as many compilations as necessary. The module system
provides a great flexibility that virtually allows support for any package with
no user intervention, as well as pre- and post-processing of the document. The
standard modules currently provide support for bibtex, dvips, pdftex,
makeindex, cweb and graphics/graphicx (currently with automatic epstopdf and
XFig picture conversion and Metapost compilation).
<<
DescUsage: <<
This package can be used with non-Fink TeX distributions, so a dependency isn't
specified. If you want to use a Fink TeX distribution, you'll need to install
it yourself.
<<
DescPackaging: <<
Only uses python for scripting, so just use the system's version to save user
headaches.
Doesn't explicitly encode paths to executables (e.g. 'latex'), but just uses
the first in the PATH, so we'll avoid declaring a dependency and let users
install one themselves.
We manually regenerate the .pyc files to avoid hardcoding %i in them.
Previous version by Antoine Reilles
<<
Homepage: https://launchpad.net/rubber
Maintainer: Alexander Hansen