Ticket #400: Portfile

File Portfile, 1.1 KB (added by stewartsmith@…, 21 years ago)

Portfile for POVRAY

Line 
1PortSystem      1.0
2name            povray
3version         3.5
4maintainers     stewartsmith@mac.com
5categories      graphics
6description     Persistence Of Vision RAYtracer
7long_description POVRAY is a 'free' and popular Ray Tracer available for many platforms (including UNIX). This is a port of the UNIX version, not the graphical MacOS X version.
8master_sites    \
9                http://www.povray.org/ftp/pub/povray/Official/Unix/ \
10                ftp://ftp.povray.org/pub/povray/Official/Unix/
11distname        povuni_s
12extract.sufx    .tgz
13checksums       povuni_s.tgz md5 bac59e7a86172a5bd0c63af2516e7045
14worksrcdir      povray-3.50c
15
16depends_lib     lib:libX11.6:XFree86 lib:libpng.3:libpng lib:libjpeg:jpeg lib:libz.1:zlib lib:libtiff.3:tiff
17patchfiles      src-Makefile.in.diff
18configure.args  --includedir=${prefix}/include
19post-configure {
20                reinplace "s|#error You must complete the following DISTRIBUTION_MESSAGE macro||" ${worksrcpath}/src/optout.h
21                reinplace "s|#define DISTRIBUTION_MESSAGE_2 \" FILL IN NAME HERE.........................\"|#define DISTRIBUTION_MESSAGE_2 \" DarwinPorts Build, Portfile maintained by Stewart Smith\"|" ${worksrcpath}/src/optout.h
22                }
23