freebsd-ports/science/flounder/Makefile
Koop Mast 5aa7246575 Switch from libglut to freeglut and retire libglut. Libglut hasn't been
developed in years and has been dropped from the MESA 8.0 distribution.
Freeglut is a rewrite of glut and is actively developed and is used by
many linux distributions instead of libglut.

Bump all ports that directly depend on libglut because of the shlib version
change.

There are some extra items in this patch.

*) Because freeglut doesn't have the same dependancies as libglut, some ports
	need extra dependencies added to USE_XORG to make them build.
*) Mark graphics/f90gl broken, f90gl depends on a header that is only shipped
	with libglut.
*) Remove option for libglut/freeglut selection in games/cake, only freeglut
	remains now.
*) While here fix a png related build issue games/vegastrike.

Thanks to miwi for running the exp-run.

Approved by:	portmgr (miwi)

Collaboration with:	zeising@
Obtained from:	xorg-dev staging area.
2012-08-04 22:52:02 +00:00

50 lines
1.1 KiB
Makefile

# ex:ts=8
# Ports collection Makefile for: flounder
# Date created: Oct 14, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= flounder
PORTVERSION= 0.40
PORTREVISION= 14
CATEGORIES= science
MASTER_SITES= http://www.enel.ucalgary.ca/People/vigmond/flounder/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A quick way to visualize regularly spaced 4D data
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk \
gif:${PORTSDIR}/graphics/giflib \
png15:${PORTSDIR}/graphics/png
USE_GL= glut
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lstdc++
USE_GMAKE= yes
.if !defined(WITHOUT_PLOT)
BUILD_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot
RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot
CONFIGURE_ARGS+= --enable-gnuplot
.endif
.if !defined(WITHOUT_GRACE)
BUILD_DEPENDS+= xmgrace:${PORTSDIR}/math/grace
RUN_DEPENDS+= xmgrace:${PORTSDIR}/math/grace
CONFIGURE_ARGS+= --enable-grace
.endif
post-patch:
${REINPLACE_CMD} -e "s|-lungif|-lgif|" ${WRKSRC}/configure
.include <bsd.port.pre.mk>
.if ${ARCH} == "alpha"
BROKEN= Does not compile on alpha
.endif
.include <bsd.port.post.mk>