[47322] trunk/dports/graphics/pgplot/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Wed Feb 25 16:17:50 PST 2009
Revision: 47322
http://trac.macports.org/changeset/47322
Author: mcalhoun at macports.org
Date: 2009-02-25 16:17:49 -0800 (Wed, 25 Feb 2009)
Log Message:
-----------
pgplot: Simplify fetch and extract code. Add sha1 and rmd160 checksums.
Modified Paths:
--------------
trunk/dports/graphics/pgplot/Portfile
Modified: trunk/dports/graphics/pgplot/Portfile
===================================================================
--- trunk/dports/graphics/pgplot/Portfile 2009-02-26 00:15:24 UTC (rev 47321)
+++ trunk/dports/graphics/pgplot/Portfile 2009-02-26 00:17:49 UTC (rev 47322)
@@ -18,16 +18,16 @@
platforms darwin
homepage http://www.astro.caltech.edu/~tjp/pgplot/
-master_sites ftp://ftp.astro.caltech.edu/pub/pgplot/:pgplot
+master_sites ftp://ftp.astro.caltech.edu/pub/pgplot/
-distfiles ${name}5.2.tar.gz:pgplot
+distname ${name}[join [split ${version} .] ""]
-distname ${name}5.2:pgplot
+worksrcdir ${name}/build
-worksrcdir ${name}/build:pgplot
+checksums md5 e8a6e8d0d5ef9d1709dfb567724525ae \
+ sha1 1f1c9aa17eeec9a2fb23fd15a0e4a91dcc49ddc1 \
+ rmd160 4c21cad6613772f4104c65ac3d8d9a42e3c4afe1
-checksums ${name}5.2.tar.gz md5 e8a6e8d0d5ef9d1709dfb567724525ae
-
depends_lib lib:libpng:libpng lib:libz:zlib bin:g77-dp-3.4:gcc34
patchfiles patch-makemake patch-src_grgfil.f patch-drivers.list \
@@ -46,7 +46,7 @@
}
configure {
- system "cd ${worksrcpath} && ../makemake .. ${ppMakeMakeTarget} ${ppCompilerSpec}"
+ system "cd ${worksrcpath} && ../makemake .. ${os.platform} ${ppCompilerSpec}"
}
build.target all
@@ -70,8 +70,7 @@
}
platform darwin {
- global ppMakeMakeTarget ppCompilerSpec
- set ppMakeMakeTarget darwin
+ global ppCompilerSpec
set ppCompilerSpec g77_gcc
patchfiles-append patch-sys_darwin_aaaread.me \
patch-sys_darwin_g77_gcc.conf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090225/faab63d0/attachment.html>
More information about the macports-changes
mailing list