git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@67505 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
Joshua Root
2010-05-11 11:15:23 +00:00
parent bca7b0b54b
commit 8cea9dbb74
2 changed files with 15 additions and 28 deletions
+15 -16
View File
@@ -4,8 +4,7 @@ PortSystem 1.0
PortGroup xcodeversion 1.0
name gnuplot
version 4.2.5
revision 2
version 4.4.0
categories math science
maintainers nomaintainer
description A command-driven interactive function plotting program
@@ -18,17 +17,16 @@ long_description Gnuplot is a command-driven interactive function \
platforms darwin
homepage http://gnuplot.sourceforge.net/
master_sites sourceforge
distfiles ${distname}.tar.gz \
${name}.pdf
distfiles-append ${name}-${version}.pdf
extract.only ${distname}.tar.gz
checksums ${distname}.tar.gz \
md5 85d042f8efd7aae3d9cbfd85b14d06d2 \
sha1 e7ad6afc1ca7b39a512a18f2dc6f2bcda9bf9128 \
rmd160 79ab74627d66c2eff6d69276c1556acca89ec6dd \
${name}.pdf \
md5 0691424fd274b65eb8a8ab0dc52dbabe \
sha1 8926d4cb9a1e2f71f95f69fad65473889f08638f \
rmd160 6d92f3473b0896598436e6c993e56e5167b94af5
md5 e708665bd512153ad5c35252fe499059 \
sha1 04a2eede7b2af8e64144aa8ffede6535b7a043b5 \
rmd160 ed15fd44d32b0bf610f52b99e2c36cd160cb08a6 \
${name}-${version}.pdf \
md5 f618b64e3679511a385a7ae25b0cdbc7 \
sha1 6107557d3c8d893e8f0f67cd610fc890efc4fbb2 \
rmd160 783bf418250dc04ccf41fbdf07dc8202d4c34d00
depends_lib port:expat \
port:fontconfig \
@@ -42,8 +40,6 @@ depends_lib port:expat \
port:xpm \
port:zlib
patchfiles patch-share-LaTeX-Makefile.in
platform darwin {
depends_lib-append port:aquaterm
configure.cflags-append '-DDEFAULTTERM=\\"aqua\\"'
@@ -59,7 +55,10 @@ configure.args --with-readline=${prefix} \
--enable-datastrings --enable-histograms \
--infodir='\${prefix}/share/info' \
--mandir='\${prefix}/share/man' \
--disable-wxwidgets
--disable-wxwidgets \
--without-latex \
--without-tutorial \
--without-cairo
configure.ccache no
@@ -77,13 +76,13 @@ variant wxwidgets description "Enable wxWidgets front-end" {
variant tutorial description "Build the tutorial (requires a tex install)" {
depends_lib-append bin:tex:texlive
configure.args-delete --without-tutorial
configure.args-delete --without-tutorial --without-latex
configure.args-append --with-tutorial
}
destroot.destdir prefix=${destroot}${prefix}
post-destroot {
xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
xinstall -m 0644 ${distpath}/gnuplot.pdf \
xinstall -m 0644 ${distpath}/${name}-${version}.pdf \
${destroot}${prefix}/share/doc/${name}/
}
@@ -1,12 +0,0 @@
--- share/LaTeX/Makefile.in.orig 2007-03-05 03:08:39.000000000 +0900
+++ share/LaTeX/Makefile.in 2007-04-15 18:22:54.000000000 +0900
@@ -334,8 +334,7 @@
installdir=`kpsexpand '$$TEXMFLOCAL'/tex/latex/gnuplot |sed "s%^.*share/%$(prefix)/share/%"` ; \
$(top_srcdir)/mkinstalldirs $(DESTDIR)$$installdir ; \
if [ ! -f $(DESTDIR)$$installdir/gnuplot.cfg ]; then \
- $(INSTALL_DATA) $(srcdir)/gnuplot.cfg $(DESTDIR)$$installdir/gnuplot.cfg && \
- texhash; \
+ $(INSTALL_DATA) $(srcdir)/gnuplot.cfg $(DESTDIR)$$installdir/gnuplot.cfg; \
fi ; \
fi