View | Details | Raw Unified | Return to bug 158480
Collapse All | Expand All

(-)graphics/fyre/Makefile (-19 / +28 lines)
Lines 6-50 Link Here
6
#
6
#
7
7
8
PORTNAME=	fyre
8
PORTNAME=	fyre
9
PORTVERSION=	1.0.0
9
PORTVERSION=	1.0.1
10
PORTREVISION=	11
11
CATEGORIES=	graphics
10
CATEGORIES=	graphics
12
MASTER_SITES=	http://releases.navi.cx/fyre/
11
MASTER_SITES=	http://releases.navi.cx/fyre/
13
12
14
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	Chaos map rendering system with GTK+-2 interface
14
COMMENT=	Chaos map rendering system with GTK+-2 interface
16
15
17
BUILD_DEPENDS=	update-desktop-database:${PORTSDIR}/devel/desktop-file-utils
16
OPTIONS=	OPT_CFLAGS "Enable additional optimizations (x86 only)" off \
18
LIB_DEPENDS=	IlmImf:${PORTSDIR}/graphics/OpenEXR \
17
		OPENEXR "Enable OpenEXR suport" on \
19
		gnet-2.0:${PORTSDIR}/net/gnet2
18
		GNET "Enable GNet support" on
19
20
LICENSE=	GPLv2 GPLv3
21
LICENSE_COMB=	dual
20
22
21
USE_BZIP2=	yes
23
USE_BZIP2=	yes
22
USE_GNOME=	libglade2 desktopfileutils
24
USE_GNOME=	desktopfileutils libglade2
23
INSTALLS_ICONS=	yes
24
USE_GMAKE=	yes
25
USE_GMAKE=	yes
25
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
26
MAKE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
27
MAKE_ENV=	LDFLAGS="${LDFLAGS}"
28
INSTALLS_ICONS=	yes
29
MAKE_JOBS_SAFE=	yes
27
30
28
.include <bsd.port.pre.mk>
31
.include <bsd.port.pre.mk>
29
32
30
.if ${ARCH} == "i386"
33
.if ${ARCH} == "i386" && defined(WITH_OPT_CFLAGS)
31
.if defined(WITH_OPTIMIZED_CFLAGS)
34
CFLAGS+=	-march=native -O3 -ffast-math -fomit-frame-pointer
32
CPPFLAGS+=	-march=i686 -O3 -ffast-math \
35
.endif
33
		-fomit-frame-pointer -D__NO_INLINE__
36
37
.if defined(WITHOUT_OPENEXR)
38
CONFIGURE_ARGS+=--disable-openexr
34
.else
39
.else
35
pre-everything::
40
LIB_DEPENDS+=	IlmImf.6:${PORTSDIR}/graphics/OpenEXR
36
	@${ECHO_CMD} ""
37
	@${ECHO_CMD} "The following options are available:"
38
	@${ECHO_CMD} "  WITH_OPTIMIZED_CFLAGS    - build port with optimization support"
39
	@${ECHO_CMD} ""
40
.endif
41
.endif
42
43
.if defined(WITHOUT_GNET)
44
CONFIGURE_ARGS+=--disable-gnet
45
.else
46
LIB_DEPENDS+=	gnet-2.0.0:${PORTSDIR}/net/gnet2
41
.endif
47
.endif
42
48
49
post-patch:
50
	@${REINPLACE_CMD} -e '/-O3/s|^|#|g' ${WRKSRC}/configure
51
43
post-install:
52
post-install:
44
	@-update-desktop-database
45
.if !defined(NOPORTDOCS)
53
.if !defined(NOPORTDOCS)
46
	@${MKDIR} ${DOCSDIR}
54
	@${MKDIR} ${DOCSDIR}
47
	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
55
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
48
.endif
56
.endif
57
	@-update-desktop-database
49
58
50
.include <bsd.port.post.mk>
59
.include <bsd.port.post.mk>
(-)graphics/fyre/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (fyre-1.0.0.tar.bz2) = 652f9c80569e7ddb85bf8de43222a2b37e5c6a80c2f01260215be8485a234f8e
1
SHA256 (fyre-1.0.1.tar.bz2) = dafca8e54c77f6078220a2687978914d8e4f7a045306ce4221c403b065425352
2
SIZE (fyre-1.0.0.tar.bz2) = 243544
2
SIZE (fyre-1.0.1.tar.bz2) = 263406
(-)graphics/fyre/pkg-plist (-5 / +4 lines)
Lines 4-17 Link Here
4
%%DATADIR%%/about-box.fa
4
%%DATADIR%%/about-box.fa
5
%%DATADIR%%/animation-render.glade
5
%%DATADIR%%/animation-render.glade
6
%%DATADIR%%/explorer.glade
6
%%DATADIR%%/explorer.glade
7
%%DATADIR%%/fyre-16x16.png
8
%%DATADIR%%/fyre-32x32.png
9
%%DATADIR%%/fyre-48x48.png
10
%%DATADIR%%/metadata-emblem.png
7
%%DATADIR%%/metadata-emblem.png
8
share/icons/hicolor/16x16/apps/fyre.png
9
share/icons/hicolor/22x22/apps/fyre.png
10
share/icons/hicolor/24x24/apps/fyre.png
11
share/icons/hicolor/48x48/mimetypes/application-x-fyre-animation.png
11
share/icons/hicolor/48x48/mimetypes/application-x-fyre-animation.png
12
share/icons/hicolor/scalable/apps/fyre.svg
12
share/mime/application/x-fyre-animation.xml
13
share/mime/application/x-fyre-animation.xml
13
share/mime/packages/fyre.xml
14
share/pixmaps/fyre-48x48.png
15
@dirrm %%DATADIR%%
14
@dirrm %%DATADIR%%
16
%%PORTDOCS%%@dirrm %%DOCSDIR%%
15
%%PORTDOCS%%@dirrm %%DOCSDIR%%
17
@dirrmtry share/applications
16
@dirrmtry share/applications

Return to bug 158480