# -*- 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 PortSystem 1.0 name xephem version 4.0.1 revision 0 categories science maintainers nomaintainer license Restrictive/Distributable description interactive astronomical ephemeris program long_description \ Xephem is an interactive astronomical ephemeris program for X Windows \ systems. It computes heliocentric, geocentric and topocentric \ information for fixed celestial objects and objects in heliocentric \ and geocentric orbits\; has built-in support for all planet positions\; \ the moons of Jupiter, Saturn and Earth\; Mars' and Jupiter's central \ meridian longitude\; Saturn's rings\; and Jupiter's Great Red Spot platforms darwin homepage http://www.clearskyinstitute.com/xephem/ master_sites http://www.clearskyinstitute.com/xephem/ supported_archs i386 x86_64 ppc checksums rmd160 396cfbc8ac8abcd5a53eab2389acbc4dc7566705 \ sha256 0d8deefc7be512474a9a926d9ad98a539f248177816297cd5d8e12a736f77e1a \ size 18214327 extract.suffix .tgz depends_build bin:nroff:groff depends_lib port:xorg-libXp \ port:xorg-libXt \ port:xorg-libXext \ port:xorg-libXmu \ port:xorg-libX11 worksrcdir ${distname}/GUI/xephem patchfiles patch-Makefile.diff # we need to use the included libpng as the included motif is built against it # the included libpng is not reliably built in time with parallel building use_parallel_build no use_configure no build.args MOTIF=../../libXm/osx \ CC="${configure.cc} [get_canonical_archflags cc]" build.target destroot { set share ${prefix}/share/xephem set appdefaults ${prefix}/lib/X11/app-defaults set bin ${prefix}/bin set man1 ${prefix}/share/man/man1 xinstall -m 755 ${worksrcpath}/xephem ${destroot}${bin} xinstall -m 755 -d ${destroot}${man1} xinstall -m 644 ${worksrcpath}/xephem.man ${destroot}${man1}/xephem.1 file mkdir ${destroot}${share} file copy \ ${worksrcpath}/auxil \ ${worksrcpath}/catalogs \ ${worksrcpath}/fifos \ ${worksrcpath}/fits \ ${worksrcpath}/gallery \ ${worksrcpath}/help \ ${worksrcpath}/lo \ ${destroot}${share} file mkdir ${destroot}${appdefaults} system "echo XEphem.ShareDir: ${share} > ${destroot}${appdefaults}/XEphem" } livecheck.type regex livecheck.url ${homepage}/download.html livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}