ports/118495: new port: emulators/dboxfe - DOSBox frontend

Max Brazhnikov makc at issp.ac.ru
Sat Dec 8 14:50:02 UTC 2007


>Number:         118495
>Category:       ports
>Synopsis:       new port: emulators/dboxfe - DOSBox frontend
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 08 14:50:00 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Max Brazhnikov
>Release:        FreeBSD 7.0-BETA3 i386
>Organization:
>Environment:
FreeBSD luna.dio.ru 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Fri Nov 30 12:44:42 MSK 2007     root at luna.dio.ru:/usr/obj/usr/src/sys/LUNA  i386
>Description:
Add new port DBoxFE: Qt4 frontend for DOSBox
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	dboxfe
#	dboxfe/pkg-descr
#	dboxfe/Makefile
#	dboxfe/distinfo
#	dboxfe/files
#	dboxfe/files/patch-src__dboxfe.cpp
#
echo c - dboxfe
mkdir -p dboxfe > /dev/null 2>&1
echo x - dboxfe/pkg-descr
sed 's/^X//' >dboxfe/pkg-descr << 'END-of-dboxfe/pkg-descr'
XDBoxFE is a Qt4 frontend for DOSBox. With DBoxFE you can create and
Xmanage your configuration files very easily, which are needed by
XDOSBox. In addition it's also possible to create gameprofiles to
Xgenerate different configuration files
X
XWWW:    http://chmaster.freeforge.net/dboxfe-project.htm/
END-of-dboxfe/pkg-descr
echo x - dboxfe/Makefile
sed 's/^X//' >dboxfe/Makefile << 'END-of-dboxfe/Makefile'
X# New ports collection makefile for:	dboxfe
X# Date created:		2007-12-08
X# Whom:			Max Brazhnikov <makc at issp.ac.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	dboxfe
XPORTVERSION=	0.1.3
XCATEGORIES=	emulators
XMASTER_SITES=	${MASTER_SITE_BERLIOS}
XMASTER_SITE_SUBDIR=${PORTNAME}
X
XMAINTAINER=	makc at issp.ac.ru
XCOMMENT=	A Qt4 front-end to DOSBox
X
XRUN_DEPENDS=	dosbox:${PORTSDIR}/emulators/dosbox
X
XUSE_BZIP2=	yes
XUSE_QT_VER=	4
XQT_COMPONENTS=	gui network xml uic_build moc_build qmake_build rcc_build
XHAS_CONFIGURE=	yes
X
XPLIST_FILES=	dboxfe dboxfetray
X
X.include <bsd.port.pre.mk>
X
XPRO_DIRS=	. dboxfetray
X
Xdo-configure:
X.for dir in ${PRO_DIRS}
X	@(cd ${WRKSRC}/${dir} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE})
X.endfor
X
Xpost-configure:
X.for dir in ${PRO_DIRS}
X	@${REINPLACE_CMD} -e \
X		's|^CC .*|CC=${CC}|; \
X		 s|^CXX .*|CXX=${CXX}|; \
X		 s|^LINK .*|LINK=${CXX}|' \
X		${WRKSRC}/${dir}/Makefile
X.endfor
X
Xdo-build:
X.for dir in ${PRO_DIRS}
X	@(cd ${WRKSRC}/${dir} && ${SETENV} ${MAKE_ENV} ${MAKE})
X.endfor
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/bin/dboxfe ${PREFIX}/bin/dboxfe
X	${INSTALL_PROGRAM} ${WRKSRC}/bin/dboxfetray ${PREFIX}/bin/dboxfetray
X
X.include <bsd.port.post.mk>
END-of-dboxfe/Makefile
echo x - dboxfe/distinfo
sed 's/^X//' >dboxfe/distinfo << 'END-of-dboxfe/distinfo'
XMD5 (dboxfe-0.1.3.tar.bz2) = 1f6224c0eae16502349504e1b722d4aa
XSHA256 (dboxfe-0.1.3.tar.bz2) = a1e8e2fa1b3221f3e7dc14c065e93eede3b9d744d94047118cc730207eb52c5c
XSIZE (dboxfe-0.1.3.tar.bz2) = 260934
END-of-dboxfe/distinfo
echo c - dboxfe/files
mkdir -p dboxfe/files > /dev/null 2>&1
echo x - dboxfe/files/patch-src__dboxfe.cpp
sed 's/^X//' >dboxfe/files/patch-src__dboxfe.cpp << 'END-of-dboxfe/files/patch-src__dboxfe.cpp'
X--- ./src/dboxfe.cpp.orig	2007-09-22 13:25:00.000000000 +0400
X+++ ./src/dboxfe.cpp	2007-12-08 16:43:17.000000000 +0300
X@@ -65,7 +65,7 @@
X 	connect ( chkBoxStartTrayIcon, SIGNAL ( toggled ( bool ) ), this, SLOT ( slotChkBoxStartTrayIconToggled ( bool ) ) );
X 
X 	// windows title for the application
X-	titleLin = tr ( "DBoxFE - Front End for DOSBox 0.7x - Linux Version " ) + getAppVersion();
X+	titleLin = tr ( "DBoxFE" );
X 	titleWin = tr ( "DBoxFE - Front End for DOSBox 0.7x - Windows Version " ) + getAppVersion();
X 	titleMac = tr ( "DBoxFE - Front End for DOSBox 0.7x - Mac Version " ) + getAppVersion();
X 
X@@ -83,18 +83,6 @@
X 	QApplication::setStyle ( "plastique" );
X #endif
X 
X-#ifdef Q_OS_UNIX
X-	setWindowTitle ( titleLin );
X-	QApplication::setStyle ( "plastique" );
X-#endif
X-
X-	// center the application on desktop screen
X-	QDesktopWidget *desktop = qApp->desktop();
X-	const QRect rect = desktop->availableGeometry ( desktop->primaryScreen() );
X-	int left = ( rect.width() - width() ) / 2;
X-	int top = ( rect.height() - height() ) / 2;
X-	setGeometry ( left, top, width(), height() );
X-
X 	//for future release :)
X 	chkBoxStartTrayIcon->setVisible( false );
X }
END-of-dboxfe/files/patch-src__dboxfe.cpp
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list