aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-06-19 07:59:12 +0800
committermiwi <miwi@FreeBSD.org>2008-06-19 07:59:12 +0800
commit344d8c88a855ac77746b3af7afa9d8a9a301d33f (patch)
tree709ef4d0d24868e43f237173a299dde5cf3ee061 /graphics
parent2dd1acfa66794bd15feea0cf3ec62a96f60d3dc2 (diff)
downloadfreebsd-ports-graphics-344d8c88a855ac77746b3af7afa9d8a9a301d33f.tar.gz
freebsd-ports-graphics-344d8c88a855ac77746b3af7afa9d8a9a301d33f.tar.zst
freebsd-ports-graphics-344d8c88a855ac77746b3af7afa9d8a9a301d33f.zip
- Update to 0.8.0
PR: 124378 Submitted by: Dmitry Marakasov <amdmi3@amdmi3.ru> (maintainer)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/structuresynth/Makefile27
-rw-r--r--graphics/structuresynth/distinfo6
-rw-r--r--graphics/structuresynth/pkg-plist19
3 files changed, 20 insertions, 32 deletions
diff --git a/graphics/structuresynth/Makefile b/graphics/structuresynth/Makefile
index 6725caf5677..847c57a4e7c 100644
--- a/graphics/structuresynth/Makefile
+++ b/graphics/structuresynth/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= structuresynth
-PORTVERSION= 0.7.0
-PORTREVISION= 1
+PORTVERSION= 0.8.0
CATEGORIES= graphics
MASTER_SITES= SF
DISTNAME= StructureSynth-Source-v${PORTVERSION}
@@ -17,32 +16,28 @@ COMMENT= Rule-based 3D structure generator
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 --git a/graphics/structuresynth/distinfo b/graphics/structuresynth/distinfo
index 687e188a011..c41ef656eb5 100644
--- a/graphics/structuresynth/distinfo
+++ b/graphics/structuresynth/distinfo
@@ -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 --git a/graphics/structuresynth/pkg-plist b/graphics/structuresynth/pkg-plist
index 9d006dbd471..2530734cb13 100644
--- a/graphics/structuresynth/pkg-plist
+++ b/graphics/structuresynth/pkg-plist
@@ -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%%