Dan Sebald - 2017-10-17

Here's what looks to be the relevant lines of code in the share/LaTeX/Makefile construct via configure:

texdir = /usr/local/share/texmf/tex/latex/gnuplot

install-texDATA: $(tex_DATA)
    @list='$(tex_DATA)'; test -n "$(texdir)" || list=; \
    if test -n "$$list"; then \
      echo " $(MKDIR_P) '$(DESTDIR)$(texdir)'"; \
      $(MKDIR_P) "$(DESTDIR)$(texdir)" || exit 1; \
    fi; \
    for p in $$list; do \
      if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
      echo "$$d$$p"; \
    done | $(am__base_list) | \
    while read files; do \
      echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(texdir)'"; \
      $(INSTALL_DATA) $$files "$(DESTDIR)$(texdir)" || exit $$?; \

    @list='$(tex_DATA)'; test -n "$(texdir)" || list=; \
    files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
    dir='$(DESTDIR)$(texdir)'; $(am__uninstall_files_from_dir)

I would guess for my configuration that DESTDIR is empty because the $(DESTDIR)$(texdir) looks to be the same as $(texdir). When you refer to DESTDIR not being observed, do you think that DESTDIR is something other than empty on Macporst? Why is there a prefix $(DESTDIR) added to the install/uninstall directory? Don't we want the file to simply go to $(texdir)?