From owner-svn-ports-head@FreeBSD.ORG Sun Apr 27 12:19:54 2014 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 ESMTPS id 60AAE441; Sun, 27 Apr 2014 12:19:54 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 40A97E01; Sun, 27 Apr 2014 12:19:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3RCJsiG022054; Sun, 27 Apr 2014 12:19:54 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3RCJrrx022052; Sun, 27 Apr 2014 12:19:53 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201404271219.s3RCJrrx022052@svn.freebsd.org> From: Pawel Pekala Date: Sun, 27 Apr 2014 12:19:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r352412 - head/graphics/fyre 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.17 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: Sun, 27 Apr 2014 12:19:54 -0000 Author: pawel Date: Sun Apr 27 12:19:53 2014 New Revision: 352412 URL: http://svnweb.freebsd.org/changeset/ports/352412 QAT: https://qat.redports.org/buildarchive/r352412/ Log: - Add staging support - Convert to USES, options helpers Modified: head/graphics/fyre/Makefile head/graphics/fyre/pkg-plist Modified: head/graphics/fyre/Makefile ============================================================================== --- head/graphics/fyre/Makefile Sun Apr 27 12:05:37 2014 (r352411) +++ head/graphics/fyre/Makefile Sun Apr 27 12:19:53 2014 (r352412) @@ -3,55 +3,42 @@ PORTNAME= fyre PORTVERSION= 1.0.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics MASTER_SITES= http://releases.navi.cx/fyre/ MAINTAINER= ports@FreeBSD.org COMMENT= Chaos map rendering system with GTK+-2 interface -OPTIONS_DEFINE= OPTIMIZED_CFLAGS OPENEXR GNET DOCS -OPTIONS_DEFAULT= OPENEXR GNET -OPENEXR_DESC= Enable OpenEXR suport -GNET_DESC= Enable GNet support - LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual -USES= gmake pkgconfig -USE_BZIP2= yes -USE_GNOME= desktopfileutils libglade2 -USE_GMAKE= yes +USES= desktop-file-utils gmake pkgconfig shared-mime-info tar:bzip2 +USE_GNOME= libglade2 GNU_CONFIGURE= yes INSTALLS_ICONS= yes -NO_STAGE= yes +OPTIONS_DEFINE= OPTIMIZED_CFLAGS OPENEXR GNET DOCS +OPTIONS_DEFAULT= OPENEXR GNET + +OPENEXR_CONFIGURE_ENABLE= openexr +OPENEXR_LIB_DEPENDS= libIlmImf.so:${PORTSDIR}/graphics/OpenEXR + +GNET_DESC= Networking support via GNet +GNET_CONFIGURE_ENABLE= gnet +GNET_LIB_DEPENDS= libgnet-2.0.so:${PORTSDIR}/net/gnet2 + .include .if ${ARCH} == "i386" && !empty(PORT_OPTIONS:MOPT_CFLAGS) CFLAGS+= -march=native -O3 -ffast-math -fomit-frame-pointer .endif -.if ${PORT_OPTIONS:MOPENEXR} -LIB_DEPENDS+= IlmImf:${PORTSDIR}/graphics/OpenEXR -.else -CONFIGURE_ARGS+=--disable-openexr -.endif - -.if ${PORT_OPTIONS:MGNET} -LIB_DEPENDS+= gnet-2.0.0:${PORTSDIR}/net/gnet2 -.else -CONFIGURE_ARGS+=--disable-gnet -.endif - post-patch: @${REINPLACE_CMD} -e '/-O3/s|^|#|g' ${WRKSRC}/configure post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif - @-update-desktop-database + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include Modified: head/graphics/fyre/pkg-plist ============================================================================== --- head/graphics/fyre/pkg-plist Sun Apr 27 12:05:37 2014 (r352411) +++ head/graphics/fyre/pkg-plist Sun Apr 27 12:19:53 2014 (r352412) @@ -10,11 +10,6 @@ share/icons/hicolor/22x22/apps/fyre.png share/icons/hicolor/24x24/apps/fyre.png share/icons/hicolor/48x48/mimetypes/application-x-fyre-animation.png share/icons/hicolor/scalable/apps/fyre.svg -share/mime/application/x-fyre-animation.xml share/mime/packages/fyre.xml @dirrm %%DATADIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%% -@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime -@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime -@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true -@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true