Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Full-featured clock - shows the portions of earth that are illuminated by the sun, allows user-defined points on the map (e.g. cities), many other neat features. Requires libjpeg. git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4540 d073be05-634f-4543-b044-5fe20cf6d1d6
- Loading branch information
1 parent
e99e911
commit 794a7b7
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,37 @@ | |||
# $Id: Portfile,v 1.1 2004/01/08 13:34:56 toby Exp $ | |||
|
|||
PortSystem 1.0 | |||
name sunclock | |||
version 3.50pre1 | |||
extract.suffix .tgz | |||
categories x11 | |||
maintainers tp62@cornell.edu | |||
description shows Earth's surface illuminated by the Sun | |||
long_description \ | |||
This program is a clock that shows which portion of the \ | |||
Earth's surface is illuminated by the sun. It is designed \ | |||
to be usually iconic, but can be opened for a larger \ | |||
display with the time updated every second and both the \ | |||
local time zone and UTC displayed. | |||
homepage http://frmas.free.fr/li_1.htm | |||
platforms darwin | |||
master_sites ftp://ftp.ac-grenoble.fr/ge/geosciences/ | |||
checksums md5 6e07964a99848018432825c5b3297cc6 | |||
depends_lib lib:libjpeg.62:jpeg | |||
|
|||
pre-configure { | |||
reinplace "s|DESTDIR=/usr|DESTDIR=${prefix}|" "${worksrcpath}/Imakefile" | |||
reinplace "s|MANDIR=/X11R6|MANDIR=/share|" "${worksrcpath}/Imakefile" | |||
reinplace "s|BINDIR=/X11R6/bin|BINDIR=/bin|" "${worksrcpath}/Imakefile" | |||
reinplace "s|#JLIBDIR=-L/usr/lib|JLIBDIR=-L${prefix}/lib|" "${worksrcpath}/Imakefile" | |||
reinplace "s|#JINC=-I/usr/include|JINC=-I${prefix}/include|" "${worksrcpath}/Imakefile" | |||
} | |||
|
|||
use_xmkmf yes | |||
|
|||
pre-build { | |||
reinplace "s|INCROOT = /usr/X11R6/include|INCROOT = ${prefix}/include|" "${worksrcpath}/Makefile" | |||
reinplace "s|#include <malloc.h>||" "${worksrcpath}/tildepath.c" | |||
} | |||
|
|||
destroot.destdir DESTDIR=${destroot}${prefix} DOCHTMLDIR=/share/doc |