openbsd-ports/math/gnuplot/Makefile

51 lines
1.2 KiB
Makefile
Raw Normal View History

2010-11-07 15:33:58 -05:00
# $OpenBSD: Makefile,v 1.43 2010/11/07 20:33:58 espie Exp $
COMMENT= command-driven interactive function plotting program
1998-05-17 00:30:57 -04:00
V= 4.2
2009-10-07 16:01:06 -04:00
PATCHLEVEL= 6
DISTNAME= gnuplot-${V}.${PATCHLEVEL}
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/
MAINTAINER= Weldon Goree <wgoree@bu.edu>
# see Copyright in source
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
2000-03-17 15:47:07 -05:00
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m ncurses readline stdc++ z
2000-03-17 15:47:07 -05:00
FLAVORS= no_x11
FLAVOR?=
2003-05-02 14:03:20 -04:00
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --without-linux-vga --without-pdf \
--without-tutorial --with-readline \
--with-lasergnu --disable-wxwidgets --without-lisp-files
2003-05-02 14:03:20 -04:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib"
2008-05-23 17:06:46 -04:00
REGRESS_IS_INTERACTIVE= x11
1998-05-17 00:30:57 -04:00
SUBST_VARS= V
2000-09-23 15:59:51 -04:00
.if ${FLAVOR:L:Mno_x11}
2010-11-07 15:33:58 -05:00
CONFIGURE_ARGS += --without-x --without-gd
.else
2010-11-07 15:33:58 -05:00
LIB_DEPENDS = ::graphics/gd
2010-10-18 16:52:05 -04:00
USE_GROFF = Yes
2010-11-07 15:33:58 -05:00
WANTLIB += X11 fontconfig freetype iconv jpeg png gd.>=20
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
-cat ${PATCHDIR}/patch-* >${PREFIX}/share/gnuplot/${V}/patches
2004-12-21 11:56:59 -05:00
1998-05-17 00:30:57 -04:00
.include <bsd.port.mk>