mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
54 lines
1.3 KiB
Makefile
54 lines
1.3 KiB
Makefile
# 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= 7
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://samy.kerneled.org/ports/ \
|
|
http://www.felinemenace.org/~nemo/
|
|
|
|
MAINTAINER= sbahra@gwu.edu
|
|
COMMENT= Chaos map rendering system with GTK+-2 interface
|
|
|
|
BUILD_DEPENDS= update-desktop-database:${PORTSDIR}/devel/desktop-file-utils
|
|
LIB_DEPENDS= IlmImf:${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>
|