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?
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= [email protected]
@@ -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
Cheers,
Cy Schubert <[email protected]>
FreeBSD UNIX: <[email protected]> Web: http://www.FreeBSD.org
The need of the many outweighs the greed of the few.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[email protected]"