Commit 7c406bf7 authored by Vladimir Druzenko's avatar Vladimir Druzenko
Browse files

emulators/virtualbox-ose*: Flavorize

While here make non-functional changes related to indentation and
formatting, make simplification of CONFLICTS_INSTALL.

Sponsored by:	UNIS Labs
parent 6a05e8ff
Loading
Loading
Loading
Loading
+5 −0
Changes for MOVED: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -5258,3 +5258,8 @@ emulators/virtualbox-ose-additions-nox11|emulators/virtualbox-ose-additions@nox1
emulators/virtualbox-ose-additions-nox11-70|emulators/virtualbox-ose-additions-70@nox11|2026-04-30|Converted to a flavorized port
emulators/virtualbox-ose-additions-nox11-71|emulators/virtualbox-ose-additions-71@nox11|2026-04-30|Converted to a flavorized port
emulators/virtualbox-ose-additions-nox11-72|emulators/virtualbox-ose-additions-72@nox11|2026-04-30|Converted to a flavorized port
emulators/virtualbox-ose-nox11-legacy|emulators/virtualbox-ose-legacy@nox11|2026-04-30|Converted to a flavorized port
emulators/virtualbox-ose-nox11|emulators/virtualbox-ose@nox11|2026-04-30|Converted to a flavorized port
emulators/virtualbox-ose-nox11-70|emulators/virtualbox-ose-70@nox11|2026-04-30|Converted to a flavorized port
emulators/virtualbox-ose-nox11-71|emulators/virtualbox-ose-71@nox11|2026-04-30|Converted to a flavorized port
emulators/virtualbox-ose-nox11-72|emulators/virtualbox-ose-72@nox11|2026-04-30|Converted to a flavorized port
+0 −5
Changes for emulators/Makefile: 0 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -172,11 +172,6 @@
    SUBDIR += virtualbox-ose-kmod-72
    SUBDIR += virtualbox-ose-kmod-legacy
    SUBDIR += virtualbox-ose-legacy
    SUBDIR += virtualbox-ose-nox11
    SUBDIR += virtualbox-ose-nox11-70
    SUBDIR += virtualbox-ose-nox11-71
    SUBDIR += virtualbox-ose-nox11-72
    SUBDIR += virtualbox-ose-nox11-legacy
    SUBDIR += visualboyadvance-m
    SUBDIR += vmips
    SUBDIR += vmsbackup
+21 −25
Changes for emulators/virtualbox-ose-70/Makefile: 21 added lines, 25 removed lines.
Original line number Diff line number Diff line
PORTNAME=	virtualbox-ose
DISTVERSION=	7.0.26
PORTREVISION?=	7
PORTREVISION=	8
CATEGORIES=	emulators
MASTER_SITES=	https://download.virtualbox.org/virtualbox/${DISTVERSION}/:src \
		LOCAL/vvd:docs
PKGNAMESUFFIX?=	-70
DISTFILES=	VirtualBox-${DISTVERSION}${EXTRACT_SUFX}:src \
		VirtualBox-docs-${DISTVERSION}${EXTRACT_SUFX}:docs
EXTRACT_ONLY=	VirtualBox-${DISTVERSION}${EXTRACT_SUFX} \
@@ -31,6 +30,11 @@ LIB_DEPENDS= libpng.so:graphics/png \
		libcurl.so:ftp/curl
RUN_DEPENDS=	${LOCALBASE}/etc/rc.d/vboxnet:emulators/virtualbox-ose-kmod-70

FLAVORS=	x11 nox11
FLAVOR?=	${FLAVORS:[1]}
_VER=		${DISTVERSION:R:S|.||}
${FLAVOR}_PKGNAMESUFFIX=	-${${FLAVOR:N${FLAVORS:[1]}} ${_VER}:L:ts-}

USES=		compiler:c++14-lang cpe gnome iconv pkgconfig ssl tar:bzip2
CPE_VENDOR=	oracle
CPE_PRODUCT=	vm_virtualbox
@@ -39,17 +43,15 @@ USE_GNOME= libxml2
USE_RC_SUBR=	vboxheadless vboxwatchdog

HAS_CONFIGURE=	yes
CONFIGURE_ARGS=		--disable-java --passive-mesa --disable-docs
CONFIGURE_ARGS+=	--with-gcc="${CC}" --with-g++="${CXX}"

CONFLICTS_INSTALL=	virtualbox-ose-legacy \
			virtualbox-ose-nox11-legacy \
			virtualbox-ose \
			virtualbox-ose-nox11 \
			virtualbox-ose-71 \
			virtualbox-ose-nox11-71 \
			virtualbox-ose-72 \
			virtualbox-ose-nox11-72
CONFIGURE_ARGS=	--disable-docs \
		--disable-java \
		--passive-mesa \
		--with-gcc="${CC}" \
		--with-g++="${CXX}"

_VERSIONS=		_-legacy _ _-70 _-71 _-72
CONFLICTS_INSTALL=	${_VERSIONS:S|_|${PORTNAME}|} \
			${_VERSIONS:S|_|${PORTNAME}-nox11|}

EXTRACT_AFTER_ARGS=	--exclude kBuild/bin \
			--no-same-owner --no-same-permissions
@@ -85,15 +87,15 @@ PLIST_SUB= GUEST_VER=${DISTVERSION} \
		PYTHON_VERU=${PYTHON_VER:S/./_/}${PYTHON_ABIVER} \
		VBOXGROUP=${VBOXGROUP}

SLAVE_PORT?=	no

OPTIONS_DEFINE=		AIO ALSA DBUS DEBUG DOCS GUESTADDITIONS NLS OGG \
			PULSEAUDIO PYTHON QT5 R0LOGGING TPM UDPTUNNEL VBOXIMG \
			VDE VNC VORBIS VPX WEBSERVICE X11
OPTIONS_DEFAULT=	AIO DBUS QT5 TPM UDPTUNNEL VNC WEBSERVICE X11
.if ${SLAVE_PORT} == no
OPTIONS_DEFAULT+=	PYTHON
.endif
OPTIONS_DEFAULT_x11=	PYTHON
OPTIONS_DEFAULT=	AIO DBUS QT5 TPM UDPTUNNEL VNC WEBSERVICE X11 \
			${OPTIONS_DEFAULT_${FLAVOR}}
OPTIONS_EXCLUDE_nox11=	ALSA DBUS DEBUG GUESTADDITIONS DOCS NLS OGG PULSEAUDIO \
			QT5 VORBIS VPX X11
OPTIONS_EXCLUDE=	${OPTIONS_EXCLUDE_${FLAVOR}}
# Since version 6.1.24 pulseaudio is broken at runtime, preventing
# virtual machines from starting if configured to use it.
OPTIONS_EXCLUDE+=	PULSEAUDIO
@@ -160,12 +162,6 @@ ENV=

.include <bsd.port.options.mk>

.if ${SLAVE_PORT} == no
CONFLICTS_INSTALL+=	virtualbox-ose-nox11-70
.else
CONFLICTS_INSTALL+=	virtualbox-ose-70
.endif

.if ${PORT_OPTIONS:MDEBUG}
KMK_BUILDTYPE=	debug
KMK_FLAGS+=	BUILD_TYPE=debug
+23 −26
Changes for emulators/virtualbox-ose-71/Makefile: 23 added lines, 26 removed lines.
Original line number Diff line number Diff line
PORTNAME=	virtualbox-ose
DISTVERSION=	7.1.18
PORTREVISION?=	0
PORTREVISION=	1
CATEGORIES=	emulators
MASTER_SITES=	https://download.virtualbox.org/virtualbox/${DISTVERSION}/:src \
		LOCAL/vvd:docs
PKGNAMESUFFIX?=	-71
DISTFILES=	VirtualBox-${DISTVERSION}${EXTRACT_SUFX}:src \
		VirtualBox-docs-${DISTVERSION}${EXTRACT_SUFX}:docs
EXTRACT_ONLY=	VirtualBox-${DISTVERSION}${EXTRACT_SUFX} \
@@ -34,6 +33,11 @@ LIB_DEPENDS= libpng.so:graphics/png \
		libvpx.so:multimedia/libvpx
RUN_DEPENDS=	${LOCALBASE}/etc/rc.d/vboxnet:emulators/virtualbox-ose-kmod-71

FLAVORS=	x11 nox11
FLAVOR?=	${FLAVORS:[1]}
_VER=		${DISTVERSION:R:S|.||}
${FLAVOR}_PKGNAMESUFFIX=	-${${FLAVOR:N${FLAVORS:[1]}} ${_VER}:L:ts-}

USES=		compiler:c++17-lang cpe gnome iconv pkgconfig ssl tar:bzip2
CPE_VENDOR=	oracle
CPE_PRODUCT=	vm_virtualbox
@@ -42,18 +46,17 @@ USE_GNOME= libxml2
USE_RC_SUBR=	vboxheadless vboxwatchdog

HAS_CONFIGURE=	yes
CONFIGURE_ARGS+=	--disable-docs --disable-java \
			--enable-libogg --enable-libvorbis --passive-mesa \
			--with-gcc="${CC}" --with-g++="${CXX}"

CONFLICTS_INSTALL=	virtualbox-ose-legacy \
			virtualbox-ose-nox11-legacy \
			virtualbox-ose \
			virtualbox-ose-nox11 \
			virtualbox-ose-70 \
			virtualbox-ose-nox11-70 \
			virtualbox-ose-72 \
			virtualbox-ose-nox11-72
CONFIGURE_ARGS=	--disable-docs \
		--disable-java \
		--enable-libogg \
		--enable-libvorbis \
		--passive-mesa \
		--with-gcc="${CC}" \
		--with-g++="${CXX}"

_VERSIONS=		_-legacy _ _-70 _-71 _-72
CONFLICTS_INSTALL=	${_VERSIONS:S|_|${PORTNAME}|} \
			${_VERSIONS:S|_|${PORTNAME}-nox11|}

EXTRACT_AFTER_ARGS=	--exclude kBuild/bin \
			--no-same-owner --no-same-permissions
@@ -89,15 +92,15 @@ PLIST_SUB= GUEST_VER=${DISTVERSION} \
		PYTHON_VERU=${PYTHON_VER:S/./_/}${PYTHON_ABIVER} \
		VBOXGROUP=${VBOXGROUP}

SLAVE_PORT?=	no

OPTIONS_DEFINE=		AIO ALSA DBUS DEBUG DOCS GUESTADDITIONS NLS \
			PULSEAUDIO PYTHON QT6 R0LOGGING TPM UDPTUNNEL VBOXIMG \
			VDE VNC WEBSERVICE X11
OPTIONS_DEFAULT=	AIO DBUS QT6 TPM UDPTUNNEL VNC WEBSERVICE X11
.if ${SLAVE_PORT} == no
OPTIONS_DEFAULT+=	PYTHON
.endif
OPTIONS_DEFAULT_x11=	PYTHON
OPTIONS_DEFAULT=	AIO DBUS QT6 TPM UDPTUNNEL VNC WEBSERVICE X11 \
			${OPTIONS_DEFAULT_${FLAVOR}}
OPTIONS_EXCLUDE_nox11=	ALSA DBUS DEBUG GUESTADDITIONS DOCS NLS PULSEAUDIO \
			QT6 X11
OPTIONS_EXCLUDE=	${OPTIONS_EXCLUDE_${FLAVOR}}
# Since version 6.1.24 pulseaudio is broken at runtime, preventing
# virtual machines from starting if configured to use it.
OPTIONS_EXCLUDE+=	PULSEAUDIO
@@ -153,12 +156,6 @@ ENV=

.include <bsd.port.options.mk>

.if ${SLAVE_PORT} == no
CONFLICTS_INSTALL+=	virtualbox-ose-nox11-71
.else
CONFLICTS_INSTALL+=	virtualbox-ose-71
.endif

.if ${PORT_OPTIONS:MDEBUG}
KMK_BUILDTYPE=	debug
KMK_FLAGS+=	BUILD_TYPE=debug
+23 −26
Changes for emulators/virtualbox-ose-72/Makefile: 23 added lines, 26 removed lines.
Original line number Diff line number Diff line
PORTNAME=	virtualbox-ose
DISTVERSION=	7.2.8
PORTREVISION?=	0
PORTREVISION=	1
CATEGORIES=	emulators
MASTER_SITES=	https://download.virtualbox.org/virtualbox/${DISTVERSION}/:src \
		LOCAL/vvd:docs
PKGNAMESUFFIX?=	-72
DISTFILES=	VirtualBox-${DISTVERSION}${EXTRACT_SUFX}:src \
		VirtualBox-docs-${DISTVERSION}${EXTRACT_SUFX}:docs
EXTRACT_ONLY=	VirtualBox-${DISTVERSION}${EXTRACT_SUFX} \
@@ -32,6 +31,11 @@ LIB_DEPENDS= libpng.so:graphics/png \
		libvpx.so:multimedia/libvpx
RUN_DEPENDS=	${LOCALBASE}/etc/rc.d/vboxnet:emulators/virtualbox-ose-kmod-72

FLAVORS=	x11 nox11
FLAVOR?=	${FLAVORS:[1]}
_VER=		${DISTVERSION:R:S|.||}
${FLAVOR}_PKGNAMESUFFIX=	-${${FLAVOR:N${FLAVORS:[1]}} ${_VER}:L:ts-}

USES=		compiler:c++17-lang cpe gnome iconv pkgconfig ssl tar:bzip2
CPE_VENDOR=	oracle
CPE_PRODUCT=	vm_virtualbox
@@ -40,18 +44,17 @@ USE_GNOME= libxml2
USE_RC_SUBR=	vboxheadless vboxwatchdog

HAS_CONFIGURE=	yes
CONFIGURE_ARGS+=	--disable-docs --disable-java \
			--enable-libogg --enable-libvorbis --passive-mesa \
			--with-gcc="${CC}" --with-g++="${CXX}"

CONFLICTS_INSTALL=	virtualbox-ose-legacy \
			virtualbox-ose-nox11-legacy \
			virtualbox-ose \
			virtualbox-ose-nox11 \
			virtualbox-ose-70 \
			virtualbox-ose-nox11-70 \
			virtualbox-ose-71 \
			virtualbox-ose-nox11-71
CONFIGURE_ARGS=	--disable-docs \
		--disable-java \
		--enable-libogg \
		--enable-libvorbis \
		--passive-mesa \
		--with-gcc="${CC}" \
		--with-g++="${CXX}"

_VERSIONS=		_-legacy _ _-70 _-71 _-72
CONFLICTS_INSTALL=	${_VERSIONS:S|_|${PORTNAME}|} \
			${_VERSIONS:S|_|${PORTNAME}-nox11|}

EXTRACT_AFTER_ARGS=	--exclude kBuild/bin \
			--no-same-owner --no-same-permissions
@@ -87,15 +90,15 @@ PLIST_SUB= GUEST_VER=${DISTVERSION} \
		PYTHON_VERU=${PYTHON_VER:S/./_/}${PYTHON_ABIVER} \
		VBOXGROUP=${VBOXGROUP}

SLAVE_PORT?=	no

OPTIONS_DEFINE=		AIO ALSA DBUS DEBUG DOCS GUESTADDITIONS NLS \
			PULSEAUDIO PYTHON QT6 R0LOGGING TPM UDPTUNNEL VBOXIMG \
			VDE VNC WEBSERVICE X11
OPTIONS_DEFAULT=	AIO DBUS QT6 TPM UDPTUNNEL VNC WEBSERVICE X11
.if ${SLAVE_PORT} == no
OPTIONS_DEFAULT+=	PYTHON
.endif
OPTIONS_DEFAULT_x11=	PYTHON
OPTIONS_DEFAULT=	AIO DBUS QT6 TPM UDPTUNNEL VNC WEBSERVICE X11 \
			${OPTIONS_DEFAULT_${FLAVOR}}
OPTIONS_EXCLUDE_nox11=	ALSA DBUS DEBUG GUESTADDITIONS DOCS NLS PULSEAUDIO \
			QT6 X11
OPTIONS_EXCLUDE=	${OPTIONS_EXCLUDE_${FLAVOR}}
# Since version 6.1.24 pulseaudio is broken at runtime, preventing
# virtual machines from starting if configured to use it.
OPTIONS_EXCLUDE+=	PULSEAUDIO
@@ -151,12 +154,6 @@ ENV=

.include <bsd.port.options.mk>

.if ${SLAVE_PORT} == no
CONFLICTS_INSTALL+=	virtualbox-ose-nox11-72
.else
CONFLICTS_INSTALL+=	virtualbox-ose-72
.endif

.if ${PORT_OPTIONS:MDEBUG}
KMK_BUILDTYPE=	debug
KMK_FLAGS+=	BUILD_TYPE=debug
Loading