From b9ed7be0b5f37eda61687e3f1686b3735a7767e0 Mon Sep 17 00:00:00 2001
From: mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>
Date: Sat, 30 Sep 2006 04:03:45 +0000
Subject: -USE_X_PREFIX -> USE_XLIB. -Depend on desktopfileutils and manual run
 update-desktop-database. -Add INSTALLS_ICONS -Fix the plist. -Bump the
 PORTREVISION.

git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7392 df743ca5-7f9a-e211-a948-0013205c9059
---
 graphics/fyre/Makefile  | 52 +++++++++++++++++++++++++++++++++++++++++++++++++
 graphics/fyre/distinfo  |  3 +++
 graphics/fyre/pkg-descr | 14 +++++++++++++
 graphics/fyre/pkg-plist | 22 +++++++++++++++++++++
 4 files changed, 91 insertions(+)
 create mode 100644 graphics/fyre/Makefile
 create mode 100644 graphics/fyre/distinfo
 create mode 100644 graphics/fyre/pkg-descr
 create mode 100644 graphics/fyre/pkg-plist

(limited to 'graphics')

diff --git a/graphics/fyre/Makefile b/graphics/fyre/Makefile
new file mode 100644
index 000000000..db064c8b5
--- /dev/null
+++ b/graphics/fyre/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for:	fyre
+# Date created:				2004 11 July
+# Whom:					Adam Weinberger <adamw@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME=	fyre
+PORTVERSION=	1.0.0
+PORTREVISION=	3
+CATEGORIES=	graphics
+MASTER_SITES=	http://samy.kerneled.org/ports/ \
+		http://www.felinemenace.org/~nemo/
+
+MAINTAINER=	sbahra@kerneled.org
+COMMENT=	Chaos map rendering system with GTK+-2 interface
+
+LIB_DEPENDS=	Half:${PORTSDIR}/graphics/OpenEXR \
+		gnet-2.0:${PORTSDIR}/net/gnet2
+
+USE_BZIP2=	yes
+USE_XLIB=	yes
+USE_GNOME=	libglade2 desktopfileutils
+USE_GETOPT_LONG=yes
+INSTALLS_ICONS=	yes
+USE_GMAKE=	yes
+GNU_CONFIGURE=	yes
+MAKE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
+.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__
+.else
+pre-everything::
+	@${ECHO_CMD} ""
+	@${ECHO_CMD} "The following options are available:"
+	@${ECHO_CMD} "  WITH_OPTIMIZED_CFLAGS    - build port with optimization support"
+	@${ECHO_CMD} ""
+.endif
+.endif
+
+post-install:
+	@-update-desktop-database
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/graphics/fyre/distinfo b/graphics/fyre/distinfo
new file mode 100644
index 000000000..b30fb3c30
--- /dev/null
+++ b/graphics/fyre/distinfo
@@ -0,0 +1,3 @@
+MD5 (fyre-1.0.0.tar.bz2) = 5da821b3166d3de187cc7d84bb1dc4d3
+SHA256 (fyre-1.0.0.tar.bz2) = 652f9c80569e7ddb85bf8de43222a2b37e5c6a80c2f01260215be8485a234f8e
+SIZE (fyre-1.0.0.tar.bz2) = 243544
diff --git a/graphics/fyre/pkg-descr b/graphics/fyre/pkg-descr
new file mode 100644
index 000000000..a0a18754b
--- /dev/null
+++ b/graphics/fyre/pkg-descr
@@ -0,0 +1,14 @@
+Fyre provides a rendering of the Peter de Jong map, with an interactive
+GTK+ 2 frontend and a command line interface for easy and efficient
+rendering of high-resolution, high quality images.
+
+This program was previously known as 'de Jong Explorer', but has been
+renamed to make way for supporting other chaotic functions.
+
+All the images you can create with this program are based on the simple
+Peter de Jong map equations:
+
+   x' = sin(a * y) - cos(b * x)
+   y' = sin(c * x) - cos(d * y)
+
+WWW: http://fyre.navi.cx/
diff --git a/graphics/fyre/pkg-plist b/graphics/fyre/pkg-plist
new file mode 100644
index 000000000..30f9fceb4
--- /dev/null
+++ b/graphics/fyre/pkg-plist
@@ -0,0 +1,22 @@
+bin/fyre
+share/applications/fyre.desktop
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%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/48x48/mimetypes/application-x-fyre-animation.png
+share/mime/application/x-fyre-animation.xml
+share/mime/packages/fyre.xml
+share/pixmaps/fyre-48x48.png
+@dirrmtry share/pixmaps
+@dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrmtry share/applications
+@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
-- 
cgit v1.2.3