- disable gnet support, gnet is deprecated and ought to be removed.

- install a .desktop file while here.
This commit is contained in:
jasper 2012-07-17 10:05:34 +00:00
parent 028a6d3796
commit 7c8a5a8e57
3 changed files with 21 additions and 37 deletions

View File

@ -1,26 +1,25 @@
# $OpenBSD: Makefile,v 1.21 2012/06/15 08:32:16 ajacoutot Exp $ # $OpenBSD: Makefile,v 1.22 2012/07/17 10:05:34 jasper Exp $
COMMENT= tool for producing computational artwork COMMENT= tool for producing computational artwork
DISTNAME= fyre-1.0.1 DISTNAME= fyre-1.0.1
REVISION= 12 REVISION= 13
CATEGORIES= graphics CATEGORIES= graphics
HOMEPAGE= http://fyre.navi.cx/ HOMEPAGE= http://fyre.navi.cx/
# GPL # GPLv2
PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes PERMIT_DISTFILES_FTP= Yes
WANTLIB= Half Iex IlmThread Imath X11 Xcomposite Xcursor \ WANTLIB += GL Half Iex IlmImf IlmThread Imath X11 Xcomposite Xcursor
Xdamage Xext Xfixes Xi Xinerama Xrandr Xrender \ WANTLIB += Xdamage Xext Xfixes Xi Xinerama Xrandr Xrender atk-1.0
atk-1.0 c cairo expat fontconfig freetype gdk-x11-2.0 \ WANTLIB += c cairo expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
gdk_pixbuf-2.0 glib-2.0 gmodule-2.0 gobject-2.0 \ WANTLIB += gio-2.0 glade-2.0 glib-2.0 gobject-2.0 gtk-x11-2.0
gthread-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0 \ WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
pangoft2-1.0 pixman-1 png pthread stdc++ xml2 z gio-2.0 \ WANTLIB += pthread pthread-stubs stdc++ xcb xcb-render xcb-shm
pthread-stubs xcb glade-2.0 IlmImf>=4 gnet-2.0 \ WANTLIB += xml2 z
GL xcb-render xcb-shm
MASTER_SITES= http://releases.navi.cx/fyre/ \ MASTER_SITES= http://releases.navi.cx/fyre/ \
http://distfiles.nl/ http://distfiles.nl/
@ -29,18 +28,20 @@ MODULES= devel/gettext
BUILD_DEPENDS= textproc/rarian BUILD_DEPENDS= textproc/rarian
LIB_DEPENDS= devel/libglade2 \ LIB_DEPENDS= devel/libglade2 \
graphics/openexr \ graphics/openexr
net/gnet RUN_DEPENDS= devel/desktop-file-utils \
RUN_DEPENDS= misc/shared-mime-info \ misc/shared-mime-info \
x11/gtk+2,-guic x11/gtk+2,-guic
USE_GMAKE= Yes USE_GMAKE= Yes
CONFIGURE_STYLE= gnu CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --enable-openexr \ CONFIGURE_ARGS= --enable-openexr \
--enable-gnet --disable-gnet
# quirky, but prevents a patch
post-patch: post-patch:
@ln -s /usr/bin/true ${WRKDIR}/bin/update-mime-database @ln -s /usr/bin/true ${WRKDIR}/bin/update-mime-database
@ln -s /usr/bin/true ${WRKDIR}/bin/update-desktop-database
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-data-Makefile_in,v 1.1.1.1 2007/05/21 14:24:06 jasper Exp $
--- data/Makefile.in.orig Mon Oct 9 06:01:08 2006
+++ data/Makefile.in Mon May 21 14:53:37 2007
@@ -187,13 +187,13 @@ fyredata_DATA = \
metadata-emblem.png \
about-box.fa
-@ENABLE_FDODESKTOP_TRUE@desktopdir = $(datadir)/applications
-@ENABLE_FDODESKTOP_TRUE@desktop_DATA = fyre.desktop
-@ENABLE_FDODESKTOP_FALSE@update_fdodesktop = /bin/true
+@ENABLE_FDODESKTOP_TRUE@desktopdir =
+@ENABLE_FDODESKTOP_TRUE@desktop_DATA =
+@ENABLE_FDODESKTOP_FALSE@update_fdodesktop = /usr/bin/true
@ENABLE_FDODESKTOP_TRUE@update_fdodesktop = update-desktop-database
@ENABLE_XDGMIME_TRUE@xdgmimedir = $(datadir)/mime/packages
@ENABLE_XDGMIME_TRUE@xdgmime_DATA = fyre.xml
-@ENABLE_XDGMIME_FALSE@update_xdgmime = /bin/true
+@ENABLE_XDGMIME_FALSE@update_xdgmime = /usr/bin/true
@ENABLE_XDGMIME_TRUE@update_xdgmime = update-mime-database $(datadir)/mime
@ENABLE_XDGMIME_TRUE@xdgicondir = $(datadir)/icons/hicolor/48x48/mimetypes
@ENABLE_XDGMIME_TRUE@xdgicon_DATA = application-x-fyre-animation.png

View File

@ -1,5 +1,7 @@
@comment $OpenBSD: PLIST,v 1.6 2012/06/15 08:32:16 ajacoutot Exp $ @comment $OpenBSD: PLIST,v 1.7 2012/07/17 10:05:34 jasper Exp $
@bin bin/fyre @bin bin/fyre
share/applications/
share/applications/fyre.desktop
share/fyre/ share/fyre/
share/fyre/about-box.fa share/fyre/about-box.fa
share/fyre/animation-render.glade share/fyre/animation-render.glade
@ -15,3 +17,5 @@ share/mime/packages/fyre.xml
@unexec-delete %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor @unexec-delete %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
@exec %D/bin/update-mime-database %D/share/mime @exec %D/bin/update-mime-database %D/share/mime
@unexec-delete %D/bin/update-mime-database %D/share/mime @unexec-delete %D/bin/update-mime-database %D/share/mime
@exec %D/bin/update-desktop-database
@unexec-delete %D/bin/update-desktop-database