=================================================================== RCS file: /home/cvs/OpenXM/src/gnuplot/Makefile,v retrieving revision 1.15 retrieving revision 1.21 diff -u -p -r1.15 -r1.21 --- OpenXM/src/gnuplot/Makefile 2004/12/17 07:47:03 1.15 +++ OpenXM/src/gnuplot/Makefile 2020/11/02 11:47:52 1.21 @@ -1,12 +1,14 @@ -# $OpenXM: OpenXM/src/gnuplot/Makefile,v 1.14 2004/12/17 00:13:08 takayama Exp $ +# $OpenXM: OpenXM/src/gnuplot/Makefile,v 1.20 2015/02/21 06:20:36 ohara Exp $ OpenXM_HOME = ../.. -MASTER_SITE = ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/ -DISTNAME = gnuplot-4.0.0 +MASTER_SITE = http://www.math.kobe-u.ac.jp/pub/OpenXM/misc/ +DISTNAME = gnuplot-5.4.0 DISTFILES = ${DISTNAME}.tar.gz DISTDIR = ${OpenXM_HOME}/../OpenXM_dist WRKSRC = work/${DISTNAME} #PATCH_FILES = gnuplot-v4.diff +#PATCH_FILES = gnuplot4_interix.diff +PATCH_FILES = INSTALL_PROGRAM = install -c -s all: build @@ -26,14 +28,14 @@ extract: fetch patch: extract @if [ ! -f work/.patch_done ]; then \ - for i in ${PATCH_FILES}; do if [ -f "$$i" ]; then cat $$i | (cd ${WRKSRC}; patch -p1); fi done;\ + for i in ${PATCH_FILES} "" ; do if [ -f "$$i" ]; then cat $$i | (cd ${WRKSRC}; patch -p1); fi done;\ fi @touch work/.patch_done configure: patch if [ ! -f work/.configure_done ]; then \ prefix=`cd ${OpenXM_HOME}; pwd` ; \ - (cd ${WRKSRC} ; ./configure --with-x --prefix="$$prefix" ) ; \ + (cd ${WRKSRC} ; ./configure --with-x --prefix="$$prefix" --without-pdf) ; \ fi @touch work/.configure_done @@ -46,10 +48,10 @@ build: configure install: build @if [ ! -f work/.install_done ]; then \ prefix=`cd ${OpenXM_HOME}; pwd`; \ - mkdir -p $${prefix}/libexec/gnuplot/4.0; \ + mkdir -p $${prefix}/libexec/gnuplot/5.4; \ (cd ${WRKSRC}/src; \ ${INSTALL_PROGRAM} gnuplot $${prefix}/bin/gnuplot ; \ - ${INSTALL_PROGRAM} gnuplot_x11 $${prefix}/libexec/gnuplot/4.0) ; \ + ${INSTALL_PROGRAM} gnuplot_x11 $${prefix}/libexec/gnuplot/5.4) ; \ fi @touch work/.install_done