Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  8 Jun 2008 00:23:54 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/124378: [MAINTAINER] graphics/structuresynth: update to 0.8.0
Message-ID:  <20080607202354.87CFD1702F@hades.panopticon>
Resent-Message-ID: <200806072030.m57KU1CT069330@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         124378
>Category:       ports
>Synopsis:       [MAINTAINER] graphics/structuresynth: update to 0.8.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 07 20:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 7.0-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0: Fri Apr 25 11:18:45 MSD 2008 root@hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
* Update to 0.8.0
>How-To-Repeat:
>Fix:

--- structuresynth.patch begins here ---
diff -ruN structuresynth.orig/Makefile structuresynth/Makefile
--- structuresynth.orig/Makefile	2008-06-07 19:07:29.000000000 +0400
+++ structuresynth/Makefile	2008-06-07 19:18:51.000000000 +0400
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	structuresynth
-PORTVERSION=	0.7.0
+PORTVERSION=	0.8.0
 CATEGORIES=	graphics
 MASTER_SITES=	SF
 DISTNAME=	StructureSynth-Source-v${PORTVERSION}
@@ -16,32 +16,28 @@
 
 USE_ZIP=	yes
 USE_QT_VER=	4
-QT_COMPONENTS=	qmake corelib gui opengl moc rcc
+QT_COMPONENTS=	qmake corelib gui opengl moc rcc xml
 
-WRKSRC=		${WRKDIR}/source/trunk
+WRKSRC=		${WRKDIR}/structuresynth
+
+post-extract:
+	${MV} ${WRKDIR}/"Structure Synth Source Code" ${WRKDIR}/structuresynth
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|"Examples"|"${DATADIR}/Examples"|; \
 		s|"Misc"|"${DATADIR}/Misc"|' ${WRKSRC}/MainWindow.cpp
 
 do-configure:
+	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -project
+	@${ECHO_CMD} "QT+=opengl xml" >> ${WRKSRC}/structuresynth.pro
 	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} \
-		-project
-	@${ECHO_CMD} "QT+=opengl" >> ${WRKSRC}/trunk.pro
-	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} \
-		-spec ${QMAKESPEC} trunk.pro
+		-spec ${QMAKESPEC} structuresynth.pro
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/trunk ${PREFIX}/bin/${PORTNAME}
+	${INSTALL_PROGRAM} ${WRKSRC}/structuresynth ${PREFIX}/bin/${PORTNAME}
 	${MKDIR} ${DATADIR}/Examples
 	${INSTALL_DATA} ${WRKSRC}/Examples/*.es ${DATADIR}/Examples
 	${MKDIR} ${DATADIR}/Misc
 	${INSTALL_DATA} ${WRKSRC}/Misc/* ${DATADIR}/Misc
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-BROKEN=	Does not compile
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN structuresynth.orig/distinfo structuresynth/distinfo
--- structuresynth.orig/distinfo	2008-06-07 19:07:29.000000000 +0400
+++ structuresynth/distinfo	2008-06-07 19:09:01.000000000 +0400
@@ -1,3 +1,3 @@
-MD5 (StructureSynth-Source-v0.7.0.zip) = f1ab047748af3d686e7263d11f5dbb20
-SHA256 (StructureSynth-Source-v0.7.0.zip) = 07fb7034c9201deaeb486a365263e5cd462bb6dcea8bb2f0b7f40fc1d5547050
-SIZE (StructureSynth-Source-v0.7.0.zip) = 690193
+MD5 (StructureSynth-Source-v0.8.0.zip) = e085026ba3cf9395d248ba04db56a449
+SHA256 (StructureSynth-Source-v0.8.0.zip) = 87263ed6bd796a5f5842a74f993924e1f1ec9e23beebbc24a5a39a7535b71ebd
+SIZE (StructureSynth-Source-v0.8.0.zip) = 775667
diff -ruN structuresynth.orig/pkg-plist structuresynth/pkg-plist
--- structuresynth.orig/pkg-plist	2008-06-07 19:07:29.000000000 +0400
+++ structuresynth/pkg-plist	2008-06-07 19:40:00.000000000 +0400
@@ -1,36 +1,29 @@
 bin/structuresynth
 %%DATADIR%%/Examples/Arc Sphere.es
 %%DATADIR%%/Examples/Ball.es
-%%DATADIR%%/Examples/Binary Circle.es
 %%DATADIR%%/Examples/BinaryKite.es
 %%DATADIR%%/Examples/Boxes II.es
-%%DATADIR%%/Examples/Chaos II.es
 %%DATADIR%%/Examples/City of Glass.es
-%%DATADIR%%/Examples/Colors.es
-%%DATADIR%%/Examples/Colorspyro.es
-%%DATADIR%%/Examples/Colorspyro2.es
 %%DATADIR%%/Examples/Default.es
-%%DATADIR%%/Examples/Defunct Tech.es
 %%DATADIR%%/Examples/Frame In Frame.es
-%%DATADIR%%/Examples/Grid.es
 %%DATADIR%%/Examples/Grinder.es
+%%DATADIR%%/Examples/Invader.es
 %%DATADIR%%/Examples/Jugend2D.es
 %%DATADIR%%/Examples/Menger.es
-%%DATADIR%%/Examples/Menger2.es
-%%DATADIR%%/Examples/Menger3.es
 %%DATADIR%%/Examples/Mondrian.es
 %%DATADIR%%/Examples/Octopod II.es
-%%DATADIR%%/Examples/Quartz.es
-%%DATADIR%%/Examples/Snakeoids.es
+%%DATADIR%%/Examples/RoundTree.es
 %%DATADIR%%/Examples/SpiralTree2D.es
-%%DATADIR%%/Examples/Stairs.es
 %%DATADIR%%/Examples/Torus2.es
 %%DATADIR%%/Examples/Torus3.es
-%%DATADIR%%/Examples/Trees 2d.es
 %%DATADIR%%/Examples/Trees 3d.es
 %%DATADIR%%/Examples/Tube.es
 %%DATADIR%%/Misc/about.html
 %%DATADIR%%/Misc/icon.jpg
+%%DATADIR%%/Misc/povray.rendertemplate
+%%DATADIR%%/Misc/splash.png
+%%DATADIR%%/Misc/sunflow.rendertemplate
+%%DATADIR%%/Misc/sunflowcolored.rendertemplate
 @dirrm %%DATADIR%%/Misc
 @dirrm %%DATADIR%%/Examples
 @dirrm %%DATADIR%%
--- structuresynth.patch ends here ---

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



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