source: trunk/dports/x11/sunclock/Portfile @ 4693

Last change on this file since 4693 was 4693, checked in by toby, 17 years ago

Updating my ports to toby@… address, now that it works.

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1# $Id: Portfile,v 1.2 2004/01/14 21:57:13 toby Exp $
2
3PortSystem       1.0
4name             sunclock
5version          3.50pre1
6extract.suffix   .tgz
7categories       x11
8maintainers      toby@opendarwin.org
9description      shows Earth's surface illuminated by the Sun
10long_description \
11    This program is a clock that shows which portion of the \
12    Earth's surface is illuminated by the sun. It is designed \
13    to be usually iconic, but can be opened for a larger \
14    display with the time updated every second and both the \
15    local time zone and UTC displayed.
16homepage         http://frmas.free.fr/li_1.htm
17platforms        darwin
18master_sites     ftp://ftp.ac-grenoble.fr/ge/geosciences/
19checksums        md5 6e07964a99848018432825c5b3297cc6
20depends_lib      lib:libjpeg.62:jpeg
21
22pre-configure {
23    reinplace "s|DESTDIR=/usr|DESTDIR=${prefix}|" "${worksrcpath}/Imakefile"
24    reinplace "s|MANDIR=/X11R6|MANDIR=/share|" "${worksrcpath}/Imakefile"
25    reinplace "s|BINDIR=/X11R6/bin|BINDIR=/bin|" "${worksrcpath}/Imakefile"
26    reinplace "s|#JLIBDIR=-L/usr/lib|JLIBDIR=-L${prefix}/lib|" "${worksrcpath}/Imakefile"
27    reinplace "s|#JINC=-I/usr/include|JINC=-I${prefix}/include|" "${worksrcpath}/Imakefile"
28}
29
30use_xmkmf        yes
31
32pre-build {
33    reinplace "s|INCROOT = /usr/X11R6/include|INCROOT = ${prefix}/include|" "${worksrcpath}/Makefile"
34    reinplace "s|#include <malloc.h>||" "${worksrcpath}/tildepath.c"
35}
36
37destroot.destdir DESTDIR=${destroot}${prefix} DOCHTMLDIR=/share/doc
Note: See TracBrowser for help on using the repository browser.