Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2013 12:54:48 +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: r334584 - in head: graphics/structuresynth graphics/tiled x11-themes/qt4-style-float x11-themes/qt4-style-phase x11-themes/qt4-style-quantumstyle
Message-ID:  <201311221254.rAMCsmMl083953@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Fri Nov 22 12:54:48 2013
New Revision: 334584
URL: http://svnweb.freebsd.org/changeset/ports/334584

Log:
  Convert to USES=qmake
  
  Approved by:	portmgr (blanket approval)

Modified:
  head/graphics/structuresynth/Makefile
  head/graphics/tiled/Makefile
  head/x11-themes/qt4-style-float/Makefile
  head/x11-themes/qt4-style-phase/Makefile
  head/x11-themes/qt4-style-quantumstyle/Makefile

Modified: head/graphics/structuresynth/Makefile
==============================================================================
--- head/graphics/structuresynth/Makefile	Fri Nov 22 12:43:10 2013	(r334583)
+++ head/graphics/structuresynth/Makefile	Fri Nov 22 12:54:48 2013	(r334584)
@@ -11,9 +11,10 @@ DISTNAME=	StructureSynth-Source-v${PORTV
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Rule-based 3D structure generator
 
+USES=		qmake
 USE_GL=		glu
 USE_ZIP=	yes
-USE_QT4=	qmake_build corelib gui opengl moc_build rcc_build xml script
+USE_QT4=	corelib gui opengl moc_build rcc_build xml script
 WRKSRC=		${WRKDIR}/structure-synth
 USE_DOS2UNIX=	*.cpp *.h
 
@@ -26,11 +27,10 @@ post-patch:
 		/miscDir/ s|"Misc"|"${DATADIR}/Misc"|' \
 		${WRKSRC}/StructureSynth/GUI/MainWindow.cpp
 
-do-configure:
+pre-configure:
 	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} -project \
 		-after "CONFIG+=opengl" -after "QT+=xml opengl script" \
 		-after "LIBS+=-lGLU"
-	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS}
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/structure-synth ${STAGEDIR}${PREFIX}/bin/

Modified: head/graphics/tiled/Makefile
==============================================================================
--- head/graphics/tiled/Makefile	Fri Nov 22 12:43:10 2013	(r334583)
+++ head/graphics/tiled/Makefile	Fri Nov 22 12:54:48 2013	(r334584)
@@ -10,10 +10,10 @@ DISTNAME=	tiled-qt-${PORTVERSION}
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	General purpose tile map editor
 
+USES=		qmake
 USE_QT4=	corelib gui opengl \
-		linguist_build qmake_build moc_build uic_build rcc_build
+		linguist_build moc_build uic_build rcc_build
 USE_LDCONFIG=	yes
-DESTDIRNAME=	INSTALL_ROOT
 
 PORTDOCS=	*
 
@@ -30,10 +30,6 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' ${WRKSRC}/docs/tiled.desktop
 	@${FIND} ${WRKSRC} -name "*.pro" -exec ${REINPLACE_CMD} -e 's|share/man|man|' {} \;
 
-do-configure:
-	cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
-		${QMAKE} ${QMAKEFLAGS} PREFIX="${PREFIX}" tiled.pro
-
 post-install:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/

Modified: head/x11-themes/qt4-style-float/Makefile
==============================================================================
--- head/x11-themes/qt4-style-float/Makefile	Fri Nov 22 12:43:10 2013	(r334583)
+++ head/x11-themes/qt4-style-float/Makefile	Fri Nov 22 12:54:48 2013	(r334584)
@@ -15,17 +15,15 @@ COMMENT=	Style for Qt 4 and KDE
 
 LICENSE=	GPLv2
 
+USES=		qmake
 USE_BZIP2=	yes
-USE_QT4=	corelib gui qmake_build moc_build rcc_build
+USE_QT4=	corelib gui moc_build rcc_build
 
 WRKSRC=		${WRKDIR}/floatstyle-${PORTVERSION}
 
 PLIST_FILES=	${QT_PLUGINDIR_REL}/styles/libfloatstyle.so
 PLIST_DIRSTRY=	${QT_PLUGINDIR_REL}/styles
 
-do-configure:
-	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS}
-
 do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/${QT_PLUGINDIR_REL}/styles/
 	${INSTALL_PROGRAM} ${WRKSRC}/libfloatstyle.so ${STAGEDIR}${PREFIX}/${QT_PLUGINDIR_REL}/styles/

Modified: head/x11-themes/qt4-style-phase/Makefile
==============================================================================
--- head/x11-themes/qt4-style-phase/Makefile	Fri Nov 22 12:43:10 2013	(r334583)
+++ head/x11-themes/qt4-style-phase/Makefile	Fri Nov 22 12:54:48 2013	(r334584)
@@ -15,17 +15,15 @@ COMMENT=	Widget style for Qt 4 and KDE 4
 
 LICENSE=	MIT
 
+USES=		qmake
 USE_BZIP2=	yes
-USE_QT4=	corelib gui qmake_build moc_build
+USE_QT4=	corelib gui moc_build
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 PLIST_FILES=	${QT_PLUGINDIR_REL}/styles/libphasestyle.so
 PLIST_DIRSTRY=	${QT_PLUGINDIR_REL}/styles
 
-do-configure:
-	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS}
-
 do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/${QT_PLUGINDIR_REL}/styles/
 	${INSTALL_PROGRAM} ${WRKSRC}/libphasestyle.so ${STAGEDIR}${PREFIX}/${QT_PLUGINDIR_REL}/styles/

Modified: head/x11-themes/qt4-style-quantumstyle/Makefile
==============================================================================
--- head/x11-themes/qt4-style-quantumstyle/Makefile	Fri Nov 22 12:43:10 2013	(r334583)
+++ head/x11-themes/qt4-style-quantumstyle/Makefile	Fri Nov 22 12:54:48 2013	(r334584)
@@ -16,16 +16,14 @@ COMMENT=	SVG themeable style for Qt 4 an
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USE_QT4=	corelib gui svg qmake_build rcc_build uic_build moc_build
+USES=		qmake
+USE_QT4=	corelib gui svg rcc_build uic_build moc_build
 
 WRKSRC=		${WRKDIR}/QuantumStyle
 
 PLIST_FILES=	${QT_PLUGINDIR_REL}/styles/libquantumstyle.so
 PLIST_DIRSTRY=	${QT_PLUGINDIR_REL}/styles
 
-do-configure:
-	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS}
-
 do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/${QT_PLUGINDIR_REL}/styles/
 	${INSTALL_PROGRAM} ${WRKSRC}/style/libquantumstyle.so ${STAGEDIR}${PREFIX}/${QT_PLUGINDIR_REL}/styles/



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