Opened 14 months ago

Closed 14 months ago

Last modified 14 months ago

#67081 closed defect (fixed)

asciidoc: installs documentation in the wrong directory

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: asciidoc

Description

Documentation should probably be installed in a subdirectory of /opt/local/share/doc, such as /opt/local/share/doc/asciidoc, not directly in /opt/local/share/doc:

% port -v installed asciidoc
The following ports are currently installed:
  asciidoc @10.2.0_1 (active) requested_variants='' platform='darwin 21' archs='noarch' date='2023-03-10T00:24:02-0600'
% port -q contents asciidoc | grep /doc/
  /opt/local/share/doc/BUGS.adoc
  /opt/local/share/doc/CHANGELOG.adoc
  /opt/local/share/doc/INSTALL.adoc
  /opt/local/share/doc/README.md
  /opt/local/share/doc/dblatex/dblatex-readme.txt
  /opt/local/share/doc/doc/a2x.1
  /opt/local/share/doc/doc/a2x.1.txt
  /opt/local/share/doc/doc/article-docinfo.xml
  /opt/local/share/doc/doc/article.txt
  /opt/local/share/doc/doc/asciidoc.1
  /opt/local/share/doc/doc/asciidoc.1.txt
  /opt/local/share/doc/doc/asciidoc.conf
  /opt/local/share/doc/doc/asciidoc.dict
  /opt/local/share/doc/doc/asciidoc.txt
  /opt/local/share/doc/doc/asciidocapi.txt
  /opt/local/share/doc/doc/asciimath.txt
  /opt/local/share/doc/doc/book-multi.txt
  /opt/local/share/doc/doc/book.txt
  /opt/local/share/doc/doc/customers.csv
  /opt/local/share/doc/doc/epub-notes.txt
  /opt/local/share/doc/doc/faq.txt
  /opt/local/share/doc/doc/latex-backend.txt
  /opt/local/share/doc/doc/latex-bugs.txt
  /opt/local/share/doc/doc/latex-filter.txt
  /opt/local/share/doc/doc/latexmath.txt
  /opt/local/share/doc/doc/latexmathml.txt
  /opt/local/share/doc/doc/music-filter.txt
  /opt/local/share/doc/doc/publishing-ebooks-with-asciidoc.txt
  /opt/local/share/doc/doc/slidy-example.txt
  /opt/local/share/doc/doc/slidy.txt
  /opt/local/share/doc/doc/source-highlight-filter.txt
  /opt/local/share/doc/doc/testasciidoc.1
  /opt/local/share/doc/doc/testasciidoc.1.txt
  /opt/local/share/doc/doc/testasciidoc.txt
  /opt/local/share/doc/docbook-xsl/asciidoc-docbook-xsl.txt
  /opt/local/share/doc/images/highlighter.png
  /opt/local/share/doc/images/smallnew.png
  /opt/local/share/doc/images/tiger.png
% 

Change History (3)

comment:1 Changed 14 months ago by neverpanic (Clemens Lang)

Status: assignedaccepted

comment:2 Changed 14 months ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: acceptedclosed

In abccbbb95ed65603d2e846149c92d955a5b2b975/macports-ports (master):

asciidoc: Fix documentation install directory

The default for docdir is ${datarootdir}/doc/${PACKAGE_TARNAME}, and
while these have the values we expect them to have in the configure
script, this variable is left unexpanded and ${PACKAGE_TARNAME} is not
defined in the Makefile after Makefile generation, ends up empty, and
the documentation is installed in ${datarootdir}/doc. This is clearly
a bug, but I'm not sure whether it is in autoconf or asciidoc.

Closes: #67081

comment:3 Changed 14 months ago by neverpanic (Clemens Lang)

Note: See TracTickets for help on using tickets.