source: trunk/dports/gnome/gnofract4d/Portfile

Last change on this file was 142815, checked in by jmr@…, 2 years ago

various ports: remove redundant clearing of python.link_binaries_suffix, the portgroup now handles this

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
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 142815 2015-11-24 03:22:35Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               python 1.0
6PortGroup               github 1.0
7
8github.setup            edyoung gnofract4d 3_14_1 V_
9version                 [string map {_ .} ${version}]
10revision                1
11description             Gnofract4D is a program to draw fractals.
12long_description        Gnofract 4D is a fractal browser. It can \
13                        generate many different fractals, including \
14                        some which are hybrids between the Mandelbrot \
15                        and Julia sets, and includes a Fractint-compatible \
16                        parser for your own fractal formulas.
17
18maintainers             khindenburg openmaintainer
19categories              gnome math python
20license                 LGPL-2.1+
21platforms               darwin
22# Remove next line with next version update.
23master_sites            https://github.com/edyoung/gnofract4d/archive/
24
25checksums               rmd160  e42b53ec651430d88d7479fb8cb2704d0b33ab6d \
26                        sha256  29f05d9b07f7b53bf250b0f81f74b76dbd68efc5d6ba71f4d55ef332f6b6f83d
27
28# Remove next 3 lines with next version update.
29dist_subdir             ${name}/${version}_1
30distname                V_[regsub -all {\.} $version {_}]
31worksrcdir              ${name}-${distname}
32
33python.default_version  27
34
35depends_build           port:pkgconfig
36depends_lib-append      port:py${python.version}-pygtk \
37                        port:jpeg \
38                        port:libpng
39
40post-extract {
41    # DOS to UNIX line endings so we can patch
42    reinplace "s|\r||" ${worksrcpath}/fract4dgui/gtkio.py
43}
44
45patchfiles              patch-fract4d_fractconfig.py.diff \
46                        patch-setup.py.diff
47
48post-patch {
49    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/setup.py
50}
Note: See TracBrowser for help on using the repository browser.