From owner-svn-ports-head@freebsd.org Fri Jul 20 16:29:36 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0235F104B2BA; Fri, 20 Jul 2018 16:29:36 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A2AB28358E; Fri, 20 Jul 2018 16:29:35 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7F7D61299D; Fri, 20 Jul 2018 16:29:35 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6KGTZfW065054; Fri, 20 Jul 2018 16:29:35 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6KGTZoB065052; Fri, 20 Jul 2018 16:29:35 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201807201629.w6KGTZoB065052@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Fri, 20 Jul 2018 16:29:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475027 - in head/graphics/fracplanet: . files X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/graphics/fracplanet: . files X-SVN-Commit-Revision: 475027 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2018 16:29:36 -0000 Author: swills Date: Fri Jul 20 16:29:34 2018 New Revision: 475027 URL: https://svnweb.freebsd.org/changeset/ports/475027 Log: graphics/fracplanet: update to 0.5.1 PR: 229874 Submitted by: Kai Approved by: portmgr (implicit) Deleted: head/graphics/fracplanet/files/ Modified: head/graphics/fracplanet/Makefile (contents, props changed) head/graphics/fracplanet/distinfo (contents, props changed) Modified: head/graphics/fracplanet/Makefile ============================================================================== --- head/graphics/fracplanet/Makefile Fri Jul 20 16:09:45 2018 (r475026) +++ head/graphics/fracplanet/Makefile Fri Jul 20 16:29:34 2018 (r475027) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= fracplanet -PORTVERSION= 0.4.0 -PORTREVISION= 16 +PORTVERSION= 0.5.1 CATEGORIES= graphics MASTER_SITES= SF \ SF/nemysisfreebsdp/:icons @@ -18,54 +17,50 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_powerpc64= fails to link: obj/fracplanet.o:(.text+0x250): undefined reference to boost::program_options::options_description::options_description -BUILD_DEPENDS= xsltproc:textproc/libxslt LIB_DEPENDS= libboost_program_options.so:devel/boost-libs -WRKSRC= ${WRKDIR}/${PORTNAME} +FLAVORS= qt4 qt5 +FLAVOR?= ${FLAVORS:[1]} +qt5_PKGNAMESUFFIX= -${FLAVOR} -USES= gmake qmake:no_env qt:4 -USE_GL= glu -USE_QT= corelib moc_build qmake_build gui opengl -HAS_CONFIGURE= yes -CONFIGURE_ENV= QTDIR="${PREFIX}" -CONFIGURE_ARGS= -spec ${QMAKESPEC} +USES= qmake:outsource +USE_GL= gl glu +QMAKE_ARGS= VERSION_NUMBER=${PORTVERSION} -CXXFLAGS+= -include ${WRKSRC}/precompiled.h +.if ${FLAVOR} == qt4 +USES+= qt:4 +USE_QT= corelib gui moc_build opengl +.else +USES+= qt:5 +USE_QT= buildtools_build core gui opengl +.endif +DESKTOP_ENTRIES= "Fracplanet" \ + "" \ + "${PORTNAME}" \ + "${PORTNAME}" \ + "Graphics;" \ + "" +INSTALLS_ICONS= yes PORTDOCS= * +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -INSTALLS_ICONS= yes +OPTIONS_DEFINE= DOXYGEN DOCS +DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen +DOXYGEN_IMPLIES= DOCS + +DOCFILES= BUGS NEWS README THANKS fracplanet.css fracplanet.htm ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 -DESKTOP_ENTRIES="Fracplanet" "" "${PORTNAME}" \ - "${PORTNAME}" "Graphics;" "" - -OPTIONS_DEFINE= DOXYGEN DOCS - -.include - -.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN} -BUILD_DEPENDS+= doxygen:devel/doxygen -.endif - post-patch: -.for f in BUILD VERSION configure - @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' \ - ${WRKSRC}/${f} -.endfor - @${REINPLACE_CMD} -e 's|qmake-qt4|${QMAKE} ${QMAKE_ARGS}|' \ - ${WRKSRC}/configure - @${REINPLACE_CMD} -e \ - 's|-lboost_program_options|-lboost_program_options -lGLU|' \ - ${WRKSRC}/fracplanet.pro + @${REINPLACE_CMD} -Ee 's|(OBJECTS_DIR)|#\1|' ${WRKSRC}/fracplanet.pro -.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN} -post-build: +post-build-DOXYGEN-on: cd ${WRKSRC} && doxygen . -.endif do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/man/man1/${PORTNAME}.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1/ @@ -77,13 +72,12 @@ do-install: ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} BUGS NEWS README THANKS \ - fracplanet.css fracplanet.htm ${STAGEDIR}${DOCSDIR} -. if ${PORT_OPTIONS:MDOXYGEN} - @(cd ${WRKSRC} && ${COPYTREE_SHARE} "html latex" ${STAGEDIR}${DOCSDIR}) -. endif -.endif + (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${STAGEDIR}${DOCSDIR}) -.include +post-install-DOXYGEN-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${COPYTREE_SHARE} "html latex" ${STAGEDIR}${DOCSDIR}) + +.include Modified: head/graphics/fracplanet/distinfo ============================================================================== --- head/graphics/fracplanet/distinfo Fri Jul 20 16:09:45 2018 (r475026) +++ head/graphics/fracplanet/distinfo Fri Jul 20 16:29:34 2018 (r475027) @@ -1,4 +1,5 @@ -SHA256 (fracplanet-0.4.0.tar.gz) = 38d56aba3c5cf19d4f2c218bece471d3860b161d2210a24ba94550356723482a -SIZE (fracplanet-0.4.0.tar.gz) = 101700 +TIMESTAMP = 1529683211 +SHA256 (fracplanet-0.5.1.tar.gz) = 435dd07e1798f810280260d09d2ee85e870eb466411e49b859eb1bef6f336ade +SIZE (fracplanet-0.5.1.tar.gz) = 111911 SHA256 (fracplanet_icons.tar.gz) = 99eeb8ed62d45083138402c41b2af79a4b432bfcb8e63cbe83090bb2d235063b SIZE (fracplanet_icons.tar.gz) = 51712