48 lines
1.0 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.29 2006/08/25 10:08:33 espie Exp $
COMMENT= "command-driven interactive function plotting program"
1998-05-17 04:30:57 +00:00
2004-12-21 16:56:59 +00:00
DISTNAME= gnuplot-4.0.0
PKGNAME= ${DISTNAME}p0
1998-05-17 04:30:57 +00:00
CATEGORIES= math graphics
2004-12-21 16:56:59 +00:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnuplot/}
1998-05-17 04:30:57 +00:00
HOMEPAGE= http://www.gnuplot.info/
2006-08-03 20:04:51 +00:00
LIB_DEPENDS= png.>=2::graphics/png
2000-09-23 19:59:51 +00:00
MAINTAINER= Dan Harnett <danh@openbsd.org>
1998-05-17 04:30:57 +00:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
2000-03-17 20:47:07 +00:00
PERMIT_DISTFILES_FTP= Yes
2004-12-21 16:56:59 +00:00
WANTLIB= c m z
2000-03-17 20:47:07 +00:00
FLAVORS= no_x11
FLAVOR?=
2003-05-02 18:03:20 +00:00
CONFIGURE_STYLE= gnu
2004-12-21 16:56:59 +00:00
CONFIGURE_ARGS= --without-linux-vga --without-gd --without-pdf \
2005-03-06 07:57:17 +00:00
--with-png --with-readline --with-lasergnu \
--without-lisp-files
2003-05-02 18:03:20 +00:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib"
2001-11-13 20:14:39 +00:00
NO_REGRESS= Yes
1998-05-17 04:30:57 +00:00
2000-09-23 19:59:51 +00:00
.if ${FLAVOR:L:Mno_x11}
CONFIGURE_ARGS+= --without-x
.else
USE_X11= Yes
2004-12-21 16:56:59 +00:00
WANTLIB+= X11
2000-09-23 19:59:51 +00:00
CONFIGURE_ARGS+= --with-x
.endif
1998-05-17 04:30:57 +00:00
2004-12-21 16:56:59 +00:00
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/src/lasergnu ${PREFIX}/bin/lasergnu
-cat ${PATCHDIR}/patch-* >${PREFIX}/share/gnuplot/4.0/patches
post-build:
2004-12-21 16:56:59 +00:00
1998-05-17 04:30:57 +00:00
.include <bsd.port.mk>