diff --git a/games/extremetuxracer/Makefile b/games/extremetuxracer/Makefile index b84e0493a41..d6e4c2c3415 100644 --- a/games/extremetuxracer/Makefile +++ b/games/extremetuxracer/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.2 2011/09/01 12:26:29 sthen Exp $ +# $OpenBSD: Makefile,v 1.3 2011/09/01 14:34:22 sthen Exp $ COMMENT = downhill racing game DISTNAME = extremetuxracer-0.4 -REVISION = 0 +REVISION = 1 CATEGORIES = games @@ -24,6 +24,7 @@ WANTLIB += m png pthread stdc++ z ${MODTCL_WANTLIB} MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=extremetuxracer/} MODULES = lang/tcl +BUILD_DEPENDS = archivers/unzip RUN_DEPENDS = devel/desktop-file-utils LIB_DEPENDS = devel/sdl-mixer \ graphics/png \ @@ -37,9 +38,12 @@ CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib" \ NO_REGRESS = Yes +post-build: + cd ${WRKSRC}; unzip etracericons.zip + post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps ${PREFIX}/share/applications - ${INSTALL_DATA} ${WRKSRC}/etracericon.svg ${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${WRKSRC}/etracericons/etracericon_48.png ${PREFIX}/share/pixmaps ${INSTALL_DATA} ${FILESDIR}/etracer.desktop ${PREFIX}/share/applications .include diff --git a/games/extremetuxracer/files/etracer.desktop b/games/extremetuxracer/files/etracer.desktop index 5a6efbd58c0..de83510e83e 100644 --- a/games/extremetuxracer/files/etracer.desktop +++ b/games/extremetuxracer/files/etracer.desktop @@ -2,7 +2,7 @@ Encoding=UTF-8 Name=Extreme Tux Racer Exec=etracer -Icon=etracericon.svg +Icon=etracericon_48.png Terminal=false Type=Application Categories=Application;Game; diff --git a/games/extremetuxracer/pkg/PLIST b/games/extremetuxracer/pkg/PLIST index ae290ea8d4f..a5ab44fd4ad 100644 --- a/games/extremetuxracer/pkg/PLIST +++ b/games/extremetuxracer/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.2 2011/09/01 12:26:29 sthen Exp $ +@comment $OpenBSD: PLIST,v 1.3 2011/09/01 14:34:22 sthen Exp $ @bin bin/etracer share/applications/etracer.desktop share/etracer/ @@ -472,6 +472,6 @@ share/etracer/tux.tcl share/etracer/tux_snowboard.tcl share/etracer/tux_walk.tcl share/pixmaps/ -share/pixmaps/etracericon.svg +share/pixmaps/etracericon_48.png @exec %D/bin/update-desktop-database @unexec-delete %D/bin/update-desktop-database