Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2012 13:51:31 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308947 - head/emulators/dboxfe
Message-ID:  <201212151351.qBFDpVfw071539@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Sat Dec 15 13:51:31 2012
New Revision: 308947
URL: http://svnweb.freebsd.org/changeset/ports/308947

Log:
  - Strip Makefile header
  - Install Desktop entries and icon
  - Pass QMAKEFLAGS to qmake (as a result post-configure fixes are needless now)
  - Mark MAKE_JOBS_SAFE
  - Update COMMENT, description, WWW
  - Reformat description with `fmt -s'

Modified:
  head/emulators/dboxfe/Makefile   (contents, props changed)
  head/emulators/dboxfe/pkg-descr   (contents, props changed)

Modified: head/emulators/dboxfe/Makefile
==============================================================================
--- head/emulators/dboxfe/Makefile	Sat Dec 15 13:50:08 2012	(r308946)
+++ head/emulators/dboxfe/Makefile	Sat Dec 15 13:51:31 2012	(r308947)
@@ -1,44 +1,39 @@
-# New ports collection makefile for:	dboxfe
-# Date created:		2007-12-08
-# Whom:			Max Brazhnikov <makc@issp.ac.ru>
-#
 # $FreeBSD$
-#
 
 PORTNAME=	dboxfe
 PORTVERSION=	0.1.3
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	emulators
 MASTER_SITES=	${MASTER_SITE_BERLIOS}
 MASTER_SITE_SUBDIR=${PORTNAME}
 
 MAINTAINER=	makc@FreeBSD.org
-COMMENT=	A Qt4 front-end to DOSBox
+COMMENT=	Qt4 based configuration manager for DOSBox
 
 RUN_DEPENDS=	dosbox:${PORTSDIR}/emulators/dosbox
 
 USE_BZIP2=	yes
 USE_QT4=	gui network xml uic_build moc_build qmake_build rcc_build
 HAS_CONFIGURE=	yes
+MAKE_JOBS_SAFE=	yes
 
-PLIST_FILES=	bin/dboxfe bin/dboxfetray
-
-.include <bsd.port.pre.mk>
+PLIST_FILES=	bin/dboxfe \
+		bin/dboxfetray \
+		share/pixmaps/dboxfe.png
+
+DESKTOP_ENTRIES=	"DBoxFE" "DOSBox configuration manager" \
+		"${PREFIX}/share/pixmaps/dboxfe.png" \
+		"dboxfe" "Utility;Qt;" false \
+		"DBoxFEtray" "DBoxFE systray icon" \
+		"${PREFIX}/share/pixmaps/dboxfe.png" \
+		"dboxfetray" "Utility;Qt;TrayIcon;" false
 
 PRO_DIRS=	. dboxfetray
 
 do-configure:
 .for dir in ${PRO_DIRS}
-	@(cd ${WRKSRC}/${dir} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE})
-.endfor
-
-post-configure:
-.for dir in ${PRO_DIRS}
-	@${REINPLACE_CMD} -e \
-		's|^CC .*|CC=${CC}|; \
-		 s|^CXX .*|CXX=${CXX}|; \
-		 s|^LINK .*|LINK=${CXX}|' \
-		${WRKSRC}/${dir}/Makefile
+	@(cd ${WRKSRC}/${dir} && \
+		${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS})
 .endfor
 
 do-build:
@@ -49,5 +44,7 @@ do-build:
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/dboxfe ${PREFIX}/bin/dboxfe
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/dboxfetray ${PREFIX}/bin/dboxfetray
+	${INSTALL_DATA} ${WRKSRC}/dboxfetray/res/dboxfetray.png \
+		${PREFIX}/share/pixmaps/dboxfe.png
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/emulators/dboxfe/pkg-descr
==============================================================================
--- head/emulators/dboxfe/pkg-descr	Sat Dec 15 13:50:08 2012	(r308946)
+++ head/emulators/dboxfe/pkg-descr	Sat Dec 15 13:51:31 2012	(r308947)
@@ -1,6 +1,4 @@
-DBoxFE is a Qt4 frontend for DOSBox. With DBoxFE you can create and
-manage your configuration files very easily, which are needed by
-DOSBox. In addition it's also possible to create gameprofiles to
-generate different configuration files
+DBoxFE is a Qt4 frontend for DOSBox.  With DBoxFE you can easily
+create and manage configuration profiles for DOSBox.
 
-WWW:    http://chmaster.freeforge.net/dboxfe-project.htm
+WWW: http://chm-projects.de/?q=dboxfe



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