summaryrefslogtreecommitdiffstats
path: root/graphics/fyre/Makefile
blob: dd2f5b5322f036691a23f7573de37a28e3770fca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# 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=	2
CATEGORIES=	graphics
MASTER_SITES=	http://flapjack.navi.cx/releases/fyre/

MAINTAINER=	samy@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_X_PREFIX=	yes
USE_GNOME=	libglade2
USE_GETOPT_LONG=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

# check for update-desktop-database should go here
PLIST_SUB+=	WITH_FDO="@comment "

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud