Ticket #5897: Portfile

File Portfile, 1.0 KB (added by mww@…, 18 years ago)

x11/openmotif/Portfile

Line 
1# $Id: Portfile,v 1.17 2005/06/14 06:28:49 jkh Exp $
2
3PortSystem 1.0
4name                    openmotif
5version                 2.3.0beta1
6categories              x11
7maintainers             darwinports@opendarwin.org
8description             The Open Motif toolkit for X11
9long_description        This is The Open Group's full version of Motif based on \
10                                the original OSF sources.
11platforms               darwin
12homepage                http://www.motifzone.net/
13master_sites    http://ftp.motifzone.net/om2.3/
14distname                ${name}-${version}-src
15checksums               md5 94ad0db66c354670a7b647979d883016
16
17depends_build   lib:libX11.6:XFree86
18depends_lib             port:jpeg port:libpng port:Xft2 port:expat port:fontconfig \
19                                port:freetype port:libiconv port:xrender port:zlib
20
21worksrcdir              ${name}-2.3.0
22
23post-patch {
24        reinplace "s;recipient's;recipients;" ${worksrcpath}/tools/wml/motif.wml
25}
26
27configure.args  --mandir=${prefix}/share/man
28configure.env   CFLAGS=-I${prefix}/include CPPFLAGS=-I${prefix}/include \
29                                LDFLAGS=-L${prefix}/lib
30
31build.env       LANG=C
32
33platform darwin 8 {
34        configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
35}
36