From owner-svn-ports-all@FreeBSD.ORG Sun Feb 10 07:52:51 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 68F62353; Sun, 10 Feb 2013 07:52:51 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 50D37D95; Sun, 10 Feb 2013 07:52:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r1A7qpKg072206; Sun, 10 Feb 2013 07:52:51 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r1A7qoHL072198; Sun, 10 Feb 2013 07:52:50 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201302100752.r1A7qoHL072198@svn.freebsd.org> From: Martin Wilke Date: Sun, 10 Feb 2013 07:52:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311998 - in head/graphics/evolvotron: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2013 07:52:51 -0000 Author: miwi Date: Sun Feb 10 07:52:49 2013 New Revision: 311998 URL: http://svnweb.freebsd.org/changeset/ports/311998 Log: - Update to 0.6.3 PR: 175016 Submitted by: ports fury Added: head/graphics/evolvotron/files/ head/graphics/evolvotron/files/patch-USAGE (contents, props changed) head/graphics/evolvotron/files/patch-libevolvotron__dialog_help.cpp (contents, props changed) Modified: head/graphics/evolvotron/Makefile (contents, props changed) head/graphics/evolvotron/distinfo (contents, props changed) head/graphics/evolvotron/pkg-plist (contents, props changed) Modified: head/graphics/evolvotron/Makefile ============================================================================== --- head/graphics/evolvotron/Makefile Sun Feb 10 07:52:02 2013 (r311997) +++ head/graphics/evolvotron/Makefile Sun Feb 10 07:52:49 2013 (r311998) @@ -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 +.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 Modified: head/graphics/evolvotron/distinfo ============================================================================== --- head/graphics/evolvotron/distinfo Sun Feb 10 07:52:02 2013 (r311997) +++ head/graphics/evolvotron/distinfo Sun Feb 10 07:52:49 2013 (r311998) @@ -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 Added: head/graphics/evolvotron/files/patch-USAGE ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/evolvotron/files/patch-USAGE Sun Feb 10 07:52:49 2013 (r311998) @@ -0,0 +1,13 @@ +--- USAGE.orig ++++ USAGE +@@ -68,8 +68,8 @@ + + -m, --multisample + 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. + Added: head/graphics/evolvotron/files/patch-libevolvotron__dialog_help.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/evolvotron/files/patch-libevolvotron__dialog_help.cpp Sun Feb 10 07:52:49 2013 (r311998) @@ -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." + " " + "
  • " +-" R - Reset (reset mutation paramters and locks)" ++" R - Reset (reset mutation parameters and locks)" + "
  • " + "
  • " +-" T - Restart (preserve mutation paramters and locks)" ++" T - Restart (preserve mutation parameters and locks)" + "
  • " + "
  • " + " X - Remix (randomize function weights and restart)" Modified: head/graphics/evolvotron/pkg-plist ============================================================================== --- head/graphics/evolvotron/pkg-plist Sun Feb 10 07:52:02 2013 (r311997) +++ head/graphics/evolvotron/pkg-plist Sun Feb 10 07:52:49 2013 (r311998) @@ -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%%