Skip to content
Permalink
Browse files

lilypond-devel: Fix +docs.

  • Loading branch information
lemzwerg authored and nerdling committed May 18, 2020
1 parent fd784c0 commit 1dae1f360c48472890424cc0bb638c493c10a351
Showing with 9 additions and 6 deletions.
  1. +9 −6 textproc/lilypond-devel/Portfile
@@ -152,6 +152,15 @@ post-patch {
"s|\\(DBLATEX.*\\), \\\$DOCUMENTATION_REQUIRED,|\\1, OPTIONAL,|g" \
configure.ac

# Currently, +docs only builds the info files. For a real
# documentation build a texi2html 1.82 bundle is necessary, which
# doesn't exist yet in MacPorts.
if {[variant_isset docs]} {
reinplace -W ${worksrcpath} \
"s|\\(TEXI2HTML.*\\), \\\$DOCUMENTATION_REQUIRED,|\\1, OPTIONAL,|g" \
configure.ac
}

# Use guile18 header files.
reinplace -W ${worksrcpath} \
s|libguile\.h|libguile18.h|g \
@@ -205,12 +214,6 @@ post-destroot {
}

variant docs description {Build documentation files} {
depends_build-append port:netpbm \
port:rsync \
port:texi2html \
port:texlive-lang-cyrillic \
port:texlive-xetex

configure.args-delete --disable-documentation
configure.args-append --enable-documentation
}

0 comments on commit 1dae1f3

Please sign in to comment.
You can’t perform that action at this time.