2008-07-02 13:53:11 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.36 2008/07/02 17:53:11 ajacoutot Exp $
|
2001-03-28 14:35:25 -05:00
|
|
|
|
2007-09-15 14:44:36 -04:00
|
|
|
COMMENT= command-driven interactive function plotting program
|
1998-05-17 00:30:57 -04:00
|
|
|
|
2007-03-28 12:50:58 -04:00
|
|
|
V= 4.2
|
2008-05-23 16:57:32 -04:00
|
|
|
PATCHLEVEL= 3
|
2007-03-28 12:50:58 -04:00
|
|
|
DISTNAME= gnuplot-${V}.${PATCHLEVEL}
|
2008-07-02 13:53:11 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
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
|
|
|
|
2008-07-02 13:53:11 -04:00
|
|
|
MAINTAINER= Weldon Goree <wgoree@bu.edu>
|
|
|
|
|
|
|
|
# see Copyright in source
|
2006-08-25 06:08:33 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
2000-03-17 15:47:07 -05:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2008-07-02 13:53:11 -04:00
|
|
|
|
2007-03-28 12:50:58 -04:00
|
|
|
WANTLIB= c m ncurses readline stdc++ 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
|
2007-03-28 12:50:58 -04:00
|
|
|
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= Yes
|
|
|
|
REGRESS_FLAGS= DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
|
1998-05-17 00:30:57 -04:00
|
|
|
|
2007-03-28 12:50:58 -04:00
|
|
|
SUBST_VARS= V
|
|
|
|
|
2000-09-23 15:59:51 -04:00
|
|
|
.if ${FLAVOR:L:Mno_x11}
|
2007-03-28 12:50:58 -04:00
|
|
|
CONFIGURE_ARGS+= --without-x --without-gd
|
2000-09-22 16:34:56 -04:00
|
|
|
.else
|
2007-03-28 12:50:58 -04:00
|
|
|
LIB_DEPENDS= gd.>=20::graphics/gd
|
2000-09-22 16:34:56 -04:00
|
|
|
USE_X11= Yes
|
2007-03-28 12:50:58 -04:00
|
|
|
WANTLIB+= X11 fontconfig freetype iconv jpeg png
|
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
|
2007-03-28 12:50:58 -04:00
|
|
|
-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>
|