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

(-)stratagus/Makefile (-15 / +12 lines)
Lines 6-17 Link Here
6
#
6
#
7
7
8
PORTNAME=	stratagus
8
PORTNAME=	stratagus
9
PORTVERSION=	2.1
9
PORTVERSION=	2.2.2
10
PORTREVISION=	3
11
CATEGORIES=	games
10
CATEGORIES=	games
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	SF
13
MASTER_SITE_SUBDIR=	${PORTNAME}
12
EXTRACT_SUFX=	-src.tar.gz
14
DISTNAME=	${PORTNAME}-${PORTVERSION}-src
15
13
16
MAINTAINER=	tlp@liquidx.org
14
MAINTAINER=	tlp@liquidx.org
17
COMMENT=	Free cross-platform real-time strategy gaming engine
15
COMMENT=	Free cross-platform real-time strategy gaming engine
Lines 20-33 Link Here
20
18
21
USE_GMAKE=	yes
19
USE_GMAKE=	yes
22
USE_LUA=	5.0
20
USE_LUA=	5.0
23
USE_SDL=	yes
21
USE_SDL=	sdl
24
USE_XLIB=	yes
22
USE_XLIB=	yes
25
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
26
CFLAGS=		-I${LUA_INCDIR}
24
CFLAGS+=	-I${LUA_INCDIR}
27
LDFLAGS=	-L${LUA_LIBDIR}
25
CONFIGURE_ENV=	LDFLAGS="-L${LUA_LIBDIR} -lm"
28
CONFIGURE_ENV=	CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
29
		EXTRA_CFLAGS="${CFLAGS}" EXTRA_LIBS="${LDFLAGS}"
30
WRKSRC=		${WRKDIR}/stratagus-040702
31
26
32
OPTIONS=	OPENGL "Enable OpenGL support" on \
27
OPTIONS=	OPENGL "Enable OpenGL support" on \
33
		MIKMOD "Enable Mikmod support" off \
28
		MIKMOD "Enable Mikmod support" off \
Lines 37-46 Link Here
37
32
38
.include <bsd.port.pre.mk>
33
.include <bsd.port.pre.mk>
39
34
40
.if ${OSVERSION} < 500000
41
IGNORE=		does not run properly on FreeBSD 4.x
42
.endif
43
44
.if defined(WITH_OPENGL)
35
.if defined(WITH_OPENGL)
45
CONFIGURE_ARGS+=--with-opengl
36
CONFIGURE_ARGS+=--with-opengl
46
.endif
37
.endif
Lines 57-63 Link Here
57
CONFIGURE_ARGS+=--without-ogg
48
CONFIGURE_ARGS+=--without-ogg
58
.endif
49
.endif
59
50
51
post-patch:
52
	@${REINPLACE_CMD} -e 's|-ldl||; s|gcc|${CC}|' \
53
		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
54
60
post-install:
55
post-install:
56
	@${ECHO_CMD}
61
	@${CAT} ${PKGMESSAGE}
57
	@${CAT} ${PKGMESSAGE}
58
	@${ECHO_CMD}
62
59
63
.include <bsd.port.post.mk>
60
.include <bsd.port.post.mk>
(-)stratagus/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (stratagus-2.1-src.tar.gz) = ff6b2070b66e8847eeed6bedc24ad8bb
1
MD5 (stratagus-2.2.2-src.tar.gz) = 0e116a9d4080dbca6dad78b7d34fec8f
2
SHA256 (stratagus-2.1-src.tar.gz) = 1a5fb943ebc9422a18d165ba57deeae406d3d5e2cba171dfe15608732a22326b
2
SHA256 (stratagus-2.2.2-src.tar.gz) = b01417a32358a4f234d2d093fff932e3dd526c1bdba1bf0b95fb6aed52e1c9be
3
SIZE (stratagus-2.1-src.tar.gz) = 995686
3
SIZE (stratagus-2.2.2-src.tar.gz) = 931693
(-)stratagus/pkg-message (+2 lines)
Lines 1-4 Link Here
1
------------------------------------------------------------------------------
1
------------------------------------------------------------------------------
2
2
NOTE: This is only the engine. If you wish to play a game that uses the
3
NOTE: This is only the engine. If you wish to play a game that uses the
3
Stratagus engine, you must manually download the Stratagus game data.
4
Stratagus engine, you must manually download the Stratagus game data.
4
5
Lines 11-14 Link Here
11
http://stratagus.sourceforge.net/games.shtml
12
http://stratagus.sourceforge.net/games.shtml
12
13
13
Enjoy!
14
Enjoy!
15
14
------------------------------------------------------------------------------
16
------------------------------------------------------------------------------
(-)stratagus/files/patch-configure (-12 lines)
Removed Link Here
1
--- ./configure.orig	Thu Jul  1 22:46:35 2004
2
+++ ./configure	Mon Jul 17 19:23:06 2006
3
@@ -3229,9 +3229,6 @@
4
 	VIDEO_LIBS="$VIDEO_LIBS -lwsock32 -lws2_32 -lmingwex -lgmon"
5
     fi
6
 fi
7
-if test "$ARCH" = "bsd"; then
8
-    VIDEO_LIBS="$VIDEO_LIBS -lc"
9
-fi
10
 
11
 
12
 

Return to bug 109586