source: trunk/dports/science/xephem/Portfile

Last change on this file was 144550, checked in by mf2k@…, 21 months ago

xephem: Add and conform to modeline.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 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 144550 2016-01-12 15:07:25Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                xephem
7version             3.7.4
8revision            1
9categories          science
10maintainers         nomaintainer
11license             Restrictive/Distributable
12description         interactive astronomical ephemeris program
13long_description \
14    Xephem is an interactive astronomical ephemeris program for X Windows \
15    systems. It computes heliocentric, geocentric and topocentric \
16    information for fixed celestial objects and objects in heliocentric \
17    and geocentric orbits\; has built-in support for all planet positions\; \
18    the moons of Jupiter, Saturn and Earth\; Mars' and Jupiter's central \
19    meridian longitude\; Saturn's rings\; and Jupiter's Great Red Spot
20homepage            http://www.clearskyinstitute.com/xephem/
21platforms           darwin
22master_sites        http://97.74.56.125/free/
23checksums           md5 4e9290609f36df469a2ba5a1b4fffd46 \
24                    sha1 ea5859614381099ca3e9bc28930fd913dfd44926 \
25                    rmd160 96684e4b3afc445389ace82cbb200a0b7095852a
26depends_lib         lib:libXm:openmotif
27worksrcdir          ${distname}/GUI/xephem
28
29patchfiles          patch-Makefile.diff
30
31use_configure       no
32build.args          MOTIFI=${prefix}/include MOTIFL=${prefix}/lib \
33                    CC=${configure.cc}
34build.target
35
36destroot {
37    set share ${prefix}/share/xephem
38    set appdefaults ${prefix}/lib/X11/app-defaults
39    set bin ${prefix}/bin
40    set man1 ${prefix}/share/man/man1
41
42    xinstall -m 755 ${worksrcpath}/xephem ${destroot}${bin}
43
44    xinstall -m 755 -d ${destroot}${man1}
45    xinstall -m 644 ${worksrcpath}/xephem.man ${destroot}${man1}/xephem.1
46
47    file mkdir ${destroot}${share}
48    file copy \
49        ${worksrcpath}/auxil \
50        ${worksrcpath}/catalogs \
51        ${worksrcpath}/fifos \
52        ${worksrcpath}/fits \
53        ${worksrcpath}/gallery \
54        ${worksrcpath}/help \
55        ${worksrcpath}/lo \
56        ${destroot}${share}
57
58    file mkdir ${destroot}${appdefaults}
59    system "echo XEphem.ShareDir: ${share} > ${destroot}${appdefaults}/XEphem"
60}
Note: See TracBrowser for help on using the repository browser.