Ticket #5897: patch-Portfile

File patch-Portfile, 1.5 KB (added by mww@…, 18 years ago)

patch for x11/openmotif/Portfile

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