mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Update to 0.6.3
PR: 175016 Submitted by: ports fury
This commit is contained in:
parent
cbb450de56
commit
2f8fa4740f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311998
@ -2,41 +2,68 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= evolvotron
|
||||
PORTVERSION= 0.6.1
|
||||
PORTREVISION= 3
|
||||
PORTVERSION= 0.6.3
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= SF
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Generative software that evolves images/textures/patterns
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
USE_QT4= corelib gui moc_build qmake_build xml
|
||||
USE_QT4= corelib gui xml moc_build qmake_build
|
||||
USE_PYTHON= yes
|
||||
USE_XORG= x11
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ENV= QTDIR="${QT_PREFIX}"
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
MAN1= evolvotron.1 evolvotron_mutate.1 evolvotron_render.1
|
||||
PORTDOCS= *
|
||||
PLIST_FILES= bin/evolvotron bin/evolvotron_mutate bin/evolvotron_render \
|
||||
lib/libevolvotron.a lib/libfunction.a
|
||||
|
||||
DESKTOP_ENTRIES="Evolvotron" "Interactive image generator" "" "${PORTNAME}" \
|
||||
"Graphics;2DGraphics;" true
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${CXX:T:M*clang*} || ${OSVERSION} >= 1000024
|
||||
.for i in libevolvotron libfunction
|
||||
CXXFLAGS+= -include ${WRKSRC}/${i}/${i}_precompiled.h \
|
||||
-I${WRKSRC}/${i}
|
||||
.endfor
|
||||
.else
|
||||
QMAKEFLAGS+= CONFIG+=precompile_header
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/configure
|
||||
${REINPLACE_CMD} -e 28d ${WRKSRC}/libevolvotron/platform_specific.h
|
||||
${REINPLACE_CMD} -e 30d ${WRKSRC}/libevolvotron/platform_specific.h
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|/bin/bash|/bin/sh|' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/^CONFIG/s|precompile_header|| ; \
|
||||
/DEFINES/s|_LINUX|_BSD|' ${WRKSRC}/common.pro
|
||||
|
||||
post-configure:
|
||||
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS} \
|
||||
VERSION_NUMBER="${PORTVERSION}" main.pro)
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/evolvotron/evolvotron ${PREFIX}/bin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/evolvotron_mutate/evolvotron_mutate ${PREFIX}/bin
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/evolvotron_render/evolvotron_render ${PREFIX}/bin
|
||||
@${INSTALL_DATA} ${WRKSRC}/libevolvotron/libevolvotron.a ${PREFIX}/lib
|
||||
@${INSTALL_DATA} ${WRKSRC}/libfunction/libfunction.a ${PREFIX}/lib
|
||||
.if !defined(NOPORTDOCS)
|
||||
.for i in evolvotron evolvotron_mutate evolvotron_render
|
||||
(cd ${WRKSRC}/${i} && ${INSTALL_PROGRAM} ${i} ${PREFIX}/bin)
|
||||
(cd ${WRKSRC}/man/man1 && ${INSTALL_MAN} ${i}.1 ${MANPREFIX}/man/man1)
|
||||
.endfor
|
||||
.for i in libevolvotron libfunction
|
||||
(cd ${WRKSRC}/${i} && ${INSTALL_DATA} ${i}.a ${PREFIX}/lib)
|
||||
.endfor
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/evolvotron.html ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} evolvotron.html ${DOCSDIR})
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (evolvotron-0.6.1.tar.gz) = 70bf4dc6de69f43385047d3dfb6058c6d5b26957313486bfc452721ff05be503
|
||||
SIZE (evolvotron-0.6.1.tar.gz) = 156441
|
||||
SHA256 (evolvotron-0.6.3.tar.gz) = d1735fe84d90be004888017068f49fa00c97378fd7cca11a90a4a889ef681393
|
||||
SIZE (evolvotron-0.6.3.tar.gz) = 182357
|
||||
|
13
graphics/evolvotron/files/patch-USAGE
Normal file
13
graphics/evolvotron/files/patch-USAGE
Normal file
@ -0,0 +1,13 @@
|
||||
--- USAGE.orig
|
||||
+++ USAGE
|
||||
@@ -68,8 +68,8 @@
|
||||
|
||||
-m, --multisample <multisample grid>
|
||||
Enables additional antialiasing passes.
|
||||
- Specifing 2 or 3 will provide an additional pass with 2x2 or 3x3 samples per pixel.
|
||||
- Specifiying 4 (of higher) will provide a 2x2 and a final 4x4 pass.
|
||||
+ Specifying 2 or 3 will provide an additional pass with 2x2 or 3x3 samples per pixel.
|
||||
+ Specifying 4 (of higher) will provide a 2x2 and a final 4x4 pass.
|
||||
Specifying 1 provides the default behaviour of one sample per pixel.
|
||||
For best rendering quality also specify -j.
|
||||
|
@ -0,0 +1,15 @@
|
||||
--- libevolvotron/dialog_help.cpp.orig
|
||||
+++ libevolvotron/dialog_help.cpp
|
||||
@@ -45,10 +45,10 @@
|
||||
" Esc - Returns to normal mode from full-screen/menu-hidden mode."
|
||||
" </li>"
|
||||
" <li>"
|
||||
-" R - Reset (reset mutation paramters and locks)"
|
||||
+" R - Reset (reset mutation parameters and locks)"
|
||||
" </li>"
|
||||
" <li>"
|
||||
-" T - Restart (preserve mutation paramters and locks)"
|
||||
+" T - Restart (preserve mutation parameters and locks)"
|
||||
" </li>"
|
||||
" <li>"
|
||||
" X - Remix (randomize function weights and restart)"
|
@ -1,7 +0,0 @@
|
||||
bin/evolvotron
|
||||
bin/evolvotron_mutate
|
||||
bin/evolvotron_render
|
||||
lib/libevolvotron.a
|
||||
lib/libfunction.a
|
||||
%%PORTDOCS%%%%DOCSDIR%%/evolvotron.html
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user