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

(-)games/species/Makefile (-3 / +11 lines)
Lines 3-16 Link Here
3
3
4
PORTNAME=	species
4
PORTNAME=	species
5
PORTVERSION=	1.2d
5
PORTVERSION=	1.2d
6
PORTREVISION=	1
6
CATEGORIES=	games
7
CATEGORIES=	games
7
MASTER_SITES=	${MASTER_SITE_LOCAL}
8
MASTER_SITES=	LOCAL/alepulver
8
MASTER_SITE_SUBDIR=	alepulver
9
DISTNAME=	redcoder
9
DISTNAME=	redcoder
10
10
11
MAINTAINER=	ports@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
12
COMMENT=	Corewars evolver - generates warriors using genetic algorithms
12
COMMENT=	Corewars evolver - generates warriors using genetic algorithms
13
13
14
LICENSE=	GPLv1 # (or later)
15
14
USE_BZIP2=	yes
16
USE_BZIP2=	yes
15
USES=		gmake dos2unix
17
USES=		gmake dos2unix
16
WRKSRC=		${WRKDIR}/${PORTNAME}
18
WRKSRC=		${WRKDIR}/${PORTNAME}
Lines 25-35 Link Here
25
27
26
.include <bsd.port.options.mk>
28
.include <bsd.port.options.mk>
27
29
30
.if empty(PORT_OPTIONS:MVISITOOL)
31
MAKE_ENV+=	WX_CONFIG="${TRUE}"
32
.endif
33
28
do-install:
34
do-install:
29
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
35
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
30
	@${MKDIR} ${STAGEDIR}${DATADIR}
36
	@${MKDIR} ${STAGEDIR}${DATADIR}
31
	cd ${WRKSRC} && ${INSTALL_DATA} koen.* species.ini *.rc ${STAGEDIR}${DATADIR}
37
	cd ${WRKSRC} && ${INSTALL_DATA} koen.* species.ini *.rc ${STAGEDIR}${DATADIR}
32
	cd ${WRKSRC} && ${CP} -r bench evolver_hill wilfiz ${STAGEDIR}${DATADIR}
38
.for i in bench evolver_hill wilfiz
39
	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${DATADIR})
40
.endfor
33
.if ${PORT_OPTIONS:MVISITOOL}
41
.if ${PORT_OPTIONS:MVISITOOL}
34
	${INSTALL_PROGRAM} ${WRKSRC}/visitool ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-visitool
42
	${INSTALL_PROGRAM} ${WRKSRC}/visitool ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-visitool
35
.endif
43
.endif
(-)games/species/files/patch-Makefile (-3 / +5 lines)
Lines 1-6 Link Here
1
--- ./Makefile.orig	Sun Feb 22 03:54:24 2004
1
--- ./Makefile.orig	Sun Feb 22 03:54:24 2004
2
+++ ./Makefile	Wed Jan 16 18:29:09 2008
2
+++ ./Makefile	Wed Jan 16 18:29:09 2008
3
@@ -1,8 +1,8 @@
3
@@ -1,22 +1,22 @@
4
 # makefile for species
4
 # makefile for species
5
 
5
 
6
-CC = gcc
6
-CC = gcc
Lines 10-18 Link Here
10
+CPP = $(CXX)
10
+CPP = $(CXX)
11
+LD = $(CXX)
11
+LD = $(CXX)
12
 
12
 
13
 OPT = -O4
13
-OPT = -O4
14
+#OPT = -O4
14
 DBG =
15
 DBG =
15
@@ -11,12 +11,12 @@
16
 # Recommended extra options for gcc:
17
 #OPT += -fomit-frame-pointer -fforce-addr -finline-functions -funroll-loops
16
 #OPT += -mcpu=i686 -march=i686
18
 #OPT += -mcpu=i686 -march=i686
17
 #DBG += -W -Wall -pedantic -ansi
19
 #DBG += -W -Wall -pedantic -ansi
18
 
20
 
(-)games/species/files/patch-main.cpp (-3 / +3 lines)
Lines 1-11 Link Here
1
--- ./main.cpp.orig	2013-11-10 23:14:27.000000000 -0200
1
--- main.cpp.orig
2
+++ ./main.cpp	2013-11-10 23:14:37.000000000 -0200
2
+++ main.cpp
3
@@ -29,7 +29,7 @@
3
@@ -29,7 +29,7 @@
4
 
4
 
5
 /***** main program entry point ********************/
5
 /***** main program entry point ********************/
6
 
6
 
7
-int main(int /*argc*/,char /***args*/) {
7
-int main(int /*argc*/,char /***args*/) {
8
+int main(int /*argc*/,char ** /*args*/) {
8
+int main(int /*argc*/,char **/*args*/) {
9
 	CKingdom kingdom;
9
 	CKingdom kingdom;
10
 	
10
 	
11
 	#ifndef _WIN32
11
 	#ifndef _WIN32

Return to bug 185332