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