1995-04-11 03:19:12 +02:00
|
|
|
# New ports collection makefile for: gnuplot
|
1998-04-20 01:22:24 +02:00
|
|
|
# Date created: 19 April 1998
|
1997-01-13 09:15:58 +01:00
|
|
|
# Whom: chuckr
|
1995-04-11 03:19:12 +02:00
|
|
|
#
|
1999-08-25 09:23:21 +02:00
|
|
|
# $FreeBSD$
|
1995-04-11 03:19:12 +02:00
|
|
|
#
|
|
|
|
|
2000-04-14 09:20:58 +02:00
|
|
|
PORTNAME= gnuplot
|
2003-05-23 01:09:54 +02:00
|
|
|
PORTVERSION= 3.7.3
|
2003-06-05 01:41:02 +02:00
|
|
|
PORTREVISION= 1
|
1996-11-18 11:25:35 +01:00
|
|
|
CATEGORIES= math graphics
|
2002-11-05 07:09:30 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1994-10-06 02:09:49 +01:00
|
|
|
|
2003-06-09 18:13:30 +02:00
|
|
|
MAINTAINER= glewis@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A command-driven interactive function plotting program
|
1997-01-12 21:07:26 +01:00
|
|
|
|
2003-06-03 18:16:12 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2003-06-05 01:41:02 +02:00
|
|
|
CONFIGURE_ARGS= --datadir=${DATADIR} \
|
2003-06-03 18:16:12 +02:00
|
|
|
--without-linux-vga --without-gd \
|
|
|
|
--with-readline=gnu --with-lasergnu
|
|
|
|
|
|
|
|
MAN1= gnuplot.1 lasergnu.1
|
1997-07-22 04:22:31 +02:00
|
|
|
|
2002-11-05 23:28:11 +01:00
|
|
|
.if !defined(WITHOUT_X11)
|
1998-11-29 13:43:13 +01:00
|
|
|
USE_XLIB= yes
|
2003-06-03 18:16:12 +02:00
|
|
|
PLIST_SUB+= X11:=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-x
|
|
|
|
PLIST_SUB+= X11:="@comment "
|
2002-11-05 23:28:11 +01:00
|
|
|
.endif
|
|
|
|
|
2002-11-23 19:25:47 +01:00
|
|
|
.if !defined(WITHOUT_PNG)
|
2003-06-03 18:16:12 +02:00
|
|
|
LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png
|
|
|
|
CONFIGURE_ARGS+= --with-png=${LOCALBASE}
|
2002-11-23 19:25:47 +01:00
|
|
|
.else
|
2003-06-03 18:16:12 +02:00
|
|
|
CONFIGURE_ARGS+= --without-png
|
2002-11-23 19:25:47 +01:00
|
|
|
.endif
|
1995-04-22 13:30:15 +02:00
|
|
|
|
2003-06-03 18:16:12 +02:00
|
|
|
.if !defined(WITHOUT_PDF)
|
2003-06-05 01:41:02 +02:00
|
|
|
LIB_DEPENDS+= pdf.5:${PORTSDIR}/print/pdflib
|
2003-06-03 18:16:12 +02:00
|
|
|
CONFIGURE_ARGS+= --with-pdf=${LOCALBASE}
|
2002-11-05 23:28:11 +01:00
|
|
|
.else
|
2003-06-03 18:16:12 +02:00
|
|
|
CONFIGURE_ARGS+= --without-pdf
|
2002-11-05 23:28:11 +01:00
|
|
|
.endif
|
|
|
|
|
2000-01-23 23:49:30 +01:00
|
|
|
post-install:
|
2003-06-03 18:16:12 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/README ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/demo/* ${EXAMPLESDIR}
|
|
|
|
.endif
|
1996-11-18 15:17:24 +01:00
|
|
|
|
1994-10-06 02:09:49 +01:00
|
|
|
.include <bsd.port.mk>
|