Install .desktop/.xpm files, ok/tweak ajacoutot@, maintainer can't test
for now but is happy with aja's OK.
This commit is contained in:
parent
27acdce777
commit
d3f7aec07c
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.13 2010/11/22 10:16:08 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.14 2011/08/26 09:14:11 sthen Exp $
|
||||
|
||||
COMMENT= OpenGL game based on SNES classic Tetris Attack
|
||||
|
||||
DISTNAME= crack-attack-1.1.14
|
||||
REVISION= 7
|
||||
CATEGORIES= games
|
||||
|
||||
MAINTAINER= Mattieu Baptiste <mattieu.b@free.fr>
|
||||
@ -15,7 +16,6 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
REVISION = 6
|
||||
WANTLIB = GL GLU ICE SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
|
||||
Xi Xinerama Xmu Xrandr Xrender atk-1.0 c cairo expat fontconfig \
|
||||
freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 glut>=4 \
|
||||
@ -27,13 +27,18 @@ MASTER_SITES= ${MASTER_SITE_SAVANNAH:=crack-attack/}
|
||||
|
||||
MODULES= devel/gettext
|
||||
|
||||
RUN_DEPENDS= devel/desktop-file-utils
|
||||
LIB_DEPENDS= x11/gtk+2 \
|
||||
graphics/freeglut
|
||||
|
||||
USE_GROFF = Yes
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/applications ${PREFIX}/share/pixmaps
|
||||
cd ${WRKSRC}/data; \
|
||||
${INSTALL_DATA} crack-attack.desktop ${PREFIX}/share/applications; \
|
||||
${INSTALL_DATA} crack-attack.xpm ${PREFIX}/share/pixmaps
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
10
games/crack-attack/patches/patch-data_crack-attack_desktop
Normal file
10
games/crack-attack/patches/patch-data_crack-attack_desktop
Normal file
@ -0,0 +1,10 @@
|
||||
$OpenBSD: patch-data_crack-attack_desktop,v 1.1 2011/08/26 09:14:11 sthen Exp $
|
||||
--- data/crack-attack.desktop.orig Thu Aug 25 14:44:38 2011
|
||||
+++ data/crack-attack.desktop Thu Aug 25 14:44:42 2011
|
||||
@@ -5,5 +5,5 @@ Exec=crack-attack
|
||||
Icon=crack-attack.xpm
|
||||
Terminal=false
|
||||
Type=Application
|
||||
-Categories=Application;Games;
|
||||
+Categories=Application;Game;
|
||||
StartupNotify=false
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-src_Attack_cxx,v 1.1 2009/04/09 13:01:53 jasper Exp $
|
||||
--- src/Attack.cxx.orig Sun Nov 9 18:45:06 2008
|
||||
+++ src/Attack.cxx Sun Nov 9 18:45:58 2008
|
||||
$OpenBSD: patch-src_Attack_cxx,v 1.2 2011/08/26 09:14:11 sthen Exp $
|
||||
--- src/Attack.cxx.orig Fri May 13 20:00:02 2005
|
||||
+++ src/Attack.cxx Thu Aug 25 14:44:25 2011
|
||||
@@ -83,6 +83,7 @@ int main ( int argc, char **argv )
|
||||
int height = -1, width = -1;
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/10/19 19:31:33 ajacoutot Exp $
|
||||
bin/crack-attack
|
||||
@comment $OpenBSD: PLIST,v 1.2 2011/08/26 09:14:11 sthen Exp $
|
||||
@bin bin/crack-attack
|
||||
@man man/man6/crack-attack.6
|
||||
share/applications/crack-attack.desktop
|
||||
share/crack-attack/
|
||||
share/crack-attack/clock_0.tga
|
||||
share/crack-attack/clock_1.tga
|
||||
@ -155,3 +156,7 @@ share/crack-attack/sign_x6.tga
|
||||
share/crack-attack/sign_x7.tga
|
||||
share/crack-attack/sign_x8.tga
|
||||
share/crack-attack/sign_x9.tga
|
||||
share/pixmaps/
|
||||
share/pixmaps/crack-attack.xpm
|
||||
@exec %D/bin/update-desktop-database
|
||||
@unexec-delete %D/bin/update-desktop-database
|
||||
|
Loading…
Reference in New Issue
Block a user