[70250] trunk/dports/textproc/dblatex/Portfile
dports at macports.org
dports at macports.org
Tue Aug 3 10:26:45 PDT 2010
Revision: 70250
http://trac.macports.org/changeset/70250
Author: dports at macports.org
Date: 2010-08-03 10:26:44 -0700 (Tue, 03 Aug 2010)
Log Message:
-----------
dblatex:
- add dependency on texlive-latex-recommended (#25872)
- set Python interpreter path explicitly in bin/dblatex; prevents
ImportError if MacPorts python26 is not selected as default.
Modified Paths:
--------------
trunk/dports/textproc/dblatex/Portfile
Modified: trunk/dports/textproc/dblatex/Portfile
===================================================================
--- trunk/dports/textproc/dblatex/Portfile 2010-08-03 15:21:48 UTC (rev 70249)
+++ trunk/dports/textproc/dblatex/Portfile 2010-08-03 17:26:44 UTC (rev 70250)
@@ -6,6 +6,7 @@
name dblatex
version 0.3
+revision 1
categories textproc tex
maintainers nomaintainer
platforms darwin
@@ -35,6 +36,7 @@
depends_lib port:python26 \
port:texlive-latex-extra \
+ port:texlive-latex-recommended \
port:texlive-math-extra \
port:dejavu-fonts \
port:ImageMagick \
@@ -48,6 +50,8 @@
python.link_binaries no
post-destroot {
reinplace "s|${destroot}${prefix}|${prefix}|g" ${destroot}${python.prefix}/bin/dblatex
+ reinplace "s|#!/usr/bin/env python|#!${python.bin}|" ${destroot}${python.prefix}/bin/dblatex
+
fs-traverse f ${destroot}${python.prefix}/share {
if {[file isfile $f]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100803/54222f1e/attachment.html>
More information about the macports-changes
mailing list