source: trunk/dports/math/xmfract/Portfile

Last change on this file was 125984, checked in by mf2k@…, 3 years ago

add aop ctris cyrus-imapd cyrus-sasl2 fbg FreeSOLID gift GTorrentViewer latex2rtf logsurfer lurker mapm netwag netwib netwox rtf2latex rtf2latex2e tcl-tls toppler xmfract: Ports abandoned by jmpp. (#44809)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 125984 2014-10-01 14:38:59Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name       xmfract
6version    1.4
7set release     1-4
8categories      math
9platforms       darwin
10license         GPL-2+
11maintainers     nomaintainer
12
13description     UNIX clone of the DOS baed Fractint
14long_description        X/Motif based UNIX clone of the DOS based Fractint program used in \
15                        the analysis of various fractal figures, created by Darryl House.
16
17homepage        http://www.Nahee.com/spanky/www/fractint/getting.html
18master_sites    http://www.Nahee.com/spanky/pub/fractals/programs/unix/
19distfiles       ${name}_${release}_tar.gz
20distname        ${name}_${version}
21checksums       md5 59cf6bf04fcfdfea06b5f4d903e1152e
22
23depends_lib     lib:libXm:openmotif
24
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
34
35post-destroot {
36             xinstall -m 644 -v -W ${worksrcpath} README Xmfract.ad xmfract.ini \
37             ${destroot}${prefix}/share/${name}
38             move ${destroot}${prefix}/share/xmfract/xmfract.ini \
39                  ${destroot}${prefix}/share/xmfract/xmfract.ini.default
40}
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 TracBrowser for help on using the repository browser.