aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-05-28 17:35:19 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-05-28 17:38:52 +0000
commitf156eebebfda0cf0542f442da7dcb385832606d4 (patch)
treeb594e95f2415f2c976b352a4266dadaceff8b57f /emulators
parent7fea2e6c5375c13b4141b258cfa0f1ea26915ee2 (diff)
downloadports-f156eebebfda0cf0542f442da7dcb385832606d4.tar.gz
ports-f156eebebfda0cf0542f442da7dcb385832606d4.zip
emulators/virtualbox-ose-legacy: 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
Diffstat (limited to 'emulators')
-rw-r--r--emulators/virtualbox-ose-legacy/Makefile22
-rw-r--r--emulators/virtualbox-ose-legacy/distinfo4
2 files changed, 13 insertions, 13 deletions
diff --git a/emulators/virtualbox-ose-legacy/Makefile b/emulators/virtualbox-ose-legacy/Makefile
index 87c301545261..2ee4220a63dd 100644
--- a/emulators/virtualbox-ose-legacy/Makefile
+++ b/emulators/virtualbox-ose-legacy/Makefile
@@ -1,11 +1,14 @@
PORTNAME= virtualbox-ose
PORTVERSION= 5.2.44
-PORTREVISION?= 17
+PORTREVISION?= 18
CATEGORIES= emulators
-MASTER_SITES= https://download.oracle.com/virtualbox/${PORTVERSION}/
+MASTER_SITES= https://download.oracle.com/virtualbox/${PORTVERSION}/:src \
+ LOCAL/bofh/emulators/virtualbox-ose-legacy:docs
PKGNAMESUFFIX?= -legacy
-DISTFILES= VirtualBox-${PORTVERSION}${EXTRACT_SUFX} ${GUESTADDITIONS}
-EXTRACT_ONLY= VirtualBox-${PORTVERSION}${EXTRACT_SUFX}
+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
@@ -33,7 +36,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-* \
@@ -80,12 +83,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
PULSEAUDIO_CONFIGURE_OFF= --disable-pulse
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
@@ -147,6 +144,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
@@ -363,7 +361,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
diff --git a/emulators/virtualbox-ose-legacy/distinfo b/emulators/virtualbox-ose-legacy/distinfo
index ac8004bf0188..b169f5c9f443 100644
--- a/emulators/virtualbox-ose-legacy/distinfo
+++ b/emulators/virtualbox-ose-legacy/distinfo
@@ -1,5 +1,7 @@
-TIMESTAMP = 1594897148
+TIMESTAMP = 1716914109
SHA256 (VirtualBox-5.2.44.tar.bz2) = ad83b11cfae2734f7d6f619dd2f8bdada7d33492cd7682fab98cb4053122295e
SIZE (VirtualBox-5.2.44.tar.bz2) = 124016934
SHA256 (VBoxGuestAdditions_5.2.44.iso) = 9883ee443a309f4ffa1d5dee2833f9e35ced598686c36d159f410e5edbac1ca4
SIZE (VBoxGuestAdditions_5.2.44.iso) = 49829888
+SHA256 (VirtualBox-docs-5.2.44.tar.bz2) = c635a698351beeb0cb54062230cb8fa27328a111be186b3604410dc0e98bff2f
+SIZE (VirtualBox-docs-5.2.44.tar.bz2) = 3738907