summaryrefslogtreecommitdiff
path: root/math/gnuplot+/Makefile
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>1999-09-10 03:05:24 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>1999-09-10 03:05:24 +0000
commit32c215e22dd2f55112721705dea07b1dc518457a (patch)
treec5878c6a8719707d1e48231445d1779ad5546955 /math/gnuplot+/Makefile
parenttiff34 -> tiff (diff)
Updated to 1.1.9
PR: 12752 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=21531
Diffstat (limited to 'math/gnuplot+/Makefile')
-rw-r--r--math/gnuplot+/Makefile39
1 files changed, 28 insertions, 11 deletions
diff --git a/math/gnuplot+/Makefile b/math/gnuplot+/Makefile
index 1d2868d911ce..d076ef18a44d 100644
--- a/math/gnuplot+/Makefile
+++ b/math/gnuplot+/Makefile
@@ -6,19 +6,29 @@
# $FreeBSD$
#
-DISTNAME= gnuplot37+-1.1.8
-CATEGORIES= japanese math graphics
-MASTER_SITES= ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/gnuplot+/3.7base/
-DISTFILES= gnuplot-3.7.tar.gz gnuplot3.7+1.1.8.patch.tar.gz
+DISTNAME= gnuplot37+-1.1.9
+CATEGORIES= math japanese graphics
+MASTER_SITES= ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/gnuplot+/3.7base/ \
+ ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/gnuplot+/3.7base/3.7.0+1.1.9/ \
+ ftp://ftp.hipecs.hokudai.ac.jp/pub/GNU/jp/pub.yamaga/gnuplot+/3.7base/ \
+ ftp://ftp.tohoku.ac.jp/mirror/gnuplot+/3.7base/ \
+ ftp://ftp.win.ne.jp/pub/graphics/gnuplot/gnuplot+/3.7base/ \
+ ftp://ftp.rc.tutrp.tut.ac.jp/pub/mirror/gnuplot+/3.7base/
+DISTFILES= gnuplot-3.7.tar.gz gnuplot3.7+1.1.9.patch.tar.gz \
+ gnuplot3.7+1.1.9.configure.gd.patch \
+ gnuplot3.7+1.1.9.configure.gd2.patch
MAINTAINER= nakaji@tutrp.tut.ac.jp
LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png \
VFlib2.24:${PORTSDIR}/japanese/vflib
+.if defined(USE_JP)
+BUILD_DEPENDS= ${LOCALBASE}/lib/libgd.a:${PORTSDIR}/japanese/gd \
+ ${LOCALBASE}/lib/libttf.a:${PORTSDIR}/print/freetype
+.else
BUILD_DEPENDS= ${LOCALBASE}/lib/libgd.a:${PORTSDIR}/graphics/gd \
${LOCALBASE}/lib/libttf.a:${PORTSDIR}/print/freetype
-
-BROKEN= gd upgrade
+.endif
EXTRACT_ONLY= gnuplot-3.7.tar.gz
@@ -45,15 +55,23 @@ GP_DOCS= ${WRKSRC}/Copyright.plus \
${WRKSRC}/INSTALL.win.plus \
${WRKSRC}/README-J.plus \
${WRKSRC}/README.plus \
- ${WRKSRC}/gp+/plus-asc.dvi \
- ${WRKSRC}/gp+/plus-ntt.dvi \
+ ${WRKSRC}/gp+/plus.dvi \
+ ${WRKSRC}/gp+/plus.pdf \
+ ${WRKSRC}/gp+/plus.ps \
${WRKSRC}/gp+/plus.tex
+pre-fetch:
+ @echo "*********************************************************"
+ @echo "If you want handle Japanese TrueType font, define USE_JP."
+ @echo "*********************************************************"
+
post-extract:
- ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/gnuplot3.7+1.1.8.patch.tar.gz ${EXTRACT_AFTER_ARGS} -C ${WRKSRC}
+ ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/gnuplot3.7+1.1.9.patch.tar.gz ${EXTRACT_AFTER_ARGS} -C ${WRKSRC}
pre-patch:
- cd ${WRKSRC}; ${PATCH} --quiet -E -p0 < ${WRKSRC}/gnuplot3.7+1.1.patch
+ ${PATCH} ${PATCH_ARGS} < ${WRKSRC}/gnuplot3.7+1.1.patch
+ ${PATCH} ${PATCH_ARGS} < ${DISTDIR}/gnuplot3.7+1.1.9.configure.gd.patch
+ ${PATCH} ${PATCH_ARGS} < ${DISTDIR}/gnuplot3.7+1.1.9.configure.gd2.patch
post-patch:
cd ${WRKSRC}; ${TOUCH} aclocal.m4
@@ -64,7 +82,6 @@ pre-build:
post-build:
cd ${WRKSRC}/docs; ${GMAKE} info
- cd ${WRKSRC}/docs; ${PATCH} --quiet -E -p1 < ${FILESDIR}/gnuplot.info.diff
post-install:
@test -d ${PREFIX}/share/doc/gnuplot+ || ${MKDIR} ${PREFIX}/share/doc/gnuplot+