ruin jasper's productivity by adding .desktop files to find etuxracer easily;
ok jasper@ Pascal Stumpf (maintainer).
This commit is contained in:
parent
24c177d1b3
commit
00283d17b3
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2011/08/31 19:46:37 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2011/09/01 12:26:29 sthen Exp $
|
||||
|
||||
COMMENT = downhill racing game
|
||||
|
||||
DISTNAME = extremetuxracer-0.4
|
||||
REVISION = 0
|
||||
|
||||
CATEGORIES = games
|
||||
|
||||
@ -23,6 +24,7 @@ WANTLIB += m png pthread stdc++ z ${MODTCL_WANTLIB}
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=extremetuxracer/}
|
||||
|
||||
MODULES = lang/tcl
|
||||
RUN_DEPENDS = devel/desktop-file-utils
|
||||
LIB_DEPENDS = devel/sdl-mixer \
|
||||
graphics/png \
|
||||
${MODTCL_LIB_DEPENDS}
|
||||
@ -35,4 +37,9 @@ CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib" \
|
||||
|
||||
NO_REGRESS = Yes
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps ${PREFIX}/share/applications
|
||||
${INSTALL_DATA} ${WRKSRC}/etracericon.svg ${PREFIX}/share/pixmaps
|
||||
${INSTALL_DATA} ${FILESDIR}/etracer.desktop ${PREFIX}/share/applications
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
9
games/extremetuxracer/files/etracer.desktop
Normal file
9
games/extremetuxracer/files/etracer.desktop
Normal file
@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=Extreme Tux Racer
|
||||
Exec=etracer
|
||||
Icon=etracericon.svg
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Application;Game;
|
||||
StartupNotify=false
|
@ -1,5 +1,6 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/08/31 19:46:37 jasper Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2011/09/01 12:26:29 sthen Exp $
|
||||
@bin bin/etracer
|
||||
share/applications/etracer.desktop
|
||||
share/etracer/
|
||||
share/etracer/courses/
|
||||
share/etracer/courses/contrib/
|
||||
@ -470,3 +471,7 @@ share/etracer/translations/sv_SE.tcl
|
||||
share/etracer/tux.tcl
|
||||
share/etracer/tux_snowboard.tcl
|
||||
share/etracer/tux_walk.tcl
|
||||
share/pixmaps/
|
||||
share/pixmaps/etracericon.svg
|
||||
@exec %D/bin/update-desktop-database
|
||||
@unexec-delete %D/bin/update-desktop-database
|
||||
|
Loading…
Reference in New Issue
Block a user