From owner-svn-ports-head@FreeBSD.ORG Fri Oct 4 22:34:14 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0E5795D0; Fri, 4 Oct 2013 22:34:14 +0000 (UTC) (envelope-from nemysis@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EF94A2AFC; Fri, 4 Oct 2013 22:34:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r94MYDSD033837; Fri, 4 Oct 2013 22:34:13 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r94MYCeh033832; Fri, 4 Oct 2013 22:34:12 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201310042234.r94MYCeh033832@svn.freebsd.org> From: Rusmir Dusko Date: Fri, 4 Oct 2013 22:34:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329400 - in head/graphics/fracplanet: . 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-head@freebsd.org X-Mailman-Version: 2.1.14 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, 04 Oct 2013 22:34:14 -0000 Author: nemysis Date: Fri Oct 4 22:34:12 2013 New Revision: 329400 URL: http://svnweb.freebsd.org/changeset/ports/329400 Log: - Bump PORTREVISION - Add master sites and icons - Change maintainership to submitter - Add license (GPLv2) - Use the new format for LIB_DEPENDS - USES gmake - Add docs - Add Desktop entry file - Add OPTIONS_GROUP DOXYGEN, add DOCS, HTML and LATEX Options - Add HTML to default Options - Add dependency for devel/doxygen - Use REINPLACE_CMD instead of simple patches - Add pkg-plist Approved by: wg/pawel (mentors) Added: head/graphics/fracplanet/pkg-plist (contents, props changed) Deleted: head/graphics/fracplanet/files/patch-fracplanet.pro Modified: head/graphics/fracplanet/Makefile (contents, props changed) head/graphics/fracplanet/distinfo (contents, props changed) head/graphics/fracplanet/files/patch-triangle_mesh_viewer_display.cpp (contents, props changed) head/graphics/fracplanet/pkg-descr (contents, props changed) Modified: head/graphics/fracplanet/Makefile ============================================================================== --- head/graphics/fracplanet/Makefile Fri Oct 4 22:29:20 2013 (r329399) +++ head/graphics/fracplanet/Makefile Fri Oct 4 22:34:12 2013 (r329400) @@ -3,46 +3,92 @@ PORTNAME= fracplanet PORTVERSION= 0.4.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics -MASTER_SITES= SF +MASTER_SITES= SF \ + SF/nemysisfreebsdp/:icons +DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ + ${PORTNAME}_icons.tar.gz:icons -MAINTAINER= ports@FreeBSD.org -COMMENT= An interactive generator of planets and terrain +MAINTAINER= nemysis@FreeBSD.org +COMMENT= Interactive tool for creating random fractal planets and terrain + +LICENSE= GPLv2 BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt -LIB_DEPENDS= boost_program_options:${PORTSDIR}/devel/boost-libs +LIB_DEPENDS= libboost_program_options.so:${PORTSDIR}/devel/boost-libs WRKSRC= ${WRKDIR}/${PORTNAME} +USES= gmake USE_GL= glu -USE_QT4= corelib gui opengl \ - moc_build qmake_build +USE_QT4= corelib moc_build qmake_build gui opengl QT_NONSTANDARD= yes HAS_CONFIGURE= yes CONFIGURE_ENV= QTDIR="${QT_PREFIX}" CONFIGURE_ARGS= -spec ${QMAKESPEC} -USE_GMAKE= yes -MAN1= ${PORTNAME}.1 -PORTDOCS= ${PORTNAME}.css ${PORTNAME}.htm -PLIST_FILES= bin/${PORTNAME} +PORTDOCS= * + +DOCSRCDIR1= ${WRKSRC} +DOC_FILES1= BUGS NEWS README THANKS TODO ${PORTNAME}.css ${PORTNAME}.htm + +INSTALLS_ICONS= yes +ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 + +DESKTOP_ENTRIES="Fracplanet" "${COMMENT}" "${PORTNAME}" \ + "${PORTNAME}" "Graphics;" false + +OPTIONS_DEFINE= DOCS +OPTIONS_GROUP= DOXYGEN +OPTIONS_GROUP_DOXYGEN= HTML LATEX + +OPTIONS_DEFAULT= HTML + +HTML_DESC= Install HTML Doxygen files +LATEX_DESC= Install LaTeX Doxygen files + +.include + +.if ${PORT_OPTIONS:MHTML} || ${PORT_OPTIONS:MLATEX} +BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen +.endif -NO_STAGE= yes post-patch: -.for file in BUILD VERSION configure - @${REINPLACE_CMD} -e \ - '/^#!/s|/.*bash|/bin/sh|g' ${WRKSRC}/${file} +.for f in BUILD VERSION configure + @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' \ + ${WRKSRC}/${f} .endfor + @${REINPLACE_CMD} -e 's|-lboost_program_options|-lboost_program_options -lGLU|' \ + ${WRKSRC}/fracplanet.pro do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/man/man1/${PORTNAME}.1 ${MAN1PREFIX}/man/man1 -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for file in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/man/man1/fracplanet.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ + +.for s in ${ICON_SIZES} + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/ + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \ + ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png .endfor + ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps + +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} +.endif + +.if ${PORT_OPTIONS:MHTML} || ${PORT_OPTIONS:MLATEX} + @cd ${WRKSRC} && doxygen . +.endif + +.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MHTML} + @(cd ${WRKSRC} && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}) +.endif + +.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MLATEX} + @(cd ${WRKSRC} && ${COPYTREE_SHARE} latex ${STAGEDIR}${DOCSDIR}) .endif .include Modified: head/graphics/fracplanet/distinfo ============================================================================== --- head/graphics/fracplanet/distinfo Fri Oct 4 22:29:20 2013 (r329399) +++ head/graphics/fracplanet/distinfo Fri Oct 4 22:34:12 2013 (r329400) @@ -1,2 +1,4 @@ SHA256 (fracplanet-0.4.0.tar.gz) = 38d56aba3c5cf19d4f2c218bece471d3860b161d2210a24ba94550356723482a SIZE (fracplanet-0.4.0.tar.gz) = 101700 +SHA256 (fracplanet_icons.tar.gz) = 99eeb8ed62d45083138402c41b2af79a4b432bfcb8e63cbe83090bb2d235063b +SIZE (fracplanet_icons.tar.gz) = 51712 Modified: head/graphics/fracplanet/files/patch-triangle_mesh_viewer_display.cpp ============================================================================== --- head/graphics/fracplanet/files/patch-triangle_mesh_viewer_display.cpp Fri Oct 4 22:29:20 2013 (r329399) +++ head/graphics/fracplanet/files/patch-triangle_mesh_viewer_display.cpp Fri Oct 4 22:34:12 2013 (r329400) @@ -1,5 +1,5 @@ ---- triangle_mesh_viewer_display.cpp~ 2012-05-19 23:49:24.000000000 -0300 -+++ triangle_mesh_viewer_display.cpp 2012-05-19 23:49:55.000000000 -0300 +--- triangle_mesh_viewer_display.cpp.orig 2009-10-05 00:26:36.000000000 +0200 ++++ triangle_mesh_viewer_display.cpp 2013-10-03 00:25:53.000000000 +0200 @@ -24,6 +24,8 @@ #include "matrix33.h" #include "triangle_mesh_viewer.h" Modified: head/graphics/fracplanet/pkg-descr ============================================================================== --- head/graphics/fracplanet/pkg-descr Fri Oct 4 22:29:20 2013 (r329399) +++ head/graphics/fracplanet/pkg-descr Fri Oct 4 22:34:12 2013 (r329400) @@ -3,4 +3,4 @@ with oceans, mountains, icecaps and rive interactively and the results displayed using OpenGL. The generated objects can be dumped in Pov-Ray format. -WWW: http://www.bottlenose.demon.co.uk/share/fracplanet +WWW: http://www.bottlenose.demon.co.uk/share/fracplanet/ Added: head/graphics/fracplanet/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/fracplanet/pkg-plist Fri Oct 4 22:34:12 2013 (r329400) @@ -0,0 +1,8 @@ +bin/fracplanet +man/man1/fracplanet.1.gz +share/icons/hicolor/32x32/apps/fracplanet.png +share/icons/hicolor/48x48/apps/fracplanet.png +share/icons/hicolor/64x64/apps/fracplanet.png +share/icons/hicolor/72x72/apps/fracplanet.png +share/icons/hicolor/96x96/apps/fracplanet.png +share/pixmaps/fracplanet.png