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

(-)evolvotron/Makefile (-11 / +15 lines)
Lines 5-11 Link Here
5
# $FreeBSD: ports/graphics/evolvotron/Makefile,v 1.4 2003/11/17 12:28:58 trevor Exp $
5
# $FreeBSD: ports/graphics/evolvotron/Makefile,v 1.4 2003/11/17 12:28:58 trevor Exp $
6
6
7
PORTNAME=	evolvotron
7
PORTNAME=	evolvotron
8
PORTVERSION=	0.0.5
8
PORTVERSION=	0.2.3
9
CATEGORIES=	graphics
9
CATEGORIES=	graphics
10
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
10
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITE_SUBDIR=	${PORTNAME}
11
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 15-35 Link Here
15
15
16
WRKSRC=		${WRKDIR}/${PORTNAME}
16
WRKSRC=		${WRKDIR}/${PORTNAME}
17
17
18
QTDIR?=		${X11BASE}
19
USE_QT_VER=	3
18
USE_QT_VER=	3
20
19
USE_PYTHON=	yes
21
USE_X_PREFIX=	yes
20
USE_X_PREFIX=	yes
22
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
USE_REINPLACE=	yes
23
23
24
MAKE_ENV=	QTDIR="${QTDIR}"
24
MAKE_ENV=	QTDIR="${QT_PREFIX}"
25
25
CONFIGURE_ENV=	QTDIR="${QT_PREFIX}"
26
.include <bsd.port.pre.mk>
27
26
28
.if ${OSVERSION} >= 501000
27
post-patch:
29
BROKEN=		"Does not compile"
28
	@${REINPLACE_CMD} -e 's/-pthread/${PTHREAD_LIBS}/' ${WRKSRC}/common.pro
30
.endif
31
29
32
do-install:
30
do-install:
33
	@${INSTALL_PROGRAM} ${WRKSRC}/evolvotron ${PREFIX}/bin
31
	@${INSTALL_PROGRAM} ${WRKSRC}/evolvotron/evolvotron ${PREFIX}/bin
32
	@${INSTALL_PROGRAM} ${WRKSRC}/evolvotron_mutate/evolvotron_mutate ${PREFIX}/bin
33
	@${INSTALL_PROGRAM} ${WRKSRC}/evolvotron_render/evolvotron_render ${PREFIX}/bin
34
.if !defined(NOPORTDOCS)
35
	@${MKDIR} ${DOCSDIR}
36
	@${INSTALL_DATA} ${WRKSRC}/evolvotron.html ${DOCSDIR}
37
.endif
34
38
35
.include <bsd.port.post.mk>
39
.include <bsd.port.mk>
(-)evolvotron/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (evolvotron-0.0.5.tar.gz) = ee20e4bea2742202f336316bcfbba702
1
MD5 (evolvotron-0.2.3.tar.gz) = 515461d06f247a54d810ed4178eed26c
(-)evolvotron/files/patch-common.pro (+44 lines)
Line 0 Link Here
1
--- common.pro.orig	Mon Nov  3 09:40:15 2003
2
+++ common.pro	Mon Dec  1 03:16:47 2003
3
@@ -29,8 +29,6 @@
4
 # Now leaving these ON for general distribution as they DO have SOME effect 
5
 # (or at least they have in the past... see the README), and should be portable.
6
 
7
-QMAKE_CXXFLAGS_RELEASE -= -O2
8
-QMAKE_CXXFLAGS_RELEASE += -O3 -fomit-frame-pointer -funroll-loops -ffast-math 
9
 
10
 ##################
11
 # Architecture specific optimisations
12
@@ -38,23 +36,6 @@
13
 # (On a different setup you may need to change what's subtracted out of the flags.)
14
 # NB -march=X implies -mcpu=X... no need to specify both the same
15
 
16
-contains(CONFIG_OPTS, p4 ){ 
17
-  QMAKE_CXXFLAGS_RELEASE -= -march=i386 -mcpu=i686
18
-  QMAKE_CXXFLAGS_RELEASE += -march=pentium4 -mfpmath=sse -msse2
19
-  BUILD_INFO+= Pentium4
20
-}
21
-
22
-contains(CONFIG_OPTS, p3 ){
23
-  QMAKE_CXXFLAGS_RELEASE -= -march=i386 -mcpu=i686
24
-  QMAKE_CXXFLAGS_RELEASE += -march=pentium3 -mfpmath=sse -msse
25
-  BUILD_INFO+= Pentium3  
26
-}
27
-
28
-contains(CONFIG_OPTS, xp ){
29
-  QMAKE_CXXFLAGS_RELEASE -= -march=i386 -mcpu=i686
30
-  QMAKE_CXXFLAGS_RELEASE += -march=athlon-xp -mfpmath=sse -msse
31
-  BUILD_INFO+= Athlon-XP
32
-}
33
 
34
 ##################
35
 # Optimisation insanity
36
@@ -67,7 +48,7 @@
37
 #######################################
38
 # Version numbering.  This is ENTIRELY controlled by what is echoed by the VERSION script
39
 
40
-VERSION_NUMBER = $${system(../VERSION)}
41
+VERSION_NUMBER = $${system(./VERSION)}
42
 QMAKE_CXXFLAGS_RELEASE += '-DEVOLVOTRON_VERSION="$$VERSION_NUMBER"'
43
 QMAKE_CXXFLAGS_DEBUG   += '-DEVOLVOTRON_VERSION="$$VERSION_NUMBER"'
44
 QMAKE_CXXFLAGS_RELEASE += '-DEVOLVOTRON_BUILD="$$VERSION_NUMBER (Build options: $$BUILD_INFO Release)"'
(-)evolvotron/files/patch-dialog_mutation_parameters.h (-2 / +2 lines)
Lines 1-5 Link Here
1
--- dialog_mutation_parameters.h.orig	Sun Mar 16 19:22:14 2003
1
--- libevolvotron/dialog_mutation_parameters.h.orig	Mon Dec  1 03:09:32 2003
2
+++ dialog_mutation_parameters.h	Sun Mar 16 19:22:32 2003
2
+++ libevolvotron/dialog_mutation_parameters.h	Mon Dec  1 03:10:15 2003
3
@@ -23,6 +23,7 @@
3
@@ -23,6 +23,7 @@
4
 #ifndef _dialog_mutation_parameters_h_
4
 #ifndef _dialog_mutation_parameters_h_
5
 #define _dialog_mutation_parameters_h_
5
 #define _dialog_mutation_parameters_h_
(-)evolvotron/files/patch-matrix.cpp (-3 / +3 lines)
Lines 1-10 Link Here
1
--- matrix.cpp.orig	Thu Apr 17 17:49:39 2003
1
--- libevolvotron/matrix.cpp.orig	Mon Dec  1 03:12:54 2003
2
+++ matrix.cpp	Thu Apr 17 17:49:52 2003
2
+++ libevolvotron/matrix.cpp	Mon Dec  1 03:13:12 2003
3
@@ -26,6 +26,7 @@
3
@@ -26,6 +26,7 @@
4
 #include "random.h"
4
 #include "random.h"
5
 
5
 
6
 #include <iostream>
6
 #include <iostream>
7
+#include <time.h>
7
+#include <time.h>
8
 
8
 
9
 //! Test code
9
 void testmatrix_extract_runtime(Matrix<2,2,float>& m_out,const Matrix<3,3,float>& m_in)
10
 void testmatrix_extract_runtime(Matrix<2,2,float>& m_out,const Matrix<3,3,float>& m_in)
10
 {
(-)evolvotron/pkg-plist (+4 lines)
Line 1 Link Here
1
bin/evolvotron
1
bin/evolvotron
2
bin/evolvotron_mutate
3
bin/evolvotron_render
4
%%PORTDOCS%%share/doc/evolvotron/evolvotron.html
5
%%PORTDOCS%%@dirrm share/doc/evolvotron

Return to bug 59863