openbsd-ports/math/gnuplot/Makefile
2004-02-04 15:02:09 +00:00

43 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.25 2004/02/04 15:02:09 xsa Exp $
COMMENT= "command-driven interactive function plotting program"
DISTNAME= gnuplot-3.7.3
CATEGORIES= math graphics
MASTER_SITES= ftp://ftp.gnuplot.info/pub/gnuplot/ \
ftp://ftp.gnuplot.vt.edu/pub/gnuplot/ \
ftp://ftp.irisa.fr/pub/gnuplot/ \
ftp://ftp.ucc.ie/pub/gnuplot/ \
ftp://ftp.cc.monash.edu.au/pub/gnuplot/ \
${MASTER_SITE_GNU:=gnuplot/}
HOMEPAGE= http://www.gnuplot.info/
LIB_DEPENDS= png.2::graphics/png
MAINTAINER= Dan Harnett <danh@openbsd.org>
PERMIT_PACKAGE_CDROM= "no modify"
PERMIT_PACKAGE_FTP= "no modify"
PERMIT_DISTFILES_CDROM= "no modify"
PERMIT_DISTFILES_FTP= Yes
FLAVORS= no_x11
FLAVOR?=
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --without-linux-vga --without-gd \
--with-png --with-gnu-readline --with-lasergnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib"
NO_REGRESS= Yes
.if ${FLAVOR:L:Mno_x11}
CONFIGURE_ARGS+= --without-x
.else
USE_X11= Yes
CONFIGURE_ARGS+= --with-x
.endif
.include <bsd.port.mk>