Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2013 03:00:27 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r330840 - head/graphics/structuresynth
Message-ID:  <201310190300.r9J30RZE010957@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Oct 19 03:00:27 2013
New Revision: 330840
URL: http://svnweb.freebsd.org/changeset/ports/330840

Log:
  - Support staging

Modified:
  head/graphics/structuresynth/Makefile

Modified: head/graphics/structuresynth/Makefile
==============================================================================
--- head/graphics/structuresynth/Makefile	Sat Oct 19 02:58:40 2013	(r330839)
+++ head/graphics/structuresynth/Makefile	Sat Oct 19 03:00:27 2013	(r330840)
@@ -17,7 +17,6 @@ USE_QT4=	qmake_build corelib gui opengl 
 WRKSRC=		${WRKDIR}/structure-synth
 USE_DOS2UNIX=	*.cpp *.h
 
-NO_STAGE=	yes
 post-extract:
 	@${MV} "${WRKDIR}/Structure Synth Source Code" ${WRKSRC}
 	@${RM} -rf ${WRKSRC}/Examples/DontDeploy
@@ -34,13 +33,12 @@ do-configure:
 	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/structure-synth ${PREFIX}/bin/
-	${MKDIR} ${DATADIR}
-	cd ${WRKSRC} && ${COPYTREE_SHARE} "Examples Misc" ${DATADIR}/
-	${MKDIR} ${PREFIX}/share/applications
+	${INSTALL_PROGRAM} ${WRKSRC}/structure-synth ${STAGEDIR}${PREFIX}/bin/
+	cd ${WRKSRC} && ${COPYTREE_SHARE} "Examples Misc" ${STAGEDIR}${DATADIR}/
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/applications
 	${INSTALL_DATA} ${WRKSRC}/structure-synth.desktop \
-		${PREFIX}/share/applications/
+		${STAGEDIR}${PREFIX}/share/applications/
 	${INSTALL_DATA} ${WRKSRC}/images/fileicons/StructureSynth-256.png \
-		${PREFIX}/share/pixmaps/structure-synth.png
+		${STAGEDIR}${PREFIX}/share/pixmaps/structure-synth.png
 
 .include <bsd.port.mk>



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