[73542] trunk/dports/tex

dports at macports.org dports at macports.org
Tue Nov 16 22:06:20 PST 2010


Revision: 73542
          http://trac.macports.org/changeset/73542
Author:   dports at macports.org
Date:     2010-11-16 22:06:16 -0800 (Tue, 16 Nov 2010)
Log Message:
-----------
tex/xindy: new port; see #26458

Added Paths:
-----------
    trunk/dports/tex/xindy/
    trunk/dports/tex/xindy/Portfile
    trunk/dports/tex/xindy/files/
    trunk/dports/tex/xindy/files/patch-configure.ac.diff
    trunk/dports/tex/xindy/files/patch-make-rules_alphabets_Makefile.am.diff

Added: trunk/dports/tex/xindy/Portfile
===================================================================
--- trunk/dports/tex/xindy/Portfile	                        (rev 0)
+++ trunk/dports/tex/xindy/Portfile	2010-11-17 06:06:16 UTC (rev 73542)
@@ -0,0 +1,54 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name            xindy
+version         2.4
+
+categories      tex textproc
+maintainers     dports
+description     framework for generating indexes
+long_description \
+  xindy is an index processor that can be used to generate book-like \
+  indexes for arbitrary document-preparation systems. This includes \
+  systems such as TeX and LaTeX, the roff-family, SGML/XML-based systems \
+  (e.g., HTML) that process some kind of text and generate indexing \
+  information.  In comparison to other index processors xindy has \
+  several powerful features that make it an ideal framework for \
+  describing and generating complex indices, addressing especially \
+  international indexing.
+
+platforms       darwin
+homepage        http://www.xindy.org/
+master_sites    tex_ctan:indexing/${name}
+
+# requires clisp, which does not support 64-bit
+supported_archs i386 ppc
+
+depends_lib     port:clisp
+
+checksums       md5     0f7fc5e6954a41cd89b66023e755ef5e \
+                sha1    5f49f4cea23efc293be9305b774e56356f9eb0d9 \
+                rmd160  a5d91e0cadb191ff5169a3e7c659d087d4660808
+
+patchfiles      patch-make-rules_alphabets_Makefile.am.diff \
+                patch-configure.ac.diff
+
+use_autoreconf  yes
+configure.args  --disable-docs
+
+variant doc description "Build documentation" {
+    depends_build-append port:texlive-latex-recommended \
+                         port:texlive-latex-extra \
+                         port:texlive-lang-cyrillic
+
+    configure.args-delete --disable-docs
+}
+
+default_variants +doc
+
+livecheck.type  regex
+livecheck.url   http://www.ctan.org/pub/tex-archive/indexing/xindy/
+livecheck.regex "${name}-(\[0-9.\]+)${extract.suffix}"
+


Property changes on: trunk/dports/tex/xindy/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/tex/xindy/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/tex/xindy/files/patch-configure.ac.diff	                        (rev 0)
+++ trunk/dports/tex/xindy/files/patch-configure.ac.diff	2010-11-17 06:06:16 UTC (rev 73542)
@@ -0,0 +1,24 @@
+--- configure.ac.orig	2010-11-16 20:01:58.000000000 -0500
++++ configure.ac	2010-11-16 20:05:13.000000000 -0500
+@@ -42,12 +42,19 @@
+ 
+ # Test for building make-rules
+ AC_ARG_ENABLE(make-rules, AS_HELP_STRING([--enable-make-rules ],[build and install make-rules package (default is YES)]),[BUILDRULES=$enableval],[BUILDRULES=yes])
+-test "$BUILDRULES" = "yes"  &&  AC_PROG_LATEX
++if test "$BUILDRULES" = "yes"
++then
++AC_PROG_LATEX
++fi
++
+ AM_CONDITIONAL(BUILDRULES, test "$BUILDRULES" = "yes")
+ 
+ # Test for building Documentation
+ AC_ARG_ENABLE(docs, AS_HELP_STRING([--enable-docs ],[build and install documentation (default is YES)]),[BUILDDOCS=$enableval],[BUILDDOCS=yes])
+-test "$BUILDDOCS" = "yes"  &&  AC_PROG_PDFLATEX
++if test "$BUILDDOCS" = "yes" 
++then
++AC_PROG_PDFLATEX
++fi
+ AM_CONDITIONAL(BUILDDOCS, test "$BUILDDOCS" = "yes")
+ 
+ # Checks for programs:

Added: trunk/dports/tex/xindy/files/patch-make-rules_alphabets_Makefile.am.diff
===================================================================
--- trunk/dports/tex/xindy/files/patch-make-rules_alphabets_Makefile.am.diff	                        (rev 0)
+++ trunk/dports/tex/xindy/files/patch-make-rules_alphabets_Makefile.am.diff	2010-11-17 06:06:16 UTC (rev 73542)
@@ -0,0 +1,11 @@
+--- make-rules/alphabets/Makefile.am.orig	2010-11-17 00:45:34.000000000 -0500
++++ make-rules/alphabets/Makefile.am	2010-11-17 00:46:06.000000000 -0500
+@@ -1233,7 +1233,7 @@
+ 	echo "\section{Codepage latin9}" >>$@
+ 	for i in $(DOCS_LATIN9); do echo "\input{$$i}" >>$@; done
+ 	echo "\ienc{cp1251}" >>$@
+-	echo "\fenc{T2A}" >>$@
++	echo '\\fenc{T2A}' >>$@
+ 	echo "\chapter{Cyrillic scripts}" >>$@
+ 	echo "\section{Codepage 1251}" >>$@
+ 	for i in $(DOCS_CYR_1251); do echo "\input{$$i}" >>$@; done
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101116/0f3a3862/attachment.html>


More information about the macports-changes mailing list