2013-09-03 08:36:41 +02:00
|
|
|
# Created by: Adam Weinberger <adamw@FreeBSD.org>
|
2004-07-11 17:29:17 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= fyre
|
2011-07-02 18:09:38 +02:00
|
|
|
PORTVERSION= 1.0.1
|
2018-09-22 12:15:22 +02:00
|
|
|
PORTREVISION= 10
|
2004-07-11 17:29:17 +02:00
|
|
|
CATEGORIES= graphics
|
2011-03-15 17:11:10 +01:00
|
|
|
MASTER_SITES= http://releases.navi.cx/fyre/
|
2004-07-11 17:29:17 +02:00
|
|
|
|
2009-08-19 21:50:32 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-07-11 17:29:17 +02:00
|
|
|
COMMENT= Chaos map rendering system with GTK+-2 interface
|
|
|
|
|
2011-07-02 18:09:38 +02:00
|
|
|
LICENSE= GPLv2 GPLv3
|
|
|
|
LICENSE_COMB= dual
|
2005-01-15 19:43:33 +01:00
|
|
|
|
2014-04-27 14:19:53 +02:00
|
|
|
USES= desktop-file-utils gmake pkgconfig shared-mime-info tar:bzip2
|
|
|
|
USE_GNOME= libglade2
|
2005-01-15 19:43:33 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-07-02 18:09:38 +02:00
|
|
|
INSTALLS_ICONS= yes
|
2004-07-11 17:29:17 +02:00
|
|
|
|
2014-04-27 14:19:53 +02:00
|
|
|
OPTIONS_DEFINE= OPTIMIZED_CFLAGS OPENEXR GNET DOCS
|
|
|
|
OPTIONS_DEFAULT= OPENEXR GNET
|
|
|
|
|
|
|
|
OPENEXR_CONFIGURE_ENABLE= openexr
|
2018-09-22 12:15:22 +02:00
|
|
|
OPENEXR_LIB_DEPENDS= libIlmImf.so:graphics/openexr
|
2014-04-27 14:19:53 +02:00
|
|
|
|
|
|
|
GNET_DESC= Networking support via GNet
|
2015-10-08 17:11:28 +02:00
|
|
|
GNET_CONFIGURE_ENABLE= gnet
|
2016-04-01 16:00:51 +02:00
|
|
|
GNET_LIB_DEPENDS= libgnet-2.0.so:net/gnet2
|
2014-04-27 14:19:53 +02:00
|
|
|
|
2004-07-11 17:29:17 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2012-06-12 23:42:32 +02:00
|
|
|
.if ${ARCH} == "i386" && !empty(PORT_OPTIONS:MOPT_CFLAGS)
|
2011-07-02 18:09:38 +02:00
|
|
|
CFLAGS+= -march=native -O3 -ffast-math -fomit-frame-pointer
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/-O3/s|^|#|g' ${WRKSRC}/configure
|
|
|
|
|
2005-01-15 19:43:33 +01:00
|
|
|
post-install:
|
2014-04-27 14:19:53 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
2004-07-11 17:29:17 +02:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|