Changeset 76468


Ignore:
Timestamp:
Feb 24, 2011, 5:18:11 PM (6 years ago)
Author:
jmr@…
Message:

xmfract: fix build, improve config file handling, update homepage, add license

Location:
trunk/dports/math/xmfract
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/xmfract/Portfile

    r30202 r76468  
    88categories      math
    99platforms       darwin
     10license         GPL-2+
    1011maintainers     jmpp openmaintainer
    1112
     
    1415                        the analysis of various fractal figures, created by Darryl House.
    1516
    16 homepage        http://spanky.triumf.ca/www/fractint/getting.html
    17 master_sites    http://spanky.triumf.ca/pub/fractals/programs/unix/ \
    18                 http://spanky.fractint.org/pub/fractals/programs/unix/
     17homepage        http://www.Nahee.com/spanky/www/fractint/getting.html
     18master_sites    http://www.Nahee.com/spanky/pub/fractals/programs/unix/
    1919distfiles       ${name}_${release}_tar.gz
    2020distname        ${name}_${version}
     
    2323depends_lib     lib:libXm:openmotif
    2424
    25 patchfiles      patch-all-Makefile.in.diff
     25patchfiles      patch-all-Makefile.in.diff patch-src_window_size.c.diff \
     26            patch-xmfract.ini.diff
     27post-patch {
     28    reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/xmfract.ini
     29}
     30
     31configure.args  --x-includes=${prefix}/include \
     32                --x-libraries=${prefix}/lib \
     33                --with-editres
    2634
    2735post-destroot {
    2836             xinstall -m 644 -v -W ${worksrcpath} README Xmfract.ad xmfract.ini \
    2937             ${destroot}${prefix}/share/${name}
     38             move ${destroot}${prefix}/share/xmfract/xmfract.ini \
     39                  ${destroot}${prefix}/share/xmfract/xmfract.ini.default
    3040}
     41
     42post-activate {
     43    if {![file exists ${prefix}/share/xmfract/xmfract.ini]} {
     44        copy ${prefix}/share/xmfract/xmfract.ini.default \
     45             ${prefix}/share/xmfract/xmfract.ini
     46    }
     47}
Note: See TracChangeset for help on using the changeset viewer.