version 1.15, 2004/12/17 07:47:03 |
version 1.21, 2020/11/02 11:47:52 |
|
|
# $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 = ../.. |
OpenXM_HOME = ../.. |
MASTER_SITE = ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/ |
MASTER_SITE = http://www.math.kobe-u.ac.jp/pub/OpenXM/misc/ |
DISTNAME = gnuplot-4.0.0 |
DISTNAME = gnuplot-5.4.0 |
DISTFILES = ${DISTNAME}.tar.gz |
DISTFILES = ${DISTNAME}.tar.gz |
DISTDIR = ${OpenXM_HOME}/../OpenXM_dist |
DISTDIR = ${OpenXM_HOME}/../OpenXM_dist |
WRKSRC = work/${DISTNAME} |
WRKSRC = work/${DISTNAME} |
#PATCH_FILES = gnuplot-v4.diff |
#PATCH_FILES = gnuplot-v4.diff |
|
#PATCH_FILES = gnuplot4_interix.diff |
|
PATCH_FILES = |
INSTALL_PROGRAM = install -c -s |
INSTALL_PROGRAM = install -c -s |
|
|
all: build |
all: build |
|
|
|
|
patch: extract |
patch: extract |
@if [ ! -f work/.patch_done ]; then \ |
@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 |
fi |
@touch work/.patch_done |
@touch work/.patch_done |
|
|
configure: patch |
configure: patch |
if [ ! -f work/.configure_done ]; then \ |
if [ ! -f work/.configure_done ]; then \ |
prefix=`cd ${OpenXM_HOME}; pwd` ; \ |
prefix=`cd ${OpenXM_HOME}; pwd` ; \ |
(cd ${WRKSRC} ; ./configure --with-x --prefix="$$prefix" ) ; \ |
(cd ${WRKSRC} ; ./configure --with-x --prefix="$$prefix" --without-pdf) ; \ |
fi |
fi |
@touch work/.configure_done |
@touch work/.configure_done |
|
|
|
|
install: build |
install: build |
@if [ ! -f work/.install_done ]; then \ |
@if [ ! -f work/.install_done ]; then \ |
prefix=`cd ${OpenXM_HOME}; pwd`; \ |
prefix=`cd ${OpenXM_HOME}; pwd`; \ |
mkdir -p $${prefix}/libexec/gnuplot/4.0; \ |
mkdir -p $${prefix}/libexec/gnuplot/5.4; \ |
(cd ${WRKSRC}/src; \ |
(cd ${WRKSRC}/src; \ |
${INSTALL_PROGRAM} gnuplot $${prefix}/bin/gnuplot ; \ |
${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 |
fi |
@touch work/.install_done |
@touch work/.install_done |
|
|