openbsd-ports/math/gnuplot/Makefile

40 lines
937 B
Makefile
Raw Normal View History

2002-07-18 11:15:05 -04:00
# $OpenBSD: Makefile,v 1.21 2002/07/18 15:15:05 brad Exp $
COMMENT= "command-driven interactive function plotting program"
1998-05-17 00:30:57 -04:00
DISTNAME= gnuplot-3.7.1
1998-05-17 00:30:57 -04:00
CATEGORIES= math graphics
MASTER_SITES= ftp://ftp.gnuplot.vt.edu/pub/gnuplot/ \
ftp://ftp.irisa.fr/pub/gnuplot/ \
ftp://ftp.cc.monash.edu.au/pub/gnuplot/ \
2002-05-13 19:31:24 -04:00
${MASTER_SITE_GNU:=gnuplot/}
1998-05-17 00:30:57 -04:00
HOMEPAGE= http://www.gnuplot.org/
LIB_DEPENDS= png.2::graphics/png
2000-09-23 15:59:51 -04:00
MAINTAINER= Dan Harnett <danh@openbsd.org>
1998-05-17 00:30:57 -04:00
2000-03-17 15:47:07 -05:00
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 dest
CONFIGURE_ARGS= --without-linux-vga --without-gd \
2000-09-23 15:59:51 -04:00
--with-png --with-gnu-readline --with-lasergnu
2002-07-18 11:15:05 -04:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng"
2001-11-13 15:14:39 -05:00
NO_REGRESS= Yes
1998-05-17 00:30:57 -04:00
2000-09-23 15:59:51 -04:00
.if ${FLAVOR:L:Mno_x11}
CONFIGURE_ARGS+= --without-x
.else
USE_X11= Yes
2000-09-23 15:59:51 -04:00
CONFIGURE_ARGS+= --with-x
.endif
1998-05-17 00:30:57 -04:00
.include <bsd.port.mk>