openbsd-ports/math/gnuplot/Makefile

44 lines
996 B
Makefile
Raw Normal View History

2005-03-06 02:57:17 -05:00
# $OpenBSD: Makefile,v 1.27 2005/03/06 07:57:17 alek Exp $
COMMENT= "command-driven interactive function plotting program"
1998-05-17 00:30:57 -04:00
2004-12-21 11:56:59 -05:00
DISTNAME= gnuplot-4.0.0
1998-05-17 00:30:57 -04:00
CATEGORIES= math graphics
2004-12-21 11:56:59 -05:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnuplot/}
1998-05-17 00:30:57 -04:00
HOMEPAGE= http://www.gnuplot.info/
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
2004-12-21 11:56:59 -05:00
WANTLIB= c m z
2000-03-17 15:47:07 -05:00
FLAVORS= no_x11
FLAVOR?=
2003-05-02 14:03:20 -04:00
CONFIGURE_STYLE= gnu
2004-12-21 11:56:59 -05:00
CONFIGURE_ARGS= --without-linux-vga --without-gd --without-pdf \
2005-03-06 02:57:17 -05:00
--with-png --with-readline --with-lasergnu \
--without-lisp-files
2003-05-02 14:03:20 -04:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib"
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
2004-12-21 11:56:59 -05:00
WANTLIB+= X11
2000-09-23 15:59:51 -04:00
CONFIGURE_ARGS+= --with-x
.endif
1998-05-17 00:30:57 -04:00
2004-12-21 11:56:59 -05:00
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/src/lasergnu ${PREFIX}/bin/lasergnu
1998-05-17 00:30:57 -04:00
.include <bsd.port.mk>