summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2016-10-05 19:55:24 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2016-10-05 19:55:24 +0000
commit02d28cdba89bf436d77f59ac03c0d13a44ff754d (patch)
treea23ca322b0ad13e3c5f479f060b963c5eaff0038 /emulators
parentAlso mark broken on sparc64. (diff)
- Rename emulators/virtualbox-ose-lite to emulators/virtualbox-ose-nox11 and
assign its maintainership to vbox@. [1] - Use OPTIONS_EXCLUDE to simplify its master port. Approved by: alfred (maintainer) [1]
Notes
Notes: svn path=/head/; revision=423381
Diffstat (limited to 'emulators')
-rw-r--r--emulators/Makefile2
-rw-r--r--emulators/virtualbox-ose-lite/Makefile14
-rw-r--r--emulators/virtualbox-ose-nox11/Makefile10
-rw-r--r--emulators/virtualbox-ose/Makefile57
4 files changed, 34 insertions, 49 deletions
diff --git a/emulators/Makefile b/emulators/Makefile
index f39a672dab64..f4e00ad664c8 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -153,7 +153,7 @@
SUBDIR += virtualbox-ose-additions
SUBDIR += virtualbox-ose-additions-nox11
SUBDIR += virtualbox-ose-kmod
- SUBDIR += virtualbox-ose-lite
+ SUBDIR += virtualbox-ose-nox11
SUBDIR += visualboyadvance-m
SUBDIR += vmips
SUBDIR += vmsbackup
diff --git a/emulators/virtualbox-ose-lite/Makefile b/emulators/virtualbox-ose-lite/Makefile
deleted file mode 100644
index a084e2dcae93..000000000000
--- a/emulators/virtualbox-ose-lite/Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-# Created by: Alfred Perlstein <alfred@freebsd.org>
-# $FreeBSD$
-
-PORTREVISION= 0
-
-MAINTAINER= alfred@FreeBSD.org
-COMMENT= Small install of virtualbox without graphics
-
-LITE= yes
-
-MASTERDIR= ${.CURDIR}/../virtualbox-ose
-
-.include "${MASTERDIR}/Makefile"
-
diff --git a/emulators/virtualbox-ose-nox11/Makefile b/emulators/virtualbox-ose-nox11/Makefile
new file mode 100644
index 000000000000..77e1fe16555f
--- /dev/null
+++ b/emulators/virtualbox-ose-nox11/Makefile
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+PKGNAMESUFFIX= -nox11
+
+OPTIONS_EXCLUDE= ALSA DBUS DEBUG GUESTADDITIONS MANUAL NLS PULSEAUDIO
+OPTIONS_EXCLUDE+= QT4 QT5 VPX X11
+
+MASTERDIR= ${.CURDIR}/../virtualbox-ose
+
+.include "${MASTERDIR}/Makefile"
diff --git a/emulators/virtualbox-ose/Makefile b/emulators/virtualbox-ose/Makefile
index 5bef4ed5359d..8a23d27f2749 100644
--- a/emulators/virtualbox-ose/Makefile
+++ b/emulators/virtualbox-ose/Makefile
@@ -9,7 +9,7 @@ MASTER_SITES= http://download.virtualbox.org/virtualbox/${PORTVERSION}/
DISTFILES= VirtualBox-${PORTVERSION}${EXTRACT_SUFX} ${GUESTADDITIONS}
EXTRACT_ONLY= VirtualBox-${PORTVERSION}${EXTRACT_SUFX}
-MAINTAINER?= vbox@FreeBSD.org
+MAINTAINER= vbox@FreeBSD.org
COMMENT= General-purpose full virtualizer for x86 hardware
LICENSE= GPLv2
@@ -43,17 +43,6 @@ CONFLICTS_INSTALL= virtualbox-ose-additions-[4,5]* \
virtualbox-ose-devel-4* \
virtualbox-ose-legacy-4*
-.if defined(LITE)
-CONFIGURE_ARGS+= --build-headless --disable-alsa --disable-dbus \
- --disable-docs --disable-libvpx --disable-pulse
-CONFLICTS_INSTALL+= ${PORTNAME}-[4,5]*
-PKGNAMESUFFIX= -lite
-PLIST_SUB= GUESTADDITIONS="@comment " MANUAL="@comment " \
- NLS="@comment " QT="@comment " X11="@comment "
-.else
-CONFLICTS_INSTALL+= ${PORTNAME}-lite-[4,5]*
-.endif
-
VBOXUSER?= vboxusers
VBOXWSUSER?= vboxusers
VBOXGROUP?= vboxusers
@@ -67,15 +56,11 @@ VBOX_PROGS= VBoxAutostart VBoxBalloonCtrl VBoxBugReport VBoxHeadless \
VBOX_UTILS= VBoxExtPackHelperApp VBoxNetAdpCtl VBoxNetDHCP VBoxNetNAT \
VBoxSVC VBoxXPCOMIPCD
-OPTIONS_DEFINE= PYTHON R0LOGGING UDPTUNNEL VDE VNC WEBSERVICE
-OPTIONS_DEFAULT= UDPTUNNEL VNC
-.if !defined(LITE)
-OPTIONS_DEFINE+= ALSA DBUS DEBUG GUESTADDITIONS MANUAL NLS PULSEAUDIO
-OPTIONS_DEFINE+= VPX X11
-OPTIONS_DEFAULT+= DBUS PYTHON QT5 WEBSERVICE X11
+OPTIONS_DEFINE= ALSA DBUS DEBUG GUESTADDITIONS MANUAL NLS PULSEAUDIO \
+ PYTHON R0LOGGING UDPTUNNEL VDE VNC WEBSERVICE VPX X11
+OPTIONS_DEFAULT= DBUS QT5 UDPTUNNEL VNC WEBSERVICE X11
OPTIONS_RADIO= GUI
OPTIONS_RADIO_GUI= QT4 QT5
-.endif
OPTIONS_SUB= yes
DEBUG_DESC= Debug symbols, additional logs and assertions
@@ -90,27 +75,24 @@ VNC_DESC= Build with VNC support
VPX_DESC= Use vpx for video capturing
WEBSERVICE_DESC= Build Webservice
-MANUAL_BUILD_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.4/docbookx.dtd:textproc/docbook-xml
-PYTHON_CONFIGURE_OFF= --disable-python
-UDPTUNNEL_CONFIGURE_OFF= --disable-udptunnel
-VDE_CONFIGURE_ON= --enable-vde
-VDE_RUN_DEPENDS= vde_switch:net/vde2
-VNC_CONFIGURE_ON= --enable-vnc
-VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver
-
-.if !defined(LITE)
ALSA_CONFIGURE_OFF= --disable-alsa
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
+MANUAL_BUILD_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.4/docbookx.dtd:textproc/docbook-xml
MANUAL_CONFIGURE_OFF= --disable-docs
PULSEAUDIO_CONFIGURE_OFF= --disable-pulse
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
+PYTHON_CONFIGURE_OFF= --disable-python
+UDPTUNNEL_CONFIGURE_OFF= --disable-udptunnel
+VDE_CONFIGURE_ON= --enable-vde
+VDE_RUN_DEPENDS= vde_switch:net/vde2
+VNC_CONFIGURE_ON= --enable-vnc
+VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver
VPX_CONFIGURE_OFF= --disable-libvpx
VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx
X11_CONFIGURE_OFF= --build-headless
-.endif
# bmake doesn't know about unsetenv=true
.if defined(.PARSEDIR)
@@ -120,18 +102,25 @@ ENV=
.SHELL: path="/bin/sh" unsetenv=true
.endif
-PLIST_SUB+= GUEST_VER=${PORTVERSION} \
+PLIST_SUB= GUEST_VER=${PORTVERSION} \
PYTHON_VERU=${PYTHON_VER:S/./_/}${PYTHON_ABIVER} \
VBOXGROUP=${VBOXGROUP}
-SUB_LIST+= VBOXDIR=${VBOX_DIR} \
+SUB_LIST= VBOXDIR=${VBOX_DIR} \
VBOXGROUP=${VBOXGROUP} \
VBOXUSER=${VBOXUSER} \
VBOXWSUSER=${VBOXWSUSER}
-USE_RC_SUBR+= vboxheadless vboxwatchdog
+USE_RC_SUBR= vboxheadless vboxwatchdog
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MNLS} && empty(PORT_OPTIONS:MQT[45]) && !defined(LITE)
+.if ${SLAVE_PORT} == no
+OPTIONS_DEFAULT+= PYTHON
+CONFLICTS_INSTALL+= ${PORTNAME}-lite-[4,5]*
+.else
+CONFLICTS_INSTALL+= ${PORTNAME}-[4,5]*
+.endif
+
+.if ${PORT_OPTIONS:MNLS} && empty(PORT_OPTIONS:MQT[45])
BROKEN= NLS support requires QT frontend. Run 'make config' again!
.endif
@@ -390,7 +379,7 @@ do-install:
${STAGEDIR}${DOCSDIR}
.endif
-.if ${PORT_OPTIONS:MNLS} && !defined(LITE)
+.if ${PORT_OPTIONS:MNLS}
cd ${KMK_BUILDDIR}/obj/VirtualBox/qtnls && \
${COPYTREE_SHARE} "*.qm" ${STAGEDIR}${DATADIR}/nls
.endif