freebsd-ports/science/flounder/Makefile
Ade Lovett 8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00

52 lines
1.2 KiB
Makefile

# ex:ts=8
# Ports collection Makefile for: flounder
# Date created: Oct 14, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= flounder
PORTVERSION= 0.40
PORTREVISION= 3
CATEGORIES= science
MASTER_SITES= http://www.enel.ucalgary.ca/~vigmond/flounder/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A quick way to visualize regularly spaced 4D data
LIB_DEPENDS= fltk:${PORTSDIR}/x11-toolkits/fltk \
ungif:${PORTSDIR}/graphics/libungif \
png:${PORTSDIR}/graphics/png \
glut.4:${PORTSDIR}/graphics/libglut
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS} -lstdc++"
USE_GMAKE= yes
.if !defined(WITHOUT_AVIFILE)
LIB_DEPENDS+= aviplay:${PORTSDIR}/multimedia/avifile
CONFIGURE_ARGS+= --enable-avifile
.endif
.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
.include <bsd.port.pre.mk>
.if ${ARCH} == "alpha"
BROKEN= "Does not compile on alpha"
.endif
.include <bsd.port.post.mk>