texlive-bin

Mark Brethen mark.brethen at gmail.com
Sat Nov 7 20:01:24 PST 2015


$ port contents texlive-htmlxml
Port texlive-htmlxml contains:
  /opt/local/bin/ht
  /opt/local/bin/htcontext
  /opt/local/bin/htlatex
  /opt/local/bin/htmex
  /opt/local/bin/httex
  /opt/local/bin/httexi
  /opt/local/bin/htxelatex
  /opt/local/bin/htxetex
  /opt/local/bin/jadetex
  /opt/local/bin/mk4ht -> /opt/local/libexec/texlive/binaries/mk4ht
  /opt/local/bin/pdfjadetex
  /opt/local/bin/pdfxmltex
  /opt/local/bin/t4ht
  /opt/local/bin/tex4ht
  /opt/local/bin/xmltex
  .
  .
  .
  /opt/local/libexec/texlive/texbin/ht
  /opt/local/libexec/texlive/texbin/htcontext
  /opt/local/libexec/texlive/texbin/htlatex
  /opt/local/libexec/texlive/texbin/htmex
  /opt/local/libexec/texlive/texbin/httex
  /opt/local/libexec/texlive/texbin/httexi
  /opt/local/libexec/texlive/texbin/htxelatex
  /opt/local/libexec/texlive/texbin/htxetex
  /opt/local/libexec/texlive/texbin/jadetex
  /opt/local/libexec/texlive/texbin/mk4ht -> /opt/local/libexec/texlive/binaries/mk4ht
  .
  .
  .
  /opt/local/share/texmf-texlive/scripts/tex4ht/ht.sh
  /opt/local/share/texmf-texlive/scripts/tex4ht/htcontext.sh
  /opt/local/share/texmf-texlive/scripts/tex4ht/htcopy.pl
  /opt/local/share/texmf-texlive/scripts/tex4ht/htlatex.sh
  /opt/local/share/texmf-texlive/scripts/tex4ht/htmex.sh
  /opt/local/share/texmf-texlive/scripts/tex4ht/htmove.pl
  /opt/local/share/texmf-texlive/scripts/tex4ht/httex.sh
  /opt/local/share/texmf-texlive/scripts/tex4ht/httexi.sh
  /opt/local/share/texmf-texlive/scripts/tex4ht/htxelatex.sh
  /opt/local/share/texmf-texlive/scripts/tex4ht/htxetex.sh
  /opt/local/share/texmf-texlive/scripts/tex4ht/mk4ht.pl    <— here is the actual script!!!

  /opt/local/libexec/texlive/binaries/mk4ht -> /scripts/tex4ht/mk4ht.pl

This last symlink is part of the texlive-bin port. It was patched by the portfile as follows:

reverted:
--- texk/tex4htk/Makefile.in.orig	2015-06-01 16:46:04.000000000 -0700
+++ texk/tex4htk/Makefile.in	2015-06-01 16:47:01.000000000 -0700
@@ -407,12 +407,12 @@
 LDADD = $(KPATHSEA_LIBS)
 perl_scripts = mk4ht
 shell_scripts = ht htcontext htlatex htmex httex httexi htxelatex htxetex
+scriptsdir = scripts/tex4ht
-scriptsdir = texmf-dist/scripts/tex4ht
 nodist_bin_SCRIPTS = $(am__append_1)
 all_scripts = $(lua_scripts) $(perl_scripts) $(shell_scripts)
 @WIN32_TRUE@@WIN32_WRAP_TRUE at wrappers = $(all_scripts:=.exe)
 @WIN32_TRUE@@WIN32_WRAP_TRUE at runscript = $(top_srcdir)/../../texk/texlive/$(WIN_WRAPPER)/runscript.exe
+texmfdir = @@TEXMFDIST@@/$(scriptsdir)
-texmfdir = $(datarootdir)/$(scriptsdir)
 dist_texmf_SCRIPTS = $(perl_scripts:=.pl) $(shell_scripts:=.sh)
 @WIN32_TRUE at dist_bin_SCRIPTS = $(shell_scripts:=.bat)
 CLEANFILES = $(nodist_bin_SCRIPTS)
@@ -1071,17 +1071,12 @@
 	  echo 'script_links.am:install-links: could not find relpath script'; \
 	  exit 1; \
 	}; \
-	REL=`$(SHELL) $$relpath '$(DESTDIR)' '$(bindir)' '$(datarootdir)'`; \
-	if test -z "$$REL"; then \
-	  echo 'script_links.am:install_links: unable to compute relative path for linked $(TYPE) scripts' >&2; \
-	  exit 1; \
-	fi; \
 	cd $(DESTDIR)$(bindir) && \
 	  for f in $($(TYPE)_scripts); do \
 	    rm -f $$f; \
+	    if $(AM_V_P); then echo "creating link '$$f' -> '$(texmfdir)/$(scriptsdir)/$$f.$(EXT)'"; \
-	    if $(AM_V_P); then echo "creating link '$$f' -> '$$REL/$(scriptsdir)/$$f.$(EXT)'"; \
 	      else echo "  LINK     $$f"; fi; \
+	    $(LN_S) $$(texmfdir)/$(scriptsdir)/$$f.$(EXT) $$f || exit 1; \
-	    $(LN_S) $$REL/$(scriptsdir)/$$f.$(EXT) $$f || exit 1; \
 	  done  
 
 uninstall-links:


I think scriptsdir should point to /opt/local/share/texmf-texlive/scripts/tex4ht/.


> On Nov 7, 2015, at 6:41 PM, Brandon Allbery <allbery.b at gmail.com> wrote:
> 
> On Sat, Nov 7, 2015 at 7:40 PM, Mark Brethen <mark.brethen at gmail.com> wrote:
> I get a trac error when I try to browse the repository.
> 
> Yes, that part of Trac has been messed up for a while; I gather you currently have to do a svn checkout of the MacPorts repository.
> 
> -- 
> brandon s allbery kf8nh                               sine nomine associates
> allbery.b at gmail.com                                  ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net



Mark






More information about the macports-users mailing list