mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
emulators/virtualbox-ose: Refactor DOCS
Although the documentation builds fine currently however the doc UserManual.pdf fails to build from the docbook with pdflatex from TeX 2024. So decouple the documentation file from the builds as an additional DISTFILE. As this version is no longer supported by upstream it is highly unlikely that the build of the documentation will be fixed by upstream. Or unless someone has enough enthusiasm to fix the build of the documentation once TeX 2024 hits the tree. Approved by: portmgr (blanket) Sponsored by: Nepustil
This commit is contained in:
parent
2d6bf90313
commit
9d32296c3b
@ -1,10 +1,13 @@
|
||||
PORTNAME= virtualbox-ose
|
||||
PORTVERSION= 6.1.50
|
||||
PORTREVISION?= 1
|
||||
PORTREVISION?= 2
|
||||
CATEGORIES= emulators
|
||||
MASTER_SITES= https://download.virtualbox.org/virtualbox/${PORTVERSION}/
|
||||
DISTFILES= VirtualBox-${PORTVERSION}${EXTRACT_SUFX} ${GUESTADDITIONS}
|
||||
EXTRACT_ONLY= VirtualBox-${PORTVERSION}${EXTRACT_SUFX}
|
||||
MASTER_SITES= https://download.virtualbox.org/virtualbox/${PORTVERSION}/:src \
|
||||
LOCAL/bofh/emulators/virtualbox-ose:docs
|
||||
DISTFILES= VirtualBox-${PORTVERSION}${EXTRACT_SUFX}:src \
|
||||
VirtualBox-docs-${PORTVERSION}${EXTRACT_SUFX}:docs
|
||||
EXTRACT_ONLY= VirtualBox-${PORTVERSION}${EXTRACT_SUFX} \
|
||||
VirtualBox-docs-${PORTVERSION}${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= vbox@FreeBSD.org
|
||||
COMMENT= General-purpose full virtualizer for x86 hardware
|
||||
@ -31,7 +34,7 @@ CPE_VENDOR= oracle
|
||||
CPE_PRODUCT= vm_virtualbox
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --disable-java --passive-mesa
|
||||
CONFIGURE_ARGS= --disable-java --passive-mesa --disable-docs
|
||||
CONFIGURE_ARGS+= --with-gcc="${CC}" --with-g++="${CXX}"
|
||||
|
||||
CONFLICTS_INSTALL= virtualbox-ose-additions-* \
|
||||
@ -84,12 +87,6 @@ ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
|
||||
DBUS_CONFIGURE_OFF= --disable-dbus
|
||||
DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus
|
||||
DEBUG_CONFIGURE_ON= --build-debug
|
||||
DOCS_USES= tex
|
||||
DOCS_USE= TEX=dvipsk:build,formats:build
|
||||
DOCS_BUILD_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.4/docbookx.dtd:textproc/docbook-xml
|
||||
DOCS_CONFIGURE_OFF= --disable-docs
|
||||
DOCS_VARS= dbkxmldir=${LOCALBASE}/share/xml/docbook/4.4 \
|
||||
dbkxsldir=${LOCALBASE}/share/xsl/docbook
|
||||
NLS_IMPLIES= QT5
|
||||
OPUS_CONFIGURE_OFF= --disable-libopus
|
||||
OPUS_LIB_DEPENDS= libopus.so:audio/opus
|
||||
@ -152,6 +149,7 @@ KMK_BUILDTYPE= release
|
||||
|
||||
.if ${PORT_OPTIONS:MGUESTADDITIONS}
|
||||
GUESTADDITIONS= VBoxGuestAdditions_${PORTVERSION}.iso
|
||||
DISTFILES+= ${GUESTADDITIONS}:src
|
||||
LICENSE+= Additions
|
||||
LICENSE_COMB= multi
|
||||
LICENSE_NAME_Additions= Guest Additions
|
||||
@ -375,7 +373,7 @@ do-install:
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${KMK_BUILDDIR}/bin/UserManual*.pdf \
|
||||
${INSTALL_DATA} ${WRKDIR}/VirtualBox-docs-${PORTVERSION}/UserManual.pdf \
|
||||
${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
TIMESTAMP = 1705518694
|
||||
TIMESTAMP = 1716920210
|
||||
SHA256 (VirtualBox-6.1.50.tar.bz2) = 73ff603842896cb8d86ac5a817eb5037d7d225d3c46ea238e39d7ba5aaf61a57
|
||||
SIZE (VirtualBox-6.1.50.tar.bz2) = 165959648
|
||||
SHA256 (VBoxGuestAdditions_6.1.50.iso) = af53e34c5a5ec143f3418ac01d00ed5f33f6b31bfdc92eb4714c99d9bccb6602
|
||||
SIZE (VBoxGuestAdditions_6.1.50.iso) = 64051200
|
||||
SHA256 (VirtualBox-docs-6.1.50.tar.bz2) = e5dc118e8bb8352c06d5359e4f75ceb339a3917f0727fd74ad02ff07251e67db
|
||||
SIZE (VirtualBox-docs-6.1.50.tar.bz2) = 4063302
|
||||
|
Loading…
Reference in New Issue
Block a user