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

(-)games/lincity-ng/Makefile (-10 / +2 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	lincity-ng
8
PORTNAME=	lincity-ng
9
PORTVERSION=	1.1.1
9
PORTVERSION=	1.1.2
10
PORTREVISION=	2
10
PORTREVISION=	2
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	${MASTER_SITE_BERLIOS}
12
MASTER_SITES=	${MASTER_SITE_BERLIOS}
Lines 30-47 Link Here
30
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
30
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
31
		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
31
		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
32
32
33
.include <bsd.port.pre.mk>
34
35
.if ${OSVERSION} < 504000
36
pre-configure::
37
	@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-src-gui-Gradient.cpp
38
	@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-src-gui-PainterSDL-PainterSDL.cpp
39
.endif
40
41
do-build:
33
do-build:
42
	@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} jam)
34
	@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} jam)
43
35
44
do-install:
36
do-install:
45
	@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} jam ${INSTALL_TARGET})
37
	@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} jam ${INSTALL_TARGET})
46
38
47
.include <bsd.port.post.mk>
39
.include <bsd.port.mk>
(-)games/lincity-ng/files/extra-src-gui-Gradient.cpp (-12 lines)
Lines 1-12 Link Here
1
--- src/gui/Gradient.cpp.orig	Fri Jul 15 19:47:11 2005
2
+++ src/gui/Gradient.cpp	Sat Jul 23 12:40:46 2005
3
@@ -28,9 +28,7 @@
4
 #include "Painter.hpp"
5
 #include "ComponentFactory.hpp"
6
 
7
-#ifdef _MSC_VER
8
 #define lrintf(x) (long int)x
9
-#endif
10
 
11
 Gradient::Gradient()
12
     : direction(LEFT_RIGHT)
(-)games/lincity-ng/files/extra-src-gui-PainterSDL-PainterSDL.cpp (-13 lines)
Lines 1-13 Link Here
1
--- src/gui/PainterSDL/PainterSDL.cpp.orig	Fri Jul 15 19:47:12 2005
2
+++ src/gui/PainterSDL/PainterSDL.cpp	Sat Jul 23 12:41:09 2005
3
@@ -30,10 +30,8 @@
4
 
5
 #include "TextureSDL.hpp"
6
 
7
-#ifdef _MSC_VER
8
 #define lrint(x) (long int)x
9
 #define lroundf(x) (long int)(x + .5)
10
-#endif
11
 
12
 PainterSDL::PainterSDL(SDL_Surface* _target)
13
     : target(_target)
(-)games/lincity-ng/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (lincity-ng-1.1.1.tar.bz2) = b548b04666aa35e44a83e173a6cbe4b1
1
MD5 (lincity-ng-1.1.2.tar.bz2) = 3b4b67044230bdab64e7976e212cdd80
2
SHA256 (lincity-ng-1.1.1.tar.bz2) = 77880e5b70bdf5ae717d12bca1966861190436d0fdbb37563dcb56d5e12c2a65
2
SHA256 (lincity-ng-1.1.2.tar.bz2) = 6d69de4e1a7f2befef54168d5a29afaf1de85b0e63e4e7080a12b7646c3423f2
3
SIZE (lincity-ng-1.1.1.tar.bz2) = 29567908
3
SIZE (lincity-ng-1.1.2.tar.bz2) = 29567088

Return to bug 124494