ports/158480: Update port: graphics/fyre to 1.0.1

KATO Tsuguru tkato432 at yahoo.com
Wed Jun 29 18:30:17 UTC 2011


>Number:         158480
>Category:       ports
>Synopsis:       Update port: graphics/fyre to 1.0.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 29 18:30:16 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 1.0.1

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/fyre/Makefile graphics/fyre/Makefile
--- /usr/ports/graphics/fyre/Makefile	2011-03-16 06:51:37.000000000 +0900
+++ graphics/fyre/Makefile	2011-05-16 15:41:07.000000000 +0900
@@ -6,45 +6,54 @@
 #
 
 PORTNAME=	fyre
-PORTVERSION=	1.0.0
-PORTREVISION=	11
+PORTVERSION=	1.0.1
 CATEGORIES=	graphics
 MASTER_SITES=	http://releases.navi.cx/fyre/
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Chaos map rendering system with GTK+-2 interface
 
-BUILD_DEPENDS=	update-desktop-database:${PORTSDIR}/devel/desktop-file-utils
-LIB_DEPENDS=	IlmImf:${PORTSDIR}/graphics/OpenEXR \
-		gnet-2.0:${PORTSDIR}/net/gnet2
+OPTIONS=	OPT_CFLAGS "Enable additional optimizations (x86 only)" off \
+		OPENEXR "Enable OpenEXR suport" on \
+		GNET "Enable GNet support" on
+
+LICENSE=	GPLv2 GPLv3
+LICENSE_COMB=	dual
 
 USE_BZIP2=	yes
-USE_GNOME=	libglade2 desktopfileutils
-INSTALLS_ICONS=	yes
+USE_GNOME=	desktopfileutils libglade2
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-MAKE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+MAKE_ENV=	LDFLAGS="${LDFLAGS}"
+INSTALLS_ICONS=	yes
+MAKE_JOBS_SAFE=	yes
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == "i386"
-.if defined(WITH_OPTIMIZED_CFLAGS)
-CPPFLAGS+=	-march=i686 -O3 -ffast-math \
-		-fomit-frame-pointer -D__NO_INLINE__
+.if ${ARCH} == "i386" && defined(WITH_OPT_CFLAGS)
+CFLAGS+=	-march=native -O3 -ffast-math -fomit-frame-pointer
+.endif
+
+.if defined(WITHOUT_OPENEXR)
+CONFIGURE_ARGS+=--disable-openexr
 .else
-pre-everything::
-	@${ECHO_CMD} ""
-	@${ECHO_CMD} "The following options are available:"
-	@${ECHO_CMD} "  WITH_OPTIMIZED_CFLAGS    - build port with optimization support"
-	@${ECHO_CMD} ""
+LIB_DEPENDS+=	IlmImf.6:${PORTSDIR}/graphics/OpenEXR
 .endif
+
+.if defined(WITHOUT_GNET)
+CONFIGURE_ARGS+=--disable-gnet
+.else
+LIB_DEPENDS+=	gnet-2.0.0:${PORTSDIR}/net/gnet2
 .endif
 
+post-patch:
+	@${REINPLACE_CMD} -e '/-O3/s|^|#|g' ${WRKSRC}/configure
+
 post-install:
-	@-update-desktop-database
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
 .endif
+	@-update-desktop-database
 
 .include <bsd.port.post.mk>
diff -urN /usr/ports/graphics/fyre/distinfo graphics/fyre/distinfo
--- /usr/ports/graphics/fyre/distinfo	2011-03-16 06:51:37.000000000 +0900
+++ graphics/fyre/distinfo	2011-03-21 17:45:40.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (fyre-1.0.0.tar.bz2) = 652f9c80569e7ddb85bf8de43222a2b37e5c6a80c2f01260215be8485a234f8e
-SIZE (fyre-1.0.0.tar.bz2) = 243544
+SHA256 (fyre-1.0.1.tar.bz2) = dafca8e54c77f6078220a2687978914d8e4f7a045306ce4221c403b065425352
+SIZE (fyre-1.0.1.tar.bz2) = 263406
diff -urN /usr/ports/graphics/fyre/pkg-plist graphics/fyre/pkg-plist
--- /usr/ports/graphics/fyre/pkg-plist	2007-05-20 13:51:06.000000000 +0900
+++ graphics/fyre/pkg-plist	2011-05-16 15:30:52.000000000 +0900
@@ -4,14 +4,13 @@
 %%DATADIR%%/about-box.fa
 %%DATADIR%%/animation-render.glade
 %%DATADIR%%/explorer.glade
-%%DATADIR%%/fyre-16x16.png
-%%DATADIR%%/fyre-32x32.png
-%%DATADIR%%/fyre-48x48.png
 %%DATADIR%%/metadata-emblem.png
+share/icons/hicolor/16x16/apps/fyre.png
+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
-share/pixmaps/fyre-48x48.png
 @dirrm %%DATADIR%%
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrmtry share/applications
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list