Files
Tim HentenaarandRenee Otten f2deb2ebac xmfract: change openmotif to motif and bump revision
* Add a patch to fix the configure tests, and correct the collision
  between the cimag / creal globals and the C99 complex functions.
* Add a patch to enable xmfract to run on TrueColor visuals.
* Add a patch to fix declarations with implicit int type.
* Added -std=c99 for compatibility with newer compilers.
* Fix port linting nits.
2026-05-20 17:50:10 -04:00

50 lines
1.6 KiB
Plaintext

PortSystem 1.0
name xmfract
version 1.4
revision 1
categories math
license GPL-2+
maintainers nomaintainer
description UNIX clone of the DOS based Fractint
long_description X/Motif based UNIX clone of the DOS based Fractint program used in \
the analysis of various fractal figures, created by Darryl House.
homepage https://web.archive.org/web/20170703184826/http://www.nahee.com/spanky/www/fractint/getting.html
master_sites https://ftp.gwdg.de/pub/x11/x.org/contrib/graphics/ \
freebsd
distname ${name}_${version}
checksums rmd160 3efe2632f91ca71c34d4e40c299ee3749e6966f2 \
sha256 7019d9f2b538e5767e8932a27ccefc0fe32654cc6395cbb73067e939970df2a9 \
size 902716
depends_lib lib:libXm:motif
patchfiles patch-all-Makefile.in.diff patch-src_window_size.c.diff \
patch-xmfract.ini.diff fix-c99-collisions.diff truecolor.diff \
implicit-int.diff
post-patch {
reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/xmfract.ini
}
configure.args --x-includes=${prefix}/include \
--x-libraries=${prefix}/lib \
--with-editres
configure.cflags-append -std=c99
post-destroot {
xinstall -m 644 -v -W ${worksrcpath} README Xmfract.ad xmfract.ini \
${destroot}${prefix}/share/${name}
move ${destroot}${prefix}/share/xmfract/xmfract.ini \
${destroot}${prefix}/share/xmfract/xmfract.ini.default
}
post-activate {
if {![file exists ${prefix}/share/xmfract/xmfract.ini]} {
copy ${prefix}/share/xmfract/xmfract.ini.default \
${prefix}/share/xmfract/xmfract.ini
}
}