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

(-)./Makefile (-4 / +30 lines)
Lines 3-13 Link Here
3
3
4
PORTNAME=	holotz-castle
4
PORTNAME=	holotz-castle
5
PORTVERSION=	1.3.14
5
PORTVERSION=	1.3.14
6
PORTREVISION=	1
6
CATEGORIES=	games
7
CATEGORIES=	games
7
MASTER_SITES=	http://www.mainreactor.net/holotzcastle/download/ \
8
MASTER_SITES=	SF/nemysisfreebsdp/holotz-castle/
8
		SF/nemysisfreebsdp/:icons
9
DISTFILES=	${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX} \
9
DISTFILES=	${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX} \
10
		${PORTNAME}_icons${EXTRACT_SUFX}:icons
10
		${PORTNAME}_icons${EXTRACT_SUFX}
11
EXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX} \
12
		${PORTNAME}_icons${EXTRACT_SUFX}
11
13
12
MAINTAINER=	nemysis@gmx.ch
14
MAINTAINER=	nemysis@gmx.ch
13
COMMENT=	Platform game with high doses of mystery
15
COMMENT=	Platform game with high doses of mystery
Lines 28-38 Link Here
28
INSTALLS_ICONS=	yes
30
INSTALLS_ICONS=	yes
29
ICON_SIZES=	32x32 48x48 64x64 72x72 96x96 128x128
31
ICON_SIZES=	32x32 48x48 64x64 72x72 96x96 128x128
30
32
31
SUB_FILES=	pkg-message
33
SUB_FILES=	pkg-message ${PORTNAME}-solutions
32
34
33
DESKTOP_ENTRIES="Holotz's Castle" "${COMMENT}" ${PORTNAME} \
35
DESKTOP_ENTRIES="Holotz's Castle" "${COMMENT}" ${PORTNAME} \
34
		"${PORTNAME}" "Game;LogicGame;" false
36
		"${PORTNAME}" "Game;LogicGame;" false
35
37
38
DESKTOP_ENTRIES="Holotz's Castle Solutions" "${COMMENT}" ${PORTNAME} \
39
		"xterm -e ${PORTNAME}-solutions" "Game;LogicGame;" false
40
41
OPTIONS_DEFINE=	SOLUTIONS
42
OPTIONS_DEFAULT=SOLUTIONS
43
SOLUTIONS_DESC=	Solutions for Holotz's Castle
44
45
.include <bsd.port.options.mk>
46
47
.if ${PORT_OPTIONS:MSOLUTIONS}
48
DISTFILES+=	${PORTNAME}_solutions${EXTRACT_SUFX}
49
EXTRACT_ONLY+=	${PORTNAME}_solutions${EXTRACT_SUFX}
50
RUN_DEPENDS=	mplayer:${PORTSDIR}/multimedia/mplayer \
51
		xterm:${PORTSDIR}/x11/xterm
52
PLIST_SUB+=	SOLUTIONS=""
53
.else
54
PLIST_SUB+=	SOLUTIONS="@comment "
55
.endif
56
36
post-install:
57
post-install:
37
.for s in ${ICON_SIZES}
58
.for s in ${ICON_SIZES}
38
	${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps
59
	${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps
Lines 42-49 Link Here
42
	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps
63
	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps
43
	(cd ${WRKSRC}/man && ${INSTALL_MAN} ${MAN6} ${MAN6PREFIX}/man/man6)
64
	(cd ${WRKSRC}/man && ${INSTALL_MAN} ${MAN6} ${MAN6PREFIX}/man/man6)
44
65
66
.if ${PORT_OPTIONS:MSOLUTIONS}
67
	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-solutions ${PREFIX}/bin
68
	@${MKDIR} ${DATADIR}/solutions
69
	@(cd ${WRKDIR} ; ${INSTALL_DATA} *.avi ${DATADIR}/solutions)
45
	@${ECHO_CMD}
70
	@${ECHO_CMD}
46
	@${CAT} ${PKGMESSAGE}
71
	@${CAT} ${PKGMESSAGE}
47
	@${ECHO_CMD}
72
	@${ECHO_CMD}
73
.endif
48
74
49
.include <bsd.port.mk>
75
.include <bsd.port.mk>
(-)./distinfo (+2 lines)
Lines 2-4 Link Here
2
SIZE (holotz-castle-1.3.14-src.tar.gz) = 3691364
2
SIZE (holotz-castle-1.3.14-src.tar.gz) = 3691364
3
SHA256 (holotz-castle_icons.tar.gz) = 5ca3aee3d7abddbb8baff9961460497c0a2ec8418570c755f2df581f5605960b
3
SHA256 (holotz-castle_icons.tar.gz) = 5ca3aee3d7abddbb8baff9961460497c0a2ec8418570c755f2df581f5605960b
4
SIZE (holotz-castle_icons.tar.gz) = 35328
4
SIZE (holotz-castle_icons.tar.gz) = 35328
5
SHA256 (holotz-castle_solutions.tar.gz) = c4fd9c02c82fde1d0c63c94495ce2b47142ab2741b81742527a02c76edc70cc4
6
SIZE (holotz-castle_solutions.tar.gz) = 129568789
(-)./files/holotz-castle-solutions.in (+16 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD$
4
#
5
6
echo ""
7
echo -n  "Which Solution for Holotz's Castle would You see?"
8
cd %%DATADIR%%/solutions
9
echo ""
10
echo ""
11
ls
12
echo ""
13
read SOLUTIONS
14
15
mplayer "%%DATADIR%%/solutions/$SOLUTIONS"
16
(-)./files/pkg-message.in (-2 / +2 lines)
Lines 2-9 Link Here
2
2
3
Holotz's Castle has been installed.
3
Holotz's Castle has been installed.
4
4
5
You can download the solutions to some Levels from here
5
You can look some Solutions for Holotz's Castle with
6
6
7
http://www.mainreactor.net/holotzcastle/en/holotzcastle_en.html#SOLUTIONS
7
     %%PREFIX%%/bin/holotz-castle-solutions
8
8
9
===============================================================================
9
===============================================================================
(-)./pkg-descr (-1 / +1 lines)
Lines 6-9 Link Here
6
6
7
Test your dexterity with this tremendously exciting platform game!
7
Test your dexterity with this tremendously exciting platform game!
8
8
9
WWW: http://www.mainreactor.net/holotzcastle/en/index_en.html
9
WWW: http://web.archive.org/web/20130606213511/http://mainreactor.net/
(-)./pkg-plist (+24 lines)
Lines 1-5 Link Here
1
bin/holotz-castle
1
bin/holotz-castle
2
bin/holotz-castle-editor
2
bin/holotz-castle-editor
3
%%SOLUTIONS%%bin/holotz-castle-solutions
3
%%DATADIR%%/editor/EnemyMenu/0.tga
4
%%DATADIR%%/editor/EnemyMenu/0.tga
4
%%DATADIR%%/editor/EnemyMenu/0_hi.tga
5
%%DATADIR%%/editor/EnemyMenu/0_hi.tga
5
%%DATADIR%%/editor/EnemyMenu/1.tga
6
%%DATADIR%%/editor/EnemyMenu/1.tga
Lines 1324-1329 Link Here
1324
%%DATADIR%%/game/theme/dungeons/rope/2/edge.tga
1325
%%DATADIR%%/game/theme/dungeons/rope/2/edge.tga
1325
%%DATADIR%%/game/theme/dungeons/rope/2/middle.tga
1326
%%DATADIR%%/game/theme/dungeons/rope/2/middle.tga
1326
%%DATADIR%%/game/theme/dungeons/rope/2/top.tga
1327
%%DATADIR%%/game/theme/dungeons/rope/2/top.tga
1328
%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_03.avi
1329
%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_04.avi
1330
%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_05.avi
1331
%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_06.avi
1332
%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_08.avi
1333
%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_09.avi
1334
%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_10.avi
1335
%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_11.avi
1336
%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_12.avi
1337
%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_13.avi
1338
%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_15.avi
1339
%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_17.avi
1340
%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_18.avi
1341
%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_21.avi
1342
%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_22.avi
1343
%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_23.avi
1344
%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_24.avi
1345
%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_26.avi
1346
%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_27.avi
1347
%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_28.avi
1348
%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_29.avi
1349
%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_31.avi
1327
share/icons/hicolor/128x128/apps/holotz-castle.png
1350
share/icons/hicolor/128x128/apps/holotz-castle.png
1328
share/icons/hicolor/32x32/apps/holotz-castle.png
1351
share/icons/hicolor/32x32/apps/holotz-castle.png
1329
share/icons/hicolor/48x48/apps/holotz-castle.png
1352
share/icons/hicolor/48x48/apps/holotz-castle.png
Lines 1331-1336 Link Here
1331
share/icons/hicolor/72x72/apps/holotz-castle.png
1354
share/icons/hicolor/72x72/apps/holotz-castle.png
1332
share/icons/hicolor/96x96/apps/holotz-castle.png
1355
share/icons/hicolor/96x96/apps/holotz-castle.png
1333
share/pixmaps/holotz-castle.png
1356
share/pixmaps/holotz-castle.png
1357
%%SOLUTIONS%%@dirrm %%DATADIR%%/solutions
1334
@dirrm %%DATADIR%%/game/theme/dungeons/rope/2
1358
@dirrm %%DATADIR%%/game/theme/dungeons/rope/2
1335
@dirrm %%DATADIR%%/game/theme/dungeons/rope/1
1359
@dirrm %%DATADIR%%/game/theme/dungeons/rope/1
1336
@dirrm %%DATADIR%%/game/theme/dungeons/rope
1360
@dirrm %%DATADIR%%/game/theme/dungeons/rope

Return to bug 179671