- Update to 0.9.0

This commit is contained in:
Dmitry Marakasov 2009-01-30 15:18:31 +00:00
parent 48ed906ca7
commit 820dae9487
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=227164
3 changed files with 13 additions and 9 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= structuresynth
PORTVERSION= 0.8.5
PORTVERSION= 0.9.0
CATEGORIES= graphics
MASTER_SITES= SF
DISTNAME= StructureSynth-Source-v${PORTVERSION}
@ -16,20 +16,21 @@ COMMENT= Rule-based 3D structure generator
USE_ZIP= yes
USE_QT_VER= 4
QT_COMPONENTS= qmake_build corelib gui opengl moc_build rcc_build xml
QT_COMPONENTS= qmake_build corelib gui opengl moc_build rcc_build xml script
WRKSRC= ${WRKDIR}/structuresynth
post-extract:
${MV} ${WRKDIR}/"Structure Synth Source" ${WRKDIR}/structuresynth
@${MV} ${WRKDIR}/"Structure Synth Source" ${WRKDIR}/structuresynth
post-patch:
@${REINPLACE_CMD} -e 's|"Examples"|"${DATADIR}/Examples"|; \
s|"Misc"|"${DATADIR}/Misc"|' ${WRKSRC}/MainWindow.cpp
@${REINPLACE_CMD} -e '/examplesDir/ s|"Examples"|"${DATADIR}/Examples"|; \
/miscDir/ s|"Misc"|"${DATADIR}/Misc"|' \
${WRKSRC}/StructureSynth/GUI/MainWindow.cpp
do-configure:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -project
@${ECHO_CMD} "QT+=opengl xml" >> ${WRKSRC}/structuresynth.pro
@${ECHO_CMD} "QT+=opengl xml script" >> ${WRKSRC}/structuresynth.pro
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} \
-spec ${QMAKESPEC} structuresynth.pro

View file

@ -1,3 +1,3 @@
MD5 (StructureSynth-Source-v0.8.5.zip) = 26391db808216714cbf34564a94843e3
SHA256 (StructureSynth-Source-v0.8.5.zip) = 2924d03b722c425863ea11b8c869f90aed8114664fbbeec123f32c27e8038203
SIZE (StructureSynth-Source-v0.8.5.zip) = 1308064
MD5 (StructureSynth-Source-v0.9.0.zip) = f8bcbbaf8d8f2a53ac4aa088205bd7a1
SHA256 (StructureSynth-Source-v0.9.0.zip) = 63a3d331a69ad619493407a43902cd4ff8e1dfdf50e6bff99995d2683ceef4b2
SIZE (StructureSynth-Source-v0.9.0.zip) = 1321829

View file

@ -10,7 +10,9 @@ bin/structuresynth
%%DATADIR%%/Examples/Invader.es
%%DATADIR%%/Examples/Jugend2D.es
%%DATADIR%%/Examples/Menger.es
%%DATADIR%%/Examples/MeshTest.es
%%DATADIR%%/Examples/Mondrian.es
%%DATADIR%%/Examples/Nabla.es
%%DATADIR%%/Examples/Octopod II.es
%%DATADIR%%/Examples/RoundTree.es
%%DATADIR%%/Examples/SpiralTree2D.es
@ -21,6 +23,7 @@ bin/structuresynth
%%DATADIR%%/Misc/about.html
%%DATADIR%%/Misc/icon.jpg
%%DATADIR%%/Misc/povray.rendertemplate
%%DATADIR%%/Misc/renderman.rendertemplate
%%DATADIR%%/Misc/splash.png
%%DATADIR%%/Misc/sunflow.rendertemplate
%%DATADIR%%/Misc/sunflowcolored.rendertemplate