update to dustrac-1.11.0

This commit is contained in:
jasper 2015-09-21 20:05:41 +00:00
parent b6ef315066
commit 71cddd263e
4 changed files with 26 additions and 29 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.4 2015/05/28 10:17:23 pascal Exp $
# $OpenBSD: Makefile,v 1.5 2015/09/21 20:05:41 jasper Exp $
COMMENT = traditional top-down car racing game
DISTNAME = dustrac-1.7.3
REVISION = 1
DISTNAME = dustrac-1.11.0
CATEGORIES = games
@ -12,14 +11,14 @@ HOMEPAGE = http://dustrac.sourceforge.net/
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += GL GLU QtGui QtOpenGL QtXml X11 c m openal pthread
WANTLIB += vorbisfile
WANTLIB += GL GLU X11 c m openal pthread vorbisfile
WANTLIB += Qt5Core Qt5Gui Qt5OpenGL Qt5Widgets Qt5Xml
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=dustrac/}
MODULES = devel/cmake \
gcc4 \
x11/qt4
x11/qt5
MODGCC4_ARCHS = *
MODGCC4_LANGS = c c++
RUN_DEPENDS = devel/desktop-file-utils \
@ -29,7 +28,6 @@ LIB_DEPENDS = audio/openal
CONFIGURE_ARGS += -DReleaseBuild=ON \
-DDATA_PATH=${PREFIX}/share/dustrac \
-DDOC_PATH=${PREFIX}/share/dustrac \
-DUseQt5=OFF
-DDOC_PATH=${PREFIX}/share/dustrac
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (dustrac-1.7.3.tar.gz) = GrDyV12Fvmi9tEYzRqaBW2DH4sBVpnWd0QJaczPuci0=
SIZE (dustrac-1.7.3.tar.gz) = 25824731
SHA256 (dustrac-1.11.0.tar.gz) = PxzKPUMRUusudwLHcvdEohakfE4PRPoZOqYroifhXkM=
SIZE (dustrac-1.11.0.tar.gz) = 27505282

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-InstallLinux_cmake,v 1.1.1.1 2014/09/03 13:19:00 landry Exp $
cmake doesnt try to find the desktop files in ${CMAKE_BINARY_DIR}
--- InstallLinux.cmake.orig Mon Jan 27 20:16:19 2014
+++ InstallLinux.cmake Mon Jan 27 20:16:24 2014
@@ -69,8 +69,8 @@ function(setup_install_targets BIN_PATH DATA_PATH DOC_
if(ReleaseBuild)
# Install .desktop files
- install(FILES dustrac-game.desktop DESTINATION share/applications)
- install(FILES dustrac-editor.desktop DESTINATION share/applications)
+ install(FILES ${CMAKE_BINARY_DIR}/dustrac-game.desktop DESTINATION share/applications)
+ install(FILES ${CMAKE_BINARY_DIR}/dustrac-editor.desktop DESTINATION share/applications)
# Install icons
install(FILES data/icons/dustrac-game.png DESTINATION share/pixmaps)

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2014/09/03 13:19:00 landry Exp $
@comment $OpenBSD: PLIST,v 1.2 2015/09/21 20:05:41 jasper Exp $
@bin bin/dustrac-editor
@bin bin/dustrac-game
share/applications/dustrac-editor.desktop
@ -15,7 +15,7 @@ share/dustrac/fonts/UbuntuMono-B.ttf
share/dustrac/fonts/UbuntuMono-R.ttf
share/dustrac/images/
share/dustrac/images/about.png
share/dustrac/images/asphalt.jpg
share/dustrac/images/asphalt.png
share/dustrac/images/brake.png
share/dustrac/images/bridge.png
share/dustrac/images/bridgeEditor.png
@ -44,6 +44,7 @@ share/dustrac/images/corner45LeftPreview.png
share/dustrac/images/corner45Right.png
share/dustrac/images/corner45RightPreview.png
share/dustrac/images/cornerPreview.png
share/dustrac/images/crashOverlay.png
share/dustrac/images/creditsHelpBack.png
share/dustrac/images/cross.png
share/dustrac/images/cursor.png
@ -63,7 +64,6 @@ share/dustrac/images/left.png
share/dustrac/images/lock.png
share/dustrac/images/logo.png
share/dustrac/images/mainMenuBack.png
share/dustrac/images/monospace.png
share/dustrac/images/mud.png
share/dustrac/images/pit.png
share/dustrac/images/plant.png
@ -72,9 +72,13 @@ share/dustrac/images/rock.png
share/dustrac/images/sand.png
share/dustrac/images/sandAreaBig.png
share/dustrac/images/sandAreaCurve.png
share/dustrac/images/sandEditor.png
share/dustrac/images/sandGrassCorner.png
share/dustrac/images/sandGrassCorner2.png
share/dustrac/images/sandGrassCorner2Editor.png
share/dustrac/images/sandGrassCornerEditor.png
share/dustrac/images/sandGrassStraight.png
share/dustrac/images/sandGrassStraightEditor.png
share/dustrac/images/settingsBack.png
share/dustrac/images/skid.png
share/dustrac/images/sky.png
@ -106,6 +110,7 @@ share/dustrac/levels/infinity.trk
share/dustrac/levels/monza.trk
share/dustrac/levels/ring.trk
share/dustrac/levels/straight.trk
share/dustrac/levels/suzuka.trk
share/dustrac/levels/triangle.trk
share/dustrac/levels/twister.trk
share/dustrac/meshes.conf
@ -122,7 +127,16 @@ share/dustrac/sounds/menuBoom.ogg
share/dustrac/sounds/menuClick.ogg
share/dustrac/sounds/pit.ogg
share/dustrac/sounds/skid.ogg
share/dustrac/textures.conf
share/dustrac/surfaces.conf
share/dustrac/translations/
share/dustrac/translations/dustrac-editor_cs.qm
share/dustrac/translations/dustrac-editor_fi.qm
share/dustrac/translations/dustrac-editor_fr.qm
share/dustrac/translations/dustrac-editor_it.qm
share/dustrac/translations/dustrac-game_cs.qm
share/dustrac/translations/dustrac-game_fi.qm
share/dustrac/translations/dustrac-game_fr.qm
share/dustrac/translations/dustrac-game_it.qm
share/icons/hicolor/64x64/apps/dustrac-editor.png
share/icons/hicolor/64x64/apps/dustrac-game.png
share/pixmaps/