1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

- Update to 1.0.0

This commit is contained in:
Dmitry Marakasov 2009-08-07 17:37:55 +00:00
parent ef04b8cf9f
commit 7b6791190c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=239094
3 changed files with 45 additions and 22 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= structuresynth
PORTVERSION= 0.9.0
PORTVERSION= 1.0.0
CATEGORIES= graphics
MASTER_SITES= SF
DISTNAME= StructureSynth-Source-v${PORTVERSION}
@ -17,11 +17,12 @@ 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 script
WRKSRC= ${WRKDIR}/structuresynth
MAKE_JOBS_SAFE= yes
WRKSRC= ${WRKDIR}/structure-synth
post-extract:
@${MV} ${WRKDIR}/"Structure Synth Source" ${WRKDIR}/structuresynth
@${MV} "${WRKDIR}/Structure Synth Source Code" ${WRKSRC}
@${RM} -rf ${WRKSRC}/Examples/DontDeploy
post-patch:
@${REINPLACE_CMD} -e '/examplesDir/ s|"Examples"|"${DATADIR}/Examples"|; \
@ -29,16 +30,18 @@ post-patch:
${WRKSRC}/StructureSynth/GUI/MainWindow.cpp
do-configure:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -project
@${ECHO_CMD} "QT+=opengl xml script" >> ${WRKSRC}/structuresynth.pro
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} \
-spec ${QMAKESPEC} structuresynth.pro
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} -project \
-after "CONFIG+=opengl" -after "QT+=xml opengl script"
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS}
do-install:
${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
${INSTALL_PROGRAM} ${WRKSRC}/structure-synth ${PREFIX}/bin/
${MKDIR} ${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "Examples Misc" ${DATADIR}/
${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/structure-synth.desktop \
${PREFIX}/share/applications/
${INSTALL_DATA} ${WRKSRC}/images/fileicons/StructureSynth-256.png \
${PREFIX}/share/pixmaps/structure-synth.png
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (StructureSynth-Source-v0.9.0.zip) = f8bcbbaf8d8f2a53ac4aa088205bd7a1
SHA256 (StructureSynth-Source-v0.9.0.zip) = 63a3d331a69ad619493407a43902cd4ff8e1dfdf50e6bff99995d2683ceef4b2
SIZE (StructureSynth-Source-v0.9.0.zip) = 1321829
MD5 (StructureSynth-Source-v1.0.0.zip) = eb0d727aeced8bc7b671c2dc3e903bca
SHA256 (StructureSynth-Source-v1.0.0.zip) = 6d3460a10e8a99e62799dc60e3b14d55355312c52920f391916a090551829916
SIZE (StructureSynth-Source-v1.0.0.zip) = 1888000

View File

@ -1,33 +1,53 @@
bin/structuresynth
bin/structure-synth
share/applications/structure-synth.desktop
share/pixmaps/structure-synth.png
%%DATADIR%%/Examples/Arc Sphere.es
%%DATADIR%%/Examples/Ball.es
%%DATADIR%%/Examples/BinaryKite.es
%%DATADIR%%/Examples/Boxes II.es
%%DATADIR%%/Examples/CSG test.es
%%DATADIR%%/Examples/City of Glass.es
%%DATADIR%%/Examples/Default.es
%%DATADIR%%/Examples/Frame In Frame.es
%%DATADIR%%/Examples/Grinder.es
%%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/NablaSystem.es
%%DATADIR%%/Examples/NineWorthies.es
%%DATADIR%%/Examples/Nouveau.es
%%DATADIR%%/Examples/Nouveau2.es
%%DATADIR%%/Examples/Octopod II.es
%%DATADIR%%/Examples/RoundTree.es
%%DATADIR%%/Examples/SpiralTree2D.es
%%DATADIR%%/Examples/Thingy.es
%%DATADIR%%/Examples/Torus2.es
%%DATADIR%%/Examples/Torus3.es
%%DATADIR%%/Examples/Trees 3d.es
%%DATADIR%%/Examples/Tube.es
%%DATADIR%%/Examples/Tutorials/Blend.es
%%DATADIR%%/Examples/Tutorials/Preprocessor.es
%%DATADIR%%/Examples/Tutorials/PreprocessorGUI.es
%%DATADIR%%/Examples/Tutorials/Primitives.es
%%DATADIR%%/Examples/Tutorials/RandomColor.es
%%DATADIR%%/Examples/Tutorials/TriangleComposites.es
%%DATADIR%%/Misc/Blender_Importer_2.py
%%DATADIR%%/Misc/Blender_Importer_2.rendertemplate
%%DATADIR%%/Misc/SunFlow-Monochrome.rendertemplate
%%DATADIR%%/Misc/Sunflow-Colored.rendertemplate
%%DATADIR%%/Misc/Sunflow-Meta-Neon22.rendertemplate
%%DATADIR%%/Misc/Sunflow-Textured.rendertemplate
%%DATADIR%%/Misc/Sunflow-Ultimate-Groovelock.rendertemplate
%%DATADIR%%/Misc/Sunflow-Ward.rendertemplate
%%DATADIR%%/Misc/about.html
%%DATADIR%%/Misc/icon.jpg
%%DATADIR%%/Misc/povray.rendertemplate
%%DATADIR%%/Misc/povray2.rendertemplate
%%DATADIR%%/Misc/renderman.rendertemplate
%%DATADIR%%/Misc/splash.png
%%DATADIR%%/Misc/sunflow.rendertemplate
%%DATADIR%%/Misc/sunflowcolored.rendertemplate
%%DATADIR%%/Misc/sunflowmulticolored.rendertemplate
@dirrm %%DATADIR%%/Misc
@dirrm %%DATADIR%%/Examples/Tutorials
@dirrm %%DATADIR%%/Examples
@dirrm %%DATADIR%%
@dirrmtry share/applications