Ticket #46116: Portfile

File Portfile, 1.8 KB (added by Schamschula (Marius Schamschula), 9 years ago)
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 130436 2014-12-30 14:58:58Z khindenburg@macports.org $
3
4PortSystem          1.0
5PortGroup           muniversal 1.0
6
7name                pyxplot
8version             0.9.2
9categories          math science
10platforms           darwin
11maintainers         gmail.com:mschamschula openmaintainer
12license             GPL-3+
13
14description         Pyxplot is a multi-purpose graph plotting tool
15long_description    ${description}, scientific scripting language, vector graphics suite, \
16                    and data processing package. Its interface is designed to make common \
17                    tasks  e.g., plotting labelled graphs of data  accessible via \
18                    short, simple, intuitive commands.
19
20homepage            http://pyxplot.org.uk/
21master_sites        ${homepage}src/
22distname            ${name}_${version}
23
24checksums           rmd160 d4eb39acfa22868f28ad93665cec5303bc567c8e \
25                    sha256 1c592a0bc77caec445a8d72534471c01d66ca1806309e6c983847c2e0b95e689
26
27worksrcdir          ${name}-${version}
28
29depends_lib-append  port:cfitsio \
30                    port:fftw-3 \
31                    port:ghostscript \
32                    port:gsl \
33                    port:gv \
34                    port:ImageMagick \
35                    port:libpng \
36                    port:python27 \
37                    port:readline \
38                    port:texlive-bin \
39                    port:texlive-latex \
40                    port:wget \
41                    port:libxml2
42
43post-patch {
44    reinplace "s|USRDIR=/usr/local|USRDIR=${prefix}|g" \
45                ${worksrcpath}/Makefile.skel
46}
47
48livecheck.type      regex
49livecheck.url       ${master_sites}
50livecheck.regex     ${name}_(\[0-9.\]+)${extract.suffix}