1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Update to 0.4.0

PR:		ports/104499
Submitted by:	David Yeske<dyeske@yahoo.com> (maintainer)
This commit is contained in:
Martin Wilke 2006-10-31 08:56:56 +00:00
parent 7c618d8626
commit 6369e0e90d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=175751
4 changed files with 20 additions and 16 deletions

View File

@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= evolvotron
PORTVERSION= 0.3.1
PORTVERSION= 0.4.0
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -22,19 +22,22 @@ USE_PYTHON= yes
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
MAKE_ENV= QTDIR="${QT_PREFIX}" \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
CONFIGURE_ENV= QTDIR="${QT_PREFIX}" \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
MAKE_ENV= QTDIR=${X11BASE} MOC=${MOC}
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's/-pthread/${PTHREAD_LIBS}/' ${WRKSRC}/common.pro
@${REINPLACE_CMD} -e 's,bin/bash,bin/sh,' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS} -g -static|' \
${WRKSRC}/common.pro
do-configure:
cd ${WRKSRC} && ./text_to_markup.py -html < USAGE > evolvotron.html
cd ${WRKSRC} && ./text_to_markup.py -qml -s < USAGE > libevolvotron/usage_text.h
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ VERSION_NUMBER=${PORTVERSION} main.pro
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/evolvotron/evolvotron ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/evolvotron_match/evolvotron_match ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/evolvotron_mutate/evolvotron_mutate ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/evolvotron_render/evolvotron_render ${PREFIX}/bin
.if !defined(NOPORTDOCS)

View File

@ -1,3 +1,3 @@
MD5 (evolvotron-0.3.1.tar.gz) = e6c8404d7c454283fb5d8f00ec0c2761
SHA256 (evolvotron-0.3.1.tar.gz) = 2cd56c25335d2875a52cb638294e1597cabfcf955f6828fbd0b67199556cf636
SIZE (evolvotron-0.3.1.tar.gz) = 129201
MD5 (evolvotron-0.4.0.tar.gz) = ab6f3a3247e36ca0024d3837f78bdf6b
SHA256 (evolvotron-0.4.0.tar.gz) = f846aa85fe443a61afd64d28d491b9afc0f3fbb491f3e27da2d601048d40d1ed
SIZE (evolvotron-0.4.0.tar.gz) = 131967

View File

@ -1,6 +1,6 @@
--- common.pro.orig Mon Nov 3 09:40:15 2003
+++ common.pro Mon Dec 1 03:16:47 2003
@@ -29,32 +29,12 @@
--- common.pro.orig Wed Nov 9 13:50:09 2005
+++ common.pro Wed Nov 9 13:51:25 2005
@@ -20,8 +20,6 @@
# Now leaving these ON for general distribution as they DO have SOME effect
# (or at least they have in the past... see the README), and should be portable.
# NB Switching on -funroll-loops causes some versions of gcc to segv
@ -9,10 +9,10 @@
##################
# Architecture specific optimisations
# The following architecture options make the compiled executables less portable.
# (On a different setup you may need to change what's subtracted out of the flags.)
@@ -29,23 +27,6 @@
# (On a different setup you may need to change what is subtracted out of the flags.)
# NB -march=X implies -mcpu=X... no need to specify both the same
-
-contains(CONFIG_OPTS, p4 ){
- QMAKE_CXXFLAGS_RELEASE -= -march=i386 -mcpu=i686
- QMAKE_CXXFLAGS_RELEASE += -march=pentium4 -mfpmath=sse -msse2

View File

@ -1,4 +1,5 @@
bin/evolvotron
bin/evolvotron_match
bin/evolvotron_mutate
bin/evolvotron_render
%%PORTDOCS%%%%DOCSDIR%%/evolvotron.html