Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 May 2014 13:37:56 -0700
From:      Cy Schubert <Cy.Schubert@komquats.com>
To:        vbox@freebsd.org
Subject:   virtualbox-ose patch
Message-ID:  <201405082038.s48KbxvG034961@slippy.cwsent.com>

next in thread | raw e-mail | index | archive | help
This is a multipart MIME message.

--==_Exmh_1399581424_349020
Content-Type: text/plain; charset=us-ascii

Hi,

Enclosed is a patch to install VirtualBox documentation, making help work. 
The patch is for the main port however a similar patch could be used for 
the legacy ports as well.

Would it be possible to include this or would you mind if I committed it?





--==_Exmh_1399581424_349020
Content-Type: text/plain ; name="virtualbox-ose.diff"; charset=us-ascii
Content-Description: virtualbox-ose.diff
Content-Disposition: attachment; filename="virtualbox-ose.diff"

Index: Makefile
===================================================================
--- Makefile	(revision 353138)
+++ Makefile	(working copy)
@@ -8,7 +8,8 @@
 		http://tmp.chruetertee.ch/ \
 		http://disasterarea.chruetertee.ch/ \
 		http://download.virtualbox.org/virtualbox/${VBOX_GUEST_VER}/:guestadditions
-DISTFILES=	VirtualBox-${DISTVERSION}${EXTRACT_SUFX} ${GADISTFILES}
+DISTFILES=	VirtualBox-${DISTVERSION}${EXTRACT_SUFX} ${GADISTFILES} \
+		UserManual.pdf
 EXTRACT_ONLY=	VirtualBox-${DISTVERSION}${EXTRACT_SUFX}
 
 MAINTAINER=	vbox@FreeBSD.org
@@ -48,8 +49,8 @@
 VBOX_FRONTENDS=	VBoxAutostart VBoxHeadless
 VBOX_GUEST_VER=	${PORTVERSION}
 
-OPTIONS_DEFINE=	QT4 DEBUG GUESTADDITIONS DBUS PULSEAUDIO UDPTUNNEL VDE VNC WEBSERVICE NLS X11 VPX PYTHON
-OPTIONS_DEFAULT=	QT4 DBUS X11 UDPTUNNEL VNC WEBSERVICE PYTHON
+OPTIONS_DEFINE=	QT4 DEBUG GUESTADDITIONS DBUS PULSEAUDIO UDPTUNNEL VDE VNC WEBSERVICE NLS X11 VPX PYTHON DOCS
+OPTIONS_DEFAULT=	QT4 DBUS X11 UDPTUNNEL VNC WEBSERVICE PYTHON DOCS
 OPTIONS_SUB=	yes
 DEBUG_DESC=	Debug symbols, additional logs and assertions
 QT4_DESC=	Build with QT4 Frontend
@@ -295,4 +296,9 @@
 	${INSTALL_DATA} ${WRKSRC}/src/VBox/Installer/freebsd/virtualbox.desktop ${STAGEDIR}${PREFIX}/share/applications/virtualbox.desktop
 .endif
 
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${DISTDIR}/UserManual.pdf ${STAGEDIR}${DOCSDIR}/UserManual.pdf
+.endif
+
 .include <bsd.port.post.mk>
Index: distinfo
===================================================================
--- distinfo	(revision 353138)
+++ distinfo	(working copy)
@@ -2,3 +2,5 @@
 SIZE (VirtualBox-4.3.10.tar.bz2) = 90333712
 SHA256 (VBoxGuestAdditions_4.3.10.iso) = 247e15e9a205dcd4761f6cb547ceca2a61e8d6905c1930870939fd323f4cd1ae
 SIZE (VBoxGuestAdditions_4.3.10.iso) = 64647168
+SHA256 (UserManual.pdf) = 0796a0043cb8a965695df75f0a245ff7645596c22c5832e06daa5cd1ba538461
+SIZE (UserManual.pdf) = 6270746
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 353138)
+++ pkg-plist	(working copy)
@@ -651,6 +651,8 @@
 %%PYTHON%%@dirrm %%PYTHON_SITELIBDIR%%/xpcom/client
 %%PYTHON%%@dirrm %%PYTHON_SITELIBDIR%%/xpcom
 %%PYTHON%%@dirrm %%PYTHON_SITELIBDIR%%/vboxapi
+%%PORTDOCS%%%%DOCSDIR%%/UserManual.pdf
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm include/virtualbox/xpcom
 @dirrm include/virtualbox/string
 @dirrm include/virtualbox/nsprpub/private

--==_Exmh_1399581424_349020
Content-Type: text/plain; charset=us-ascii

Cheers,
Cy Schubert <Cy.Schubert@komquats.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.

--==_Exmh_1399581424_349020--





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405082038.s48KbxvG034961>