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

(-)/usr/ports/games/trophy/Makefile (-33 / +15 lines)
Lines 7-14 Link Here
7
#
7
#
8
8
9
PORTNAME=	trophy
9
PORTNAME=	trophy
10
PORTVERSION=	1.1.4
10
PORTVERSION=	1.1.5
11
PORTREVISION=	1
12
CATEGORIES=	games
11
CATEGORIES=	games
13
MASTER_SITES=	SF
12
MASTER_SITES=	SF
14
13
Lines 17-54 Link Here
17
16
18
LIB_DEPENDS=	clanCore-0.8:${PORTSDIR}/devel/clanlib
17
LIB_DEPENDS=	clanCore-0.8:${PORTSDIR}/devel/clanlib
19
18
20
USE_GMAKE=	yes
19
HAS_CONFIGURE=	yes
21
MAKEFILE=	Makefile.in
20
PORTDOCS=	AUTHORS COPYING ChangeLog README TODO
22
BUILD_WRKSRC=	${WRKSRC}/trophy
21
23
CXXFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
22
CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" \
24
23
		LIBS="-L${LOCALBASE}/lib"
25
post-patch:
24
CONFIGURE_ARGS=	--prefix="${PREFIX}" --exec-prefix="${PREFIX}"
26
	@${REINPLACE_CMD} -e 's/std::sqrt/sqrt/' ${BUILD_WRKSRC}/caimagemanipulation.cpp \
25
27
		${BUILD_WRKSRC}/catrophy.cpp ${BUILD_WRKSRC}/camath.cpp
26
DESKTOP_ENTRIES="Trophy" "${COMMENT}" "" "trophy" "Application;Game;" false
28
	@${REINPLACE_CMD} -e 's|resources.xml|${DATADIR}/resources.xml|' \
27
29
		${BUILD_WRKSRC}/caresources.cpp
28
post-install:
30
	@${REINPLACE_CMD} -e 's|@prefix@|${PREFIX}|; \
31
		s|@exec_prefix@|$${PREFIX}/bin|; \
32
		s|@datadir@|${DATADIR}|; \
33
		s|@bindir@|$${PREFIX}/bin|; \
34
		s|EXTERN_LIBS =|EXTERN_LIBS = ${PTHREAD_LIBS}|;' \
35
		${BUILD_WRKSRC}/Makefile.in
36
37
do-install:
38
	${MKDIR} ${PREFIX}/bin
39
	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/trophy ${PREFIX}/bin
40
	${MKDIR} ${DATADIR}
41
	${INSTALL_DATA} ${BUILD_WRKSRC}/resources.xml ${DATADIR}
42
	${CP} -R ${BUILD_WRKSRC}/resources ${DATADIR}
43
.if !defined(NOPORTDOCS)
29
.if !defined(NOPORTDOCS)
44
	${MKDIR} ${DOCSDIR}
30
	@${MKDIR} ${DOCSDIR}
45
	${INSTALL_DATA} \
31
.for doc in ${PORTDOCS}
46
		${WRKSRC}/AUTHORS \
32
	@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
47
		${WRKSRC}/COPYING \
33
.endfor
48
		${WRKSRC}/ChangeLog \
49
		${WRKSRC}/README \
50
		${WRKSRC}/TODO \
51
		${DOCSDIR}
52
.endif
34
.endif
53
35
54
.include <bsd.port.mk>
36
.include <bsd.port.mk>
(-)/usr/ports/games/trophy/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (trophy-1.1.4.tar.gz) = 5a2a50f2a6f64317f9c7a889fae74e05
1
MD5 (trophy-1.1.5.tar.gz) = bf62269cacf794e087ac88f0e39f54c1
2
SHA256 (trophy-1.1.4.tar.gz) = 7c5ff8d59f31ec27b96e1759a4f9666be7802f134d258b213b5dc2a3983959d4
2
SHA256 (trophy-1.1.5.tar.gz) = bf654a28027c62b36b39c3a23d2d7396b4afa7edbc1377595a99a18a30c26bfe
3
SIZE (trophy-1.1.4.tar.gz) = 9850758
3
SIZE (trophy-1.1.5.tar.gz) = 14402714
(-)/usr/ports/games/trophy/files/patch-trophy__Makefile.in (-11 lines)
Lines 1-11 Link Here
1
--- trophy/Makefile.in.orig	Wed Sep 19 14:30:23 2007
2
+++ trophy/Makefile.in	Wed Sep 19 14:31:48 2007
3
@@ -56,7 +56,7 @@
4
 	$(CXX) $(EXTERN_LIBS) -o trophy $(OBJF)
5
 
6
 %.o : %.cpp
7
-	$(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(HEADERS) -O0 -g -Wall -DPKGDATADIR=\"$(datadir)/trophy\" $< -o $@
8
+	$(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(PTHREAD_CFLAGS) $(HEADERS) -O0 -g -Wall -DPKGDATADIR=\"$(datadir)/trophy\" $< -o $@
9
 
10
 doc :
11
 	@echo "Building documentation"
(-)/usr/ports/games/trophy/pkg-plist (-137 / +136 lines)
Lines 1-139 Link Here
1
bin/trophy
1
bin/trophy
2
%%DATADIR%%/cars/dust.tga
3
%%DATADIR%%/cars/flash2/surface.tga
4
%%DATADIR%%/cars/flash2/surface3d.tga
5
%%DATADIR%%/cars/jeep/surface.tga
6
%%DATADIR%%/cars/jeep/surface3d.tga
7
%%DATADIR%%/cars/vw/surface.tga
8
%%DATADIR%%/cars/vw/surface3d.tga
9
%%DATADIR%%/cars/z3/surface.tga
10
%%DATADIR%%/cars/z3/surface3d.tga
11
%%DATADIR%%/fonts/lcd_13_green.tga
12
%%DATADIR%%/fonts/normal_11_white.tga
13
%%DATADIR%%/fonts/normal_14_white.tga
14
%%DATADIR%%/fonts/normal_22_gray.tga
15
%%DATADIR%%/fonts/normal_22_white.tga
16
%%DATADIR%%/fonts/normal_8_white.tga
17
%%DATADIR%%/goody/bullets.tga
18
%%DATADIR%%/goody/fogbomb.tga
19
%%DATADIR%%/goody/life.tga
20
%%DATADIR%%/goody/money.tga
21
%%DATADIR%%/goody/turbo.tga
22
%%DATADIR%%/gui/arrow_b.tga
23
%%DATADIR%%/gui/arrow_l.tga
24
%%DATADIR%%/gui/arrow_r.tga
25
%%DATADIR%%/gui/arrow_t.tga
26
%%DATADIR%%/gui/border1.tga
27
%%DATADIR%%/gui/border2.tga
28
%%DATADIR%%/gui/border3.tga
29
%%DATADIR%%/gui/border4.tga
30
%%DATADIR%%/gui/button.tga
31
%%DATADIR%%/gui/edge1.tga
32
%%DATADIR%%/gui/edge2.tga
33
%%DATADIR%%/gui/edge3.tga
34
%%DATADIR%%/gui/edge4.tga
35
%%DATADIR%%/gui/loading.tga
36
%%DATADIR%%/gui/progressbar.tga
37
%%DATADIR%%/menu/bar.tga
38
%%DATADIR%%/menu/bg.tga
39
%%DATADIR%%/menu/cursorani.tga
40
%%DATADIR%%/misc/carfire.tga
41
%%DATADIR%%/misc/caution.tga
42
%%DATADIR%%/misc/checkflag.tga
43
%%DATADIR%%/misc/cross.tga
44
%%DATADIR%%/misc/dust.tga
45
%%DATADIR%%/misc/fog.tga
46
%%DATADIR%%/misc/gunfire.tga
47
%%DATADIR%%/misc/hitpoint.tga
48
%%DATADIR%%/misc/info.tga
49
%%DATADIR%%/misc/light.tga
50
%%DATADIR%%/misc/verticalbar.tga
51
%%DATADIR%%/panel/button.tga
52
%%DATADIR%%/panel/death.tga
53
%%DATADIR%%/panel/infoview.tga
54
%%DATADIR%%/panel/label.tga
55
%%DATADIR%%/panel/life.tga
56
%%DATADIR%%/panel/speed.tga
57
%%DATADIR%%/panel/turbo.tga
58
%%DATADIR%%/panel/turbolabel.tga
2
%%DATADIR%%/resources.xml
59
%%DATADIR%%/resources.xml
3
%%DATADIR%%/resources/cars/dust.tga
60
%%DATADIR%%/sounds/background01.wav
4
%%DATADIR%%/resources/cars/flash2/surface.tga
61
%%DATADIR%%/sounds/carhorn.wav
5
%%DATADIR%%/resources/cars/flash2/surface3d.tga
62
%%DATADIR%%/sounds/crash.wav
6
%%DATADIR%%/resources/cars/jeep/surface.tga
63
%%DATADIR%%/sounds/dog.wav
7
%%DATADIR%%/resources/cars/jeep/surface3d.tga
64
%%DATADIR%%/sounds/engine.wav
8
%%DATADIR%%/resources/cars/vw/surface.tga
65
%%DATADIR%%/sounds/fire.wav
9
%%DATADIR%%/resources/cars/vw/surface3d.tga
66
%%DATADIR%%/sounds/fogbomb.wav
10
%%DATADIR%%/resources/cars/z3/surface.tga
67
%%DATADIR%%/sounds/goody.wav
11
%%DATADIR%%/resources/cars/z3/surface3d.tga
68
%%DATADIR%%/sounds/goody_bullets.wav
12
%%DATADIR%%/resources/fonts/lcd_13_green.tga
69
%%DATADIR%%/sounds/goody_fogbomb.wav
13
%%DATADIR%%/resources/fonts/normal_11_white.tga
70
%%DATADIR%%/sounds/goody_life.wav
14
%%DATADIR%%/resources/fonts/normal_14_white.tga
71
%%DATADIR%%/sounds/goody_money.wav
15
%%DATADIR%%/resources/fonts/normal_22_gray.tga
72
%%DATADIR%%/sounds/goody_turbo.wav
16
%%DATADIR%%/resources/fonts/normal_22_white.tga
73
%%DATADIR%%/sounds/light.wav
17
%%DATADIR%%/resources/fonts/normal_8_white.tga
74
%%DATADIR%%/sounds/menu.wav
18
%%DATADIR%%/resources/goody/bullets.tga
75
%%DATADIR%%/sounds/selector.wav
19
%%DATADIR%%/resources/goody/fogbomb.tga
76
%%DATADIR%%/sounds/shoot.wav
20
%%DATADIR%%/resources/goody/life.tga
77
%%DATADIR%%/sounds/shot.wav
21
%%DATADIR%%/resources/goody/money.tga
78
%%DATADIR%%/sounds/slide.wav
22
%%DATADIR%%/resources/goody/turbo.tga
79
%%DATADIR%%/tracks/Downtown/bridge.tga
23
%%DATADIR%%/resources/gui/arrow_b.tga
80
%%DATADIR%%/tracks/Downtown/config.tck
24
%%DATADIR%%/resources/gui/arrow_l.tga
81
%%DATADIR%%/tracks/Downtown/fmap.tga
25
%%DATADIR%%/resources/gui/arrow_r.tga
82
%%DATADIR%%/tracks/Downtown/thumb.tga
26
%%DATADIR%%/resources/gui/arrow_t.tga
83
%%DATADIR%%/tracks/Downtown/vmap.tga
27
%%DATADIR%%/resources/gui/border1.tga
84
%%DATADIR%%/tracks/Industrial/bridge.tga
28
%%DATADIR%%/resources/gui/border2.tga
85
%%DATADIR%%/tracks/Industrial/config.tck
29
%%DATADIR%%/resources/gui/border3.tga
86
%%DATADIR%%/tracks/Industrial/fmap.tga
30
%%DATADIR%%/resources/gui/border4.tga
87
%%DATADIR%%/tracks/Industrial/thumb.tga
31
%%DATADIR%%/resources/gui/button.tga
88
%%DATADIR%%/tracks/Industrial/vmap.tga
32
%%DATADIR%%/resources/gui/edge1.tga
89
%%DATADIR%%/tracks/Loops/bridge.tga
33
%%DATADIR%%/resources/gui/edge2.tga
90
%%DATADIR%%/tracks/Loops/config.tck
34
%%DATADIR%%/resources/gui/edge3.tga
91
%%DATADIR%%/tracks/Loops/fmap.tga
35
%%DATADIR%%/resources/gui/edge4.tga
92
%%DATADIR%%/tracks/Loops/thumb.tga
36
%%DATADIR%%/resources/gui/loading.tga
93
%%DATADIR%%/tracks/Loops/vmap.tga
37
%%DATADIR%%/resources/gui/progressbar.tga
94
%%DATADIR%%/tracks/Moon/bridge.tga
38
%%DATADIR%%/resources/menu/bar.tga
95
%%DATADIR%%/tracks/Moon/config.tck
39
%%DATADIR%%/resources/menu/bg.tga
96
%%DATADIR%%/tracks/Moon/fmap.tga
40
%%DATADIR%%/resources/menu/cursorani.tga
97
%%DATADIR%%/tracks/Moon/thumb.tga
41
%%DATADIR%%/resources/misc/carfire.tga
98
%%DATADIR%%/tracks/Moon/vmap.tga
42
%%DATADIR%%/resources/misc/caution.tga
99
%%DATADIR%%/tracks/Rally/config.tck
43
%%DATADIR%%/resources/misc/checkflag.tga
100
%%DATADIR%%/tracks/Rally/fmap.tga
44
%%DATADIR%%/resources/misc/cross.tga
101
%%DATADIR%%/tracks/Rally/thumb.tga
45
%%DATADIR%%/resources/misc/dust.tga
102
%%DATADIR%%/tracks/Rally/vmap.tga
46
%%DATADIR%%/resources/misc/fog.tga
103
%%DATADIR%%/tracks/Snake/bridge.tga
47
%%DATADIR%%/resources/misc/gunfire.tga
104
%%DATADIR%%/tracks/Snake/config.tck
48
%%DATADIR%%/resources/misc/hitpoint.tga
105
%%DATADIR%%/tracks/Snake/fmap.tga
49
%%DATADIR%%/resources/misc/info.tga
106
%%DATADIR%%/tracks/Snake/thumb.tga
50
%%DATADIR%%/resources/misc/light.tga
107
%%DATADIR%%/tracks/Snake/vmap.tga
51
%%DATADIR%%/resources/misc/verticalbar.tga
108
%%DATADIR%%/tracks/Zigzag/bridge.tga
52
%%DATADIR%%/resources/panel/button.tga
109
%%DATADIR%%/tracks/Zigzag/config.tck
53
%%DATADIR%%/resources/panel/death.tga
110
%%DATADIR%%/tracks/Zigzag/fmap.tga
54
%%DATADIR%%/resources/panel/infoview.tga
111
%%DATADIR%%/tracks/Zigzag/thumb.tga
55
%%DATADIR%%/resources/panel/label.tga
112
%%DATADIR%%/tracks/Zigzag/vmap.tga
56
%%DATADIR%%/resources/panel/life.tga
113
%%DATADIR%%/tracks/Zurich/config.tck
57
%%DATADIR%%/resources/panel/speed.tga
114
%%DATADIR%%/tracks/Zurich/fmap.tga
58
%%DATADIR%%/resources/panel/turbo.tga
115
%%DATADIR%%/tracks/Zurich/thumb.tga
59
%%DATADIR%%/resources/panel/turbolabel.tga
116
%%DATADIR%%/tracks/Zurich/vmap.tga
60
%%DATADIR%%/resources/sounds/background01.wav
117
@dirrm %%DATADIR%%/tracks/Zurich
61
%%DATADIR%%/resources/sounds/carhorn.wav
118
@dirrm %%DATADIR%%/tracks/Zigzag
62
%%DATADIR%%/resources/sounds/crash.wav
119
@dirrm %%DATADIR%%/tracks/Snake
63
%%DATADIR%%/resources/sounds/dog.wav
120
@dirrm %%DATADIR%%/tracks/Rally
64
%%DATADIR%%/resources/sounds/engine.wav
121
@dirrm %%DATADIR%%/tracks/Moon
65
%%DATADIR%%/resources/sounds/fire.wav
122
@dirrm %%DATADIR%%/tracks/Loops
66
%%DATADIR%%/resources/sounds/fogbomb.wav
123
@dirrm %%DATADIR%%/tracks/Industrial
67
%%DATADIR%%/resources/sounds/goody.wav
124
@dirrm %%DATADIR%%/tracks/Downtown
68
%%DATADIR%%/resources/sounds/goody_bullets.wav
125
@dirrm %%DATADIR%%/tracks
69
%%DATADIR%%/resources/sounds/goody_fogbomb.wav
126
@dirrm %%DATADIR%%/sounds
70
%%DATADIR%%/resources/sounds/goody_life.wav
127
@dirrm %%DATADIR%%/panel
71
%%DATADIR%%/resources/sounds/goody_money.wav
128
@dirrm %%DATADIR%%/misc
72
%%DATADIR%%/resources/sounds/goody_turbo.wav
129
@dirrm %%DATADIR%%/menu
73
%%DATADIR%%/resources/sounds/light.wav
130
@dirrm %%DATADIR%%/gui
74
%%DATADIR%%/resources/sounds/menu.wav
131
@dirrm %%DATADIR%%/goody
75
%%DATADIR%%/resources/sounds/selector.wav
132
@dirrm %%DATADIR%%/fonts
76
%%DATADIR%%/resources/sounds/shoot.wav
133
@dirrm %%DATADIR%%/cars/z3
77
%%DATADIR%%/resources/sounds/shot.wav
134
@dirrm %%DATADIR%%/cars/vw
78
%%DATADIR%%/resources/sounds/slide.wav
135
@dirrm %%DATADIR%%/cars/jeep
79
%%DATADIR%%/resources/tracks/Downtown/bridge.tga
136
@dirrm %%DATADIR%%/cars/flash2
80
%%DATADIR%%/resources/tracks/Downtown/config.tck
137
@dirrm %%DATADIR%%/cars
81
%%DATADIR%%/resources/tracks/Downtown/fmap.tga
138
@dirrm %%DATADIR%%
82
%%DATADIR%%/resources/tracks/Downtown/thumb.tga
83
%%DATADIR%%/resources/tracks/Downtown/vmap.tga
84
%%DATADIR%%/resources/tracks/Loops/bridge.tga
85
%%DATADIR%%/resources/tracks/Loops/config.tck
86
%%DATADIR%%/resources/tracks/Loops/fmap.tga
87
%%DATADIR%%/resources/tracks/Loops/thumb.tga
88
%%DATADIR%%/resources/tracks/Loops/vmap.tga
89
%%DATADIR%%/resources/tracks/Moon/bridge.tga
90
%%DATADIR%%/resources/tracks/Moon/config.tck
91
%%DATADIR%%/resources/tracks/Moon/fmap.tga
92
%%DATADIR%%/resources/tracks/Moon/thumb.tga
93
%%DATADIR%%/resources/tracks/Moon/vmap.tga
94
%%DATADIR%%/resources/tracks/Rally/config.tck
95
%%DATADIR%%/resources/tracks/Rally/fmap.tga
96
%%DATADIR%%/resources/tracks/Rally/thumb.tga
97
%%DATADIR%%/resources/tracks/Rally/vmap.tga
98
%%DATADIR%%/resources/tracks/Snake/bridge.tga
99
%%DATADIR%%/resources/tracks/Snake/config.tck
100
%%DATADIR%%/resources/tracks/Snake/fmap.tga
101
%%DATADIR%%/resources/tracks/Snake/thumb.tga
102
%%DATADIR%%/resources/tracks/Snake/vmap.tga
103
%%DATADIR%%/resources/tracks/Zigzag/bridge.tga
104
%%DATADIR%%/resources/tracks/Zigzag/config.tck
105
%%DATADIR%%/resources/tracks/Zigzag/fmap.tga
106
%%DATADIR%%/resources/tracks/Zigzag/thumb.tga
107
%%DATADIR%%/resources/tracks/Zigzag/vmap.tga
108
%%DATADIR%%/resources/tracks/Zurich/config.tck
109
%%DATADIR%%/resources/tracks/Zurich/fmap.tga
110
%%DATADIR%%/resources/tracks/Zurich/thumb.tga
111
%%DATADIR%%/resources/tracks/Zurich/vmap.tga
112
@dirrm %%DATADIR%%/resources/cars/flash2
113
@dirrm %%DATADIR%%/resources/cars/jeep
114
@dirrm %%DATADIR%%/resources/cars/vw
115
@dirrm %%DATADIR%%/resources/cars/z3
116
@dirrm %%DATADIR%%/resources/cars
117
@dirrm %%DATADIR%%/resources/fonts
118
@dirrm %%DATADIR%%/resources/goody
119
@dirrm %%DATADIR%%/resources/gui
120
@dirrm %%DATADIR%%/resources/menu
121
@dirrm %%DATADIR%%/resources/misc
122
@dirrm %%DATADIR%%/resources/panel
123
@dirrm %%DATADIR%%/resources/sounds
124
@dirrm %%DATADIR%%/resources/tracks/Downtown
125
@dirrm %%DATADIR%%/resources/tracks/Loops
126
@dirrm %%DATADIR%%/resources/tracks/Moon
127
@dirrm %%DATADIR%%/resources/tracks/Rally
128
@dirrm %%DATADIR%%/resources/tracks/Snake
129
@dirrm %%DATADIR%%/resources/tracks/Zigzag
130
@dirrm %%DATADIR%%/resources/tracks/Zurich
131
@dirrm %%DATADIR%%/resources/tracks
132
@dirrm %%DATADIR%%/resources
133
@dirrm share/trophy
134
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
135
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
136
%%PORTDOCS%%%%DOCSDIR%%/COPYING
137
%%PORTDOCS%%%%DOCSDIR%%/README
138
%%PORTDOCS%%%%DOCSDIR%%/TODO
139
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 143119