source: trunk/dports/x11/openmotif/Portfile @ 50767

Last change on this file since 50767 was 50767, checked in by jmr@…, 8 years ago

openmotif: add build dep on xbitmaps (#12769), disable parallel build since it fails

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 50767 2009-05-08 23:59:06Z jmr@macports.org $
2
3PortSystem      1.0
4
5name            openmotif
6version         2.3.1-1
7revision        2
8set branch      [join [lrange [split ${version} .] 0 1] .]
9set subdir      [lindex [split ${version} -] 0]
10worksrcdir      ${name}-${subdir}
11categories      x11
12platforms       darwin
13maintainers     nomaintainer
14description     The Open Motif toolkit for X11
15
16long_description \
17    This is The Open Group's full version of Motif based on \
18    the original OSF sources.
19
20homepage        http://www.motifzone.net/
21master_sites    http://ftp.ics.com/openmotif/${branch}/${subdir}/ \
22                ftp://ftp.ics.com/openmotif/${branch}/${subdir}/
23fetch.use_epsv  no
24
25checksums       md5     1372108f50f3554ee2f28367ff76bd32 \
26                sha1    3245375f4bd8e2d2eb02c2636d5491e834d8bb1a \
27                rmd160  e03422204b6077fa6556894f194236d40e92e42b
28
29depends_build \
30        port:pkgconfig \
31        port:xbitmaps
32
33depends_lib \
34        port:jpeg \
35        port:libpng \
36        port:libiconv \
37        port:xorg-libsm \
38        port:xorg-libXext \
39        port:Xft2 \
40        port:xorg-libXmu \
41        port:xorg-libXp \
42        port:xorg-libXt
43
44patchfiles      patch-demos-programs-peridoc-Makefile.in.diff \
45                patch-lib-Mrm-Makefile.in.diff
46
47post-patch {
48    reinplace "s|iconv_open|libiconv_open|g" ${worksrcpath}/configure
49    reinplace -E "/^LDFLAGS/s|\$| @LDFLAGS@|" ${worksrcpath}/lib/Xm/Makefile.in
50}
51
52configure.args  --mandir=${prefix}/share/man    \
53                --enable-xft    \
54                --enable-jpeg   \
55                --enable-png \
56                --x-include=${prefix}/include --x-lib=${prefix}/lib
57
58use_parallel_build  no
59build.env       LANG=C
60
61post-destroot {
62    set docdir ${prefix}/share/doc/${name}-${version}
63    xinstall -d ${destroot}${docdir}
64    xinstall -m 0644 -W ${worksrcpath} BUGREPORT COPYRIGHT.MOTIF ChangeLog LICENSE \
65        README RELNOTES TODO ${destroot}${docdir}
66}
67
68platform darwin 7 {
69    patchfiles-append   patch-freetype.diff
70}
71
72livecheck.check none
Note: See TracBrowser for help on using the repository browser.