2005-03-06 02:57:17 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.27 2005/03/06 07:57:17 alek Exp $
|
2001-03-28 14:35:25 -05:00
|
|
|
|
|
|
|
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
|
|
|
|
2002-09-12 11:12:36 -04:00
|
|
|
HOMEPAGE= http://www.gnuplot.info/
|
2000-09-22 16:34:56 -04:00
|
|
|
|
2001-05-23 22:27:06 -04:00
|
|
|
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
|
|
|
|
2000-09-22 16:34:56 -04: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}
|
2000-09-22 16:34:56 -04:00
|
|
|
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
|
2000-09-22 16:34:56 -04:00
|
|
|
.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>
|