Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

virtualbox-ose-lite minimal deps for packaging #23

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions emulators/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
SUBDIR += virtualbox-ose
SUBDIR += virtualbox-ose-additions
SUBDIR += virtualbox-ose-kmod
SUBDIR += virtualbox-ose-lite
SUBDIR += visualboyadvance-m
SUBDIR += vmips
SUBDIR += vmsbackup
Expand Down
14 changes: 14 additions & 0 deletions emulators/virtualbox-ose-lite/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 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"

12 changes: 12 additions & 0 deletions emulators/virtualbox-ose/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ CONFLICTS_INSTALL= virtualbox-ose-additions-4* \
virtualbox-ose-devel-4* \
virtualbox-ose-legacy-4*

.if defined(LITE)
PKGNAMESUFFIX+= -lite
CONFLICTS_INSTALL+= ${PORTNAME}-[0-9]*
WITHOUT+= NLS
.else
CONFLICTS_INSTALL+= ${PORTNAME}-lite-[0-9]*
.endif

VBOXUSER?= vboxusers
VBOXWSUSER?= vboxusers
VBOXGROUP?= vboxusers
Expand All @@ -57,7 +65,11 @@ VBOX_GUEST_VER= ${PORTVERSION}

OPTIONS_DEFINE= DBUS DEBUG GUESTADDITIONS MANUAL NLS PULSEAUDIO PYTHON \
QT4 UDPTUNNEL VDE VNC VPX WEBSERVICE X11
.if defined(LITE)
OPTIONS_DEFAULT= UDPTUNNEL VNC
.else
OPTIONS_DEFAULT= DBUS PYTHON QT4 UDPTUNNEL VNC WEBSERVICE X11
.endif
OPTIONS_SUB= yes

DEBUG_DESC= Debug symbols, additional logs and assertions
Expand Down