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

(-)games/bubble-chains/Makefile (-42 / +40 lines)
Lines 3-63 Link Here
3
3
4
PORTNAME=	bubble-chains
4
PORTNAME=	bubble-chains
5
PORTVERSION=	0.1.1
5
PORTVERSION=	0.1.1
6
DISTVERSIONSUFFIX=	-src
6
PORTREVISION=	9
7
PORTREVISION=	8
8
CATEGORIES=	games
7
CATEGORIES=	games
9
MASTER_SITES=	http://bubble-chains.sintegrial.com/files/ \
10
		SF/nemysisfreebsdp/${CATEGORIES}/:icons
11
DISTFILES=	chains-${DISTVERSIONFULL}${EXTRACT_SUFX} \
12
		${PORTNAME}.png:icons
13
EXTRACT_ONLY=	${DISTFILES:N*\:icons:C/:.*//}
14
8
15
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	The aim is to remove all of the targets on each level
10
COMMENT=	2D arcade-puzzle game based on Qt/SDL
17
11
18
LICENSE=	GPLv2
12
LICENSE=	GPLv2
19
13
20
BROKEN=		unfetchable
14
BUILD_DEPENDS=	icotool:graphics/icoutils
21
DEPRECATED=	does not fetch
15
22
EXPIRATION_DATE=2016-04-23
16
USE_GITHUB=	yes
23
17
GH_ACCOUNT=	SanskritFritz
24
WRKSRC=		${WRKDIR}/chains-${DISTVERSION}-src
18
25
19
USES=		dos2unix qmake
26
USES=		7z dos2unix qmake
20
DOS2UNIX_GLOB=	*.cpp *.css *.dat *.h *.htm *.pro *.rc *.ui
27
DOS2UNIX_GLOB=	*.pro *.cpp  *.h *.ui *.ui *.rc *.htm *.dat *.css
21
QMAKE_SOURCE_PATH=	${WRKSRC}/Game.pro
28
USE_SDL=	sdl image mixer
22
USE_GL=		gl
29
USE_GL=		glut glew glu
23
USE_QT4=	corelib network opengl svg xml \
24
		moc_build rcc_build uic_build \
25
		iconengines_run imageformats_run
26
USE_SDL=	mixer sdl
30
USE_XORG=	xrandr
27
USE_XORG=	xrandr
31
USE_QT4=	moc_build rcc_build uic_build iconengines_run imageformats_run \
32
		corelib svg xml opengl network
33
LDFLAGS+=	-L${LOCALBASE}/lib -lX11 -lSDL
34
28
35
PORTDOCS=	README
36
OPTIONS_DEFINE=	DOCS
29
OPTIONS_DEFINE=	DOCS
37
30
38
DESKTOP_ENTRIES="Bubble Chains" "" "${PORTNAME}" \
31
DESKTOP_ENTRIES="Bubble Chains" "" "bubble-chains" "bubble-chains" \
39
		"${PORTNAME}" "Game;ArcadeGame;" ""
32
		"Game;ArcadeGame;Qt;" ""
40
33
41
post-patch:
34
post-patch:
42
	@${REINPLACE_CMD} -e 's|/usr/local/games/chains|${DATADIR}|' \
35
	@${REINPLACE_CMD} -e \
43
		${WRKSRC}/main.cpp ${WRKSRC}/Game.pro
36
		's|bin/chains|bin/bubble-chains| ; \
44
37
		 s|/usr/bin|${PREFIX}/bin| ; \
45
post-configure:
38
		 s|/usr/share/chains|${DATADIR}|' \
46
	@${REINPLACE_CMD} -e 's|CFLAGS        =|CFLAGS        ?=|; \
39
		${WRKSRC}/Game.pro
47
		s|CXXFLAGS      =|CXXFLAGS     ?=|' \
40
	@${REINPLACE_CMD} -e \
48
		${WRKSRC}/Makefile
41
		's|/usr/share/chains|${DATADIR}|' \
49
42
		${WRKSRC}/main.cpp
50
do-install:
43
51
	${INSTALL_PROGRAM} ${WRKSRC}/bin/chains \
44
post-build:
52
		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
45
.for i in 16 32 48
53
	@(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR})
46
	@${MKDIR} ${WRKDIR}/icons/hicolor/${i}x${i}/apps
54
47
	${LOCALBASE}/bin/icotool -x -b 32 -w ${i} \
55
	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
48
		-o ${WRKDIR}/icons/hicolor/${i}x${i}/apps/bubble-chains.png \
56
		${STAGEDIR}${PREFIX}/share/pixmaps/
49
		${WRKSRC}/icon.ico
57
	${INSTALL_DATA} ${WRKSRC}/icon.ico \
50
.endfor
58
		${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.ico
51
52
post-install:
53
	@(cd ${WRKDIR} && ${COPYTREE_SHARE} icons \
54
		${STAGEDIR}${PREFIX}/share)
59
55
56
post-install-DOCS-on:
60
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
57
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
61
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
58
	(cd ${WRKSRC} && ${INSTALL_DATA} README \
59
		${STAGEDIR}${DOCSDIR})
62
60
63
.include <bsd.port.mk>
61
.include <bsd.port.mk>
(-)games/bubble-chains/distinfo (-4 / +2 lines)
Lines 1-4 Link Here
1
SHA256 (chains-0.1.1-src.7z) = c1c487c51e8cba1640a49497debe5962f692e17df1272994c5dfaee9d6eb304f
1
SHA256 (SanskritFritz-bubble-chains-0.1.1_GH0.tar.gz) = a84a28094d891029c0dbfabaa40fed14dbe15907c79e2b1131f058348ac2eeff
2
SIZE (chains-0.1.1-src.7z) = 3282431
2
SIZE (SanskritFritz-bubble-chains-0.1.1_GH0.tar.gz) = 4033960
3
SHA256 (bubble-chains.png) = 7976b8b0dd6b37abcfeb4743580ba570faffe53f862547c37cd2f3e21682f8f4
4
SIZE (bubble-chains.png) = 4918
(-)games/bubble-chains/pkg-descr (-4 / +4 lines)
Lines 1-6 Link Here
1
The aim of Bubble Chains is to remove all of the targets on each level,
1
The aim of Bubble Chains is to remove all of the targets on each level,
2
and to do this before the time
2
and to do this before the time (indicated with the blue-colored bar at
3
(indicated with the blue-colored bar at the right) runs out.
3
the right) runs out. Keep doing this until you have passed the last
4
Keep doing this until you have passed the last level and won the game. 
4
level and won the game. 
5
5
6
WWW: http://bubble-chains.sintegrial.com/
6
WWW: https://github.com/SanskritFritz/bubble-chains
(-)games/bubble-chains/pkg-plist (-2 / +4 lines)
Lines 67-71 Link Here
67
%%DATADIR%%/data/tools/random.png
67
%%DATADIR%%/data/tools/random.png
68
%%DATADIR%%/data/tools/star.png
68
%%DATADIR%%/data/tools/star.png
69
%%DATADIR%%/data/tools/twins.png
69
%%DATADIR%%/data/tools/twins.png
70
share/pixmaps/bubble-chains.ico
70
%%PORTDOCS%%%%DOCSDIR%%/README
71
share/pixmaps/bubble-chains.png
71
share/icons/hicolor/16x16/apps/bubble-chains.png
72
share/icons/hicolor/32x32/apps/bubble-chains.png
73
share/icons/hicolor/48x48/apps/bubble-chains.png

Return to bug 208707