042ffe959d
ok danh@
44 lines
996 B
Makefile
44 lines
996 B
Makefile
# $OpenBSD: Makefile,v 1.27 2005/03/06 07:57:17 alek Exp $
|
|
|
|
COMMENT= "command-driven interactive function plotting program"
|
|
|
|
DISTNAME= gnuplot-4.0.0
|
|
CATEGORIES= math graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnuplot/}
|
|
|
|
HOMEPAGE= http://www.gnuplot.info/
|
|
|
|
LIB_DEPENDS= png.2::graphics/png
|
|
|
|
MAINTAINER= Dan Harnett <danh@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= "no modify"
|
|
PERMIT_PACKAGE_FTP= "no modify"
|
|
PERMIT_DISTFILES_CDROM= "no modify"
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c m z
|
|
|
|
FLAVORS= no_x11
|
|
FLAVOR?=
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= --without-linux-vga --without-gd --without-pdf \
|
|
--with-png --with-readline --with-lasergnu \
|
|
--without-lisp-files
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
NO_REGRESS= Yes
|
|
|
|
.if ${FLAVOR:L:Mno_x11}
|
|
CONFIGURE_ARGS+= --without-x
|
|
.else
|
|
USE_X11= Yes
|
|
WANTLIB+= X11
|
|
CONFIGURE_ARGS+= --with-x
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/src/lasergnu ${PREFIX}/bin/lasergnu
|
|
|
|
.include <bsd.port.mk>
|