From owner-svn-ports-all@FreeBSD.ORG Wed Mar 26 12:17:00 2014 Return-Path: Delivered-To: svn-ports-all@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 ESMTPS id B9CC4753; Wed, 26 Mar 2014 12:17:00 +0000 (UTC) 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 99F06F8A; Wed, 26 Mar 2014 12:17:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2QCH0uL069460; Wed, 26 Mar 2014 12:17:00 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2QCH0Z6069451; Wed, 26 Mar 2014 12:17:00 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201403261217.s2QCH0Z6069451@svn.freebsd.org> From: Rusmir Dusko Date: Wed, 26 Mar 2014 12:17:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r349244 - head/graphics/gnofract4d 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.17 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: Wed, 26 Mar 2014 12:17:00 -0000 Author: nemysis Date: Wed Mar 26 12:16:59 2014 New Revision: 349244 URL: http://svnweb.freebsd.org/changeset/ports/349244 QAT: https://qat.redports.org/buildarchive/r349244/ Log: - Update to 3.14.1 - Take maintainership - Change license BSD to BSD3CLAUSE - Use the new format for LIB_DEPENDS - USES pathfix instead of USE_GNOME gnomehack - Add USES desktop-file-utils pkgconfig shared-mime-info - Use PYDISTUTILS_AUTOPLIST=yes and PLIST_FILES instead of pkg-plist - Add USE_GCC=yes and add REINPLACE, fix bad gcc usage - Support STAGEDIR - Comply with OptionsNG - Simplify DOCS installation handling, install conditional and add Option - Remove obsolete REINPLACE, changed by upstream - Strip library - Add manual page - Change pkg-descr PR: ports/177352 Submitted by: nemysis (self) Approved by: maintainer Deleted: head/graphics/gnofract4d/pkg-plist Modified: head/graphics/gnofract4d/Makefile head/graphics/gnofract4d/distinfo head/graphics/gnofract4d/pkg-descr Modified: head/graphics/gnofract4d/Makefile ============================================================================== --- head/graphics/gnofract4d/Makefile Wed Mar 26 12:08:10 2014 (r349243) +++ head/graphics/gnofract4d/Makefile Wed Mar 26 12:16:59 2014 (r349244) @@ -2,66 +2,57 @@ # $FreeBSD$ PORTNAME= gnofract4d -PORTVERSION= 3.14 -PORTREVISION= 1 +PORTVERSION= 3.14.1 CATEGORIES= graphics gnome MASTER_SITES= SF -MAINTAINER= sylvio@FreeBSD.org +MAINTAINER= nemysis@FreeBSD.org COMMENT= Weird GNOME fractal generator -LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \ - png15:${PORTSDIR}/graphics/png +LICENSE= BSD3CLAUSE -LICENSE= BSD +LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ + libpng15.so:${PORTSDIR}/graphics/png -USE_GNOME= gnomehack gnomeprefix intlhack libgnomeui lthack \ - pygtk2 +USES= desktop-file-utils pathfix pkgconfig shared-mime-info +USE_GNOME= gnomeprefix intlhack libgnomeui lthack pygtk2 USE_PYTHON= yes -USE_PYDISTUTILS=yes - -CFLAGS+= -I${LOCALBASE}/include -PORTDOCS= README COPYING +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes INSTALLS_EGGINFO= yes PYDISTUTILS_EGGINFODIR= ${PYTHON_SITELIBDIR} +USE_GCC= yes + +CFLAGS+= -I${LOCALBASE}/include -NO_STAGE= yes -.include +PLIST_FILES= man/man1/gnofract4d.1.gz + +PORTDOCS= README +OPTIONS_DEFINE= DOCS + +.include post-patch: - # where to install libraries - @${REINPLACE_CMD} \ - -e 's,\(^install_lib =\).*,\1${PREFIX}/lib/${PORTNAME},' \ - ${WRKSRC}/setup.cfg - - # contain in DATADIR - # ('share/foobar/gnofract4d' -> # 'share/gnofract4d/foobar') - @${FIND} ${WRKSRC} -name '*.py' -exec \ - ${REINPLACE_CMD} \ - -e "s,\([\"']\)share/\([^/]*\)/gnofract4d\1,\1${DATADIR:C/${PREFIX}\///}/\2\1," {} \; - - # libraries again - @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/gnofract4d - - # fix NOPORTDOCS - @${REINPLACE_CMD} -e '249,251d' ${WRKSRC}/setup.py - - # fixup library detection - @${REINPLACE_CMD} -e "s/libpng/libpng15/" ${WRKSRC}/setup.py - @${REINPLACE_CMD} \ - -e "s,/usr/include/jpeglib.h,${LOCALBASE}/include/jpeglib.h," \ - ${WRKSRC}/setup.py - - # png14 - @${REINPLACE_CMD} -e "s/png_infopp_NULL/NULL/g" \ - -e "s/png_bytepp_NULL/NULL/g" \ - -e "s/int_p_NULL/NULL/g" \ - ${WRKSRC}/fract4d/c/imageIO.cpp + @${REINPLACE_CMD} -e 's|/usr/include/|${LOCALBASE}/include/|; \ + /# doc files/,+2d' \ + ${WRKSRC}/setup.py + @${REINPLACE_CMD} -e 's|"CC"|"${CC}"|; s|"gcc"|"${CC}"|' \ + ${WRKSRC}/setup.py \ + ${WRKSRC}/fract4d/test_fractconfig.py \ + ${WRKSRC}/fract4d/fc.py + @${REINPLACE_CMD} -e 's|gcc|${CC}|' \ + ${WRKSRC}/fract4d/test_codegen.py \ + ${WRKSRC}/fract4d/fractconfig.py post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ -.endif +.for l in fract4d_stdlib fract4dc + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/fract4d/${l}.so +.endfor + + ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \ + ${STAGEDIR}${MAN1PREFIX}/man/man1/ + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} -.include +.include Modified: head/graphics/gnofract4d/distinfo ============================================================================== --- head/graphics/gnofract4d/distinfo Wed Mar 26 12:08:10 2014 (r349243) +++ head/graphics/gnofract4d/distinfo Wed Mar 26 12:16:59 2014 (r349244) @@ -1,2 +1,2 @@ -SHA256 (gnofract4d-3.14.tar.gz) = bdd8e950a98221054d52883d5303a435cbaa3d5d4239c36aff91598a6433d20a -SIZE (gnofract4d-3.14.tar.gz) = 862499 +SHA256 (gnofract4d-3.14.1.tar.gz) = dea77e4119a488cdc5ae29dc64f2975eaaa7bbaca84e1c02aa016ff1eb5c59dc +SIZE (gnofract4d-3.14.1.tar.gz) = 884442 Modified: head/graphics/gnofract4d/pkg-descr ============================================================================== --- head/graphics/gnofract4d/pkg-descr Wed Mar 26 12:08:10 2014 (r349243) +++ head/graphics/gnofract4d/pkg-descr Wed Mar 26 12:16:59 2014 (r349244) @@ -1,7 +1,7 @@ -Gnofract4D is a weird fractal-generating program -written for the GNOME project. But it makes very -nice looking fractals. Worth a try for those -graphics freaks (like me ;). +Gnofract 4D is a free, open source program which allows anyone to create +beautiful images called fractals. The images are automatically created by +the computer based on mathematical principles. These include the Mandelbrot +and Julia sets and many more. You don't need to do any math: you can explore +a universe of images just using a mouse. -Author: Edwin Young WWW: http://gnofract4d.sourceforge.net/