1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/net/remotebox/Makefile
Bernhard Froehlich 1f48c0980e RemoteBox is a graphical (GTK) VirtualBox client, which lets you administer
guests or virtual machines which reside on a remote server or even your
local machine if desired.

WWW: http://remotebox.knobgoblin.org.uk/

PR:		ports/183995
Submitted by:	Haowu Ge <ghw@7axu.com>
2014-01-30 15:45:16 +00:00

60 lines
2.0 KiB
Makefile

# Created by: Haowu Ge <ghw@7axu.com>
# $FreeBSD$
PORTNAME= remotebox
PORTVERSION= 1.6
CATEGORIES= net
MASTER_SITES= http://remotebox.knobgoblin.org.uk/downloads/
DISTNAME= RemoteBox-${PORTVERSION}
MAINTAINER= ghw@7axu.com
COMMENT= Open Source VirtualBox Client with Remote Management
LICENSE= GPLv2
RUN_DEPENDS= p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
p5-SOAP-Lite>=0:${PORTSDIR}/net/p5-SOAP-Lite \
rdesktop:${PORTSDIR}/net/rdesktop
LICENSE_FILE_GPLv2= ${WRKSRC}/docs/COPYING
NO_BUILD= yes
USE_BZIP2= yes
INSTALLS_ICONS= yes
OPTIONS_DEFINE= DOCS
WRKSRC= ${WRKDIR}/${DISTNAME}
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|docs/remotebox|share/doc/remotebox/remotebox|' ${WRKSRC}/remotebox
@${REINPLACE_CMD} -e 's|$$Bin/|${PREFIX}/|' ${WRKSRC}/remotebox
@${REINPLACE_CMD} -e 's|$$Bin/|${PREFIX}/|' ${WRKSRC}/share/remotebox/rbox_gui_init.pl
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/share/remotebox/*.pl ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/share/remotebox/*.pm ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/share/remotebox/remotebox.xml ${STAGEDIR}${DATADIR}
${MKDIR} ${STAGEDIR}${DATADIR}/icons/os
${MKDIR} ${STAGEDIR}${DATADIR}/icons/gueststatus
${INSTALL_DATA} ${WRKSRC}/share/remotebox/icons/*.png ${STAGEDIR}${DATADIR}/icons
${INSTALL_DATA} ${WRKSRC}/share/remotebox/icons/os/*.png ${STAGEDIR}${DATADIR}/icons/os
${INSTALL_DATA} ${WRKSRC}/share/remotebox/icons/gueststatus/*.png ${STAGEDIR}${DATADIR}/icons/gueststatus
${INSTALL_DATA} ${WRKSRC}/share/remotebox/icons/remotebox.png ${STAGEDIR}${PREFIX}/share/pixmaps
${MKDIR} ${STAGEDIR}${PREFIX}/share/applications
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop \
${STAGEDIR}${PREFIX}/share/applications
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/docs/remotebox.pdf ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/docs/changelog.txt ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>