1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

Modified to add gif terminal, and dependency on graphics/gd.

PR:		ports/5993
This commit is contained in:
Chuck Robey 1998-04-19 23:22:24 +00:00
parent cdd7848d9a
commit d6ad3aec64
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=10597
3 changed files with 17 additions and 31 deletions

View File

@ -1,26 +1,28 @@
# New ports collection makefile for: gnuplot
# Version required: beta336
# Date created: 11 January 1997
# Version required: beta340
# Date created: 19 April 1998
# Whom: chuckr
#
# $Id: Makefile,v 1.14 1998/03/28 20:02:10 ache Exp $
# $Id: Makefile,v 1.15 1998/03/31 00:39:01 asami Exp $
#
DISTNAME= gnuplot-beta336
PKGNAME= gnuplot-336
DISTNAME= gnuplot-beta340
PKGNAME= gnuplot-340
CATEGORIES= math graphics
MASTER_SITES= http://www.ipc.chiba-u.ac.jp/~yamaga/gnuplot%2B/3.6base/
MASTER_SITES= ftp://ftp.che.wisc.edu/pub/gnuplot/
MAINTAINER= chuckr@FreeBSD.org
LIB_DEPENDS= png\\.2\\.:${PORTSDIR}/graphics/png
BUILD_DEPENDS $(PREFIX)/lib/libgd.a:${PORTSDIR}/graphics/gd
WRKSRC= ${WRKDIR}/gnuplot
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --exec-prefix=${PREFIX} \
--includedir=${PREFIX}/include --libdir=${PREFIX}/lib \
--with-x --without-linux-vga \
--with-gnu-readline --with-lasergnu --with-png
--with-gd=$(PREFIX)/lib \
--with-gnu-readline --with-lasergnu --with-png
MAN1= gnuplot.1 lasergnu.1

View File

@ -1 +1 @@
MD5 (gnuplot-beta336.tar.gz) = ac848528127e8582b1803a28b938ba43
MD5 (gnuplot-beta340.tar.gz) = c9cd9f1bc66df570ff6471599d8bb6a5

View File

@ -1,27 +1,11 @@
--- configure Mon May 26 18:28:46 1997
+++ configure Sun Aug 31 23:26:12 1997
@@ -1029,6 +1029,7 @@
LASERGNU=lasergnu_noinstall
--- configure.orig Wed Jul 23 19:16:20 1997
+++ configure Sun Apr 19 17:41:14 1998
@@ -925,6 +925,8 @@
fi
+LASERGNU=lasergnu_install
maybe_linuxdriver=
+
# Check whether --with-linux-vga or --without-linux-vga was given.
@@ -3419,7 +3420,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lpng -lz $LIBS"
+LIBS="-L$libdir -lpng -lz $LIBS"
cat > conftest.$ac_ext <<EOF
#line 3425 "configure"
#include "confdefs.h"
@@ -3450,6 +3451,7 @@
#define HAVE_LIBPNG 1
EOF
TERMLIBS="$TERMLIBS -lpng -lz"
+ LDFLAGS="$LDFLAGS -L$libdir"
ac_save_CPPFLAGS="$CPPFLAGS"; CPPFLAGS="$CPPFLAGS -I$includedir"
for ac_hdr in png.h zlib.h
do
if test "${with_linux_vga+set}" = set; then
withval="$with_linux_vga"