Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/text
In directory vz-cvs-3.sog:/tmp/cvs-serv22411/10.4/unstable/main/finkinfo/text

Modified Files:
        rubber.info 
Log Message:
Fix broken rubber to appease Val.

Index: rubber.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/text/rubber.info,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- rubber.info 11 Nov 2011 14:56:07 -0000      1.7
+++ rubber.info 11 Nov 2011 16:25:35 -0000      1.8
@@ -1,15 +1,30 @@
 Package: rubber
 Version: 1.1
-Revision: 1
-Source: http://launchpad.net/rubber/trunk/1.1/+download/rubber-1.1.tar.gz
+Revision: 2
+Source: http://launchpad.net/%n/trunk/%v/+download/%n-%v.tar.gz
 Source-MD5: 8087cdb498f51f91c2427c7d0b253189
-BuildDepends: 
-Depends: tetex-base | system-tetex
-ConfigureParams: --mandir=%i/share/man --infodir=%i/share/info 
--python=/usr/bin/python
+Recommends: tetex-base 
+ConfigureParams: --mandir='${datadir}/man' --infodir='${datadir}/info' 
--python=/usr/bin/python
 InstallScript: <<
-  make prefix=%i install 
+       #!/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: <<
@@ -21,9 +36,19 @@
 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.
+
 Previous version by Antoine Reilles 
 <jto...@users.sourceforge.net>
 <<


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to