aboutsummaryrefslogtreecommitdiff
path: root/graphics/fyre
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-04-27 12:19:53 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-04-27 12:19:53 +0000
commit2eca9b9125014fab1c418c4dd1b8f41749fc2e01 (patch)
treee297ebfc0e742350533c660f13b7faf5ff6f2460 /graphics/fyre
parent909dbfce86b1df24d18d0b0ff7dec9b16e8957c5 (diff)
downloadports-2eca9b9125014fab1c418c4dd1b8f41749fc2e01.tar.gz
ports-2eca9b9125014fab1c418c4dd1b8f41749fc2e01.zip
Notes
Diffstat (limited to 'graphics/fyre')
-rw-r--r--graphics/fyre/Makefile43
-rw-r--r--graphics/fyre/pkg-plist5
2 files changed, 15 insertions, 33 deletions
diff --git a/graphics/fyre/Makefile b/graphics/fyre/Makefile
index 1d8a94941e44..bc865b4c4249 100644
--- a/graphics/fyre/Makefile
+++ b/graphics/fyre/Makefile
@@ -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 <bsd.port.pre.mk>
.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 <bsd.port.post.mk>
diff --git a/graphics/fyre/pkg-plist b/graphics/fyre/pkg-plist
index 83126078e8f0..f2b1577d624c 100644
--- a/graphics/fyre/pkg-plist
+++ b/graphics/fyre/pkg-plist
@@ -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