aboutsummaryrefslogtreecommitdiff
path: root/graphics/structuresynth
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-06-18 23:59:12 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-06-18 23:59:12 +0000
commit3ec74c77d02901af1d44878c44b6da98cdc45202 (patch)
tree25708f56d1867342622bdaf439a55d1414a99d59 /graphics/structuresynth
parent60f7295e70bd61503e8ab0ec23822eb2915e9be2 (diff)
downloadports-3ec74c77d02901af1d44878c44b6da98cdc45202.tar.gz
ports-3ec74c77d02901af1d44878c44b6da98cdc45202.zip
Notes
Diffstat (limited to 'graphics/structuresynth')
-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 6725caf56771..847c57a4e7cf 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 687e188a0117..c41ef656eb56 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 9d006dbd4719..2530734cb13f 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%%