View | Details | Raw Unified | Return to bug 98822
Collapse All | Expand All

(-)games/glchess/Makefile (-11 / +20 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	glchess
8
PORTNAME=	glchess
9
PORTVERSION=	0.9.0
9
PORTVERSION=	0.9.3
10
CATEGORIES=	games
10
CATEGORIES=	games
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 20-44 Link Here
20
USE_PYTHON=	yes
20
USE_PYTHON=	yes
21
NO_BUILD=	yes
21
NO_BUILD=	yes
22
22
23
PORTDOCS=	ChangeLog README TODO
24
25
post-patch:
23
post-patch:
26
.for file in glchess ui/gtkui/gtkui.py
24
.for file in src/scene/builtin_models.py src/scene/new_models.py \
25
	src/scene/opengl.py src/ui/gtkui/dialogs.py src/ui/gtkui/gtkui.py
27
	@${REINPLACE_CMD} -e \
26
	@${REINPLACE_CMD} -e \
28
		's|^python |${PYTHON_CMD} |g ; \
27
		's|/usr/share/games/glchess|${DATADIR}|g' ${WRKSRC}/${file}
29
		 s|/usr/share/games/glchess|${DATADIR}|g' ${WRKSRC}/${file}
30
.endfor
28
.endfor
31
29
30
do-configure:
31
	@${ECHO_CMD} -n > ${WRKSRC}/glchess
32
	@${ECHO_CMD} '#!/bin/sh' >> ${WRKSRC}/glchess
33
	@${ECHO_CMD} 'exec ${PYTHON_CMD} ${DATADIR}/glchess.py' >> ${WRKSRC}/glchess
34
32
do-install:
35
do-install:
33
	${INSTALL_SCRIPT} ${WRKSRC}/glchess ${PREFIX}/bin
36
	${INSTALL_SCRIPT} ${WRKSRC}/glchess ${PREFIX}/bin
34
	@${MKDIR} ${DATADIR}
37
	@${MKDIR} ${DATADIR}
35
	${INSTALL_DATA} ${WRKSRC}/*.py ${DATADIR}
38
	${INSTALL_DATA} ${WRKSRC}/src/*.py ${DATADIR}
36
	@${MKDIR} ${DATADIR}/gui
39
	@${MKDIR} ${DATADIR}/chess
37
	${INSTALL_DATA} ${WRKSRC}/ui/gtkui/*.glade ${DATADIR}/gui
40
	${INSTALL_DATA} ${WRKSRC}/src/chess/*.py ${DATADIR}/chess
41
	@${MKDIR} ${DATADIR}/scene
42
	${INSTALL_DATA} ${WRKSRC}/src/scene/*.py ${DATADIR}/scene
38
	@${MKDIR} ${DATADIR}/ui
43
	@${MKDIR} ${DATADIR}/ui
39
	${INSTALL_DATA} ${WRKSRC}/ui/*.py ${DATADIR}/ui
44
	${INSTALL_DATA} ${WRKSRC}/src/ui/*.py ${DATADIR}/ui
40
	@${MKDIR} ${DATADIR}/ui/gtkui
45
	@${MKDIR} ${DATADIR}/ui/gtkui
41
	${INSTALL_DATA} ${WRKSRC}/ui/gtkui/*.py ${DATADIR}/ui/gtkui
46
	${INSTALL_DATA} ${WRKSRC}/src/ui/gtkui/*.py ${DATADIR}/ui/gtkui
47
	@${MKDIR} ${DATADIR}/gui
48
	${INSTALL_DATA} ${WRKSRC}/src/ui/gtkui/*.glade ${DATADIR}/gui
49
	@${MKDIR} ${DATADIR}/textures
50
	${INSTALL_DATA} ${WRKSRC}/textures/*.* ${DATADIR}/textures
42
.if !defined(NOPORTDOCS)
51
.if !defined(NOPORTDOCS)
43
	@${MKDIR} ${DOCSDIR}
52
	@${MKDIR} ${DOCSDIR}
44
.for file in ChangeLog README TODO
53
.for file in ChangeLog README TODO
(-)games/glchess/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (glchess-0.9.0.tar.gz) = d665b86fb7ea3462e2130eb2d0e3d313
1
MD5 (glchess-0.9.3.tar.gz) = c46d0cac759a7a333802f0e01e2afdc7
2
SHA256 (glchess-0.9.0.tar.gz) = 2f48530cd1f42391cf03edfc8af9415db5a44de54ca093fe606617d79fbf0e6b
2
SHA256 (glchess-0.9.3.tar.gz) = ced92039b5e35d66cfc971681ee4d13a57c5eda73bfd25d8a429382f8157e7a1
3
SIZE (glchess-0.9.0.tar.gz) = 74712
3
SIZE (glchess-0.9.3.tar.gz) = 167871
(-)games/glchess/pkg-plist (-7 / +25 lines)
Lines 1-13 Link Here
1
bin/glchess
1
bin/glchess
2
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
3
%%PORTDOCS%%%%DOCSDIR%%/README
4
%%PORTDOCS%%%%DOCSDIR%%/TODO
2
%%DATADIR%%/ai.py
5
%%DATADIR%%/ai.py
3
%%DATADIR%%/builtin_models.py
4
%%DATADIR%%/cecp.py
6
%%DATADIR%%/cecp.py
5
%%DATADIR%%/chess_board.py
7
%%DATADIR%%/chess/__init__.py
8
%%DATADIR%%/chess/board.py
9
%%DATADIR%%/chess/pgn.py
10
%%DATADIR%%/chess/san.py
6
%%DATADIR%%/game.py
11
%%DATADIR%%/game.py
7
%%DATADIR%%/glchess.py
12
%%DATADIR%%/glchess.py
8
%%DATADIR%%/pgn.py
9
%%DATADIR%%/san.py
10
%%DATADIR%%/scene.py
11
%%DATADIR%%/gui/chess_view.glade
13
%%DATADIR%%/gui/chess_view.glade
12
%%DATADIR%%/gui/error_dialog.glade
14
%%DATADIR%%/gui/error_dialog.glade
13
%%DATADIR%%/gui/glchess.glade
15
%%DATADIR%%/gui/glchess.glade
Lines 17-27 Link Here
17
%%DATADIR%%/gui/new_game_simple.glade
19
%%DATADIR%%/gui/new_game_simple.glade
18
%%DATADIR%%/gui/save_game.glade
20
%%DATADIR%%/gui/save_game.glade
19
%%DATADIR%%/gui/splashscreen.glade
21
%%DATADIR%%/gui/splashscreen.glade
22
%%DATADIR%%/scene/__init__.py
23
%%DATADIR%%/scene/builtin_models.py
24
%%DATADIR%%/scene/new_models.py
25
%%DATADIR%%/scene/opengl.py
26
%%DATADIR%%/scene/scene.py
27
%%DATADIR%%/scene/texture.py
28
%%DATADIR%%/textures/black_board_texture.jpg
29
%%DATADIR%%/textures/black_piece_texture.jpg
30
%%DATADIR%%/textures/white_board_texture.jpg
31
%%DATADIR%%/textures/white_piece_texture.jpg
32
%%DATADIR%%/textures/wood_43.jpg
20
%%DATADIR%%/ui/__init__.py
33
%%DATADIR%%/ui/__init__.py
21
%%DATADIR%%/ui/ui.py
22
%%DATADIR%%/ui/gtkui/gtkui.py
23
%%DATADIR%%/ui/gtkui/__init__.py
34
%%DATADIR%%/ui/gtkui/__init__.py
35
%%DATADIR%%/ui/gtkui/dialogs.py
36
%%DATADIR%%/ui/gtkui/gtkui.py
37
%%DATADIR%%/ui/ui.py
24
@dirrm %%DATADIR%%/ui/gtkui
38
@dirrm %%DATADIR%%/ui/gtkui
25
@dirrm %%DATADIR%%/ui
39
@dirrm %%DATADIR%%/ui
40
@dirrm %%DATADIR%%/textures
41
@dirrm %%DATADIR%%/scene
26
@dirrm %%DATADIR%%/gui
42
@dirrm %%DATADIR%%/gui
43
@dirrm %%DATADIR%%/chess
27
@dirrm %%DATADIR%%
44
@dirrm %%DATADIR%%
45
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 98822