[88449] trunk/dports/tex/biblatex-biber/Portfile

dports at macports.org dports at macports.org
Mon Jan 2 14:14:48 PST 2012


Revision: 88449
          http://trac.macports.org/changeset/88449
Author:   dports at macports.org
Date:     2012-01-02 14:14:45 -0800 (Mon, 02 Jan 2012)
Log Message:
-----------
biblatex-biber: install documentation (and make sure texdoc can find it)

Modified Paths:
--------------
    trunk/dports/tex/biblatex-biber/Portfile

Modified: trunk/dports/tex/biblatex-biber/Portfile
===================================================================
--- trunk/dports/tex/biblatex-biber/Portfile	2012-01-02 22:02:36 UTC (rev 88448)
+++ trunk/dports/tex/biblatex-biber/Portfile	2012-01-02 22:14:45 UTC (rev 88449)
@@ -3,12 +3,14 @@
 
 PortSystem 1.0
 PortGroup perl5 1.0
+PortGroup texlive 1.0
 
 name            biblatex-biber
 epoch           1
 if {[variant_isset perl5_12]} { perl5.default_branch 5.12 }
 if {[variant_isset perl5_14]} { perl5.default_branch 5.14 }
 perl5.setup     Biber 0.9.3
+revision        1
 
 categories      tex
 license         {Artistic GPL}
@@ -62,10 +64,25 @@
                         port:p${perl5.major}-text-bibtex \
                         port:p${perl5.major}-unicode-collate \
                         port:p${perl5.major}-xml-libxml-simple \
-                        port:p${perl5.major}-xml-libxslt
+                        port:p${perl5.major}-xml-libxslt \
+                        bin:mktexlsr:texlive-basic
 
 perl5.use_module_build
 
+post-destroot {
+    xinstall -d ${destroot}${texlive_texmfports}/doc/bibtex/biber
+    xinstall -m 644 ${worksrcpath}/doc/biber.pdf \
+                    ${destroot}${texlive_texmfports}/doc/bibtex/biber
+}
+
+post-activate {
+    texlive.mktexlsr
+}
+
+post-deactivate {
+    texlive.mktexlsr
+}
+
 livecheck.type  regex
 livecheck.url   http://sourceforge.net/projects/biblatex-biber/files/biblatex-biber/
 livecheck.regex {a href="/projects/biblatex-biber/files/biblatex-biber/([0-9\.]+)/"}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120102/af35c9f0/attachment.html>


More information about the macports-changes mailing list