# $Id$ PortSystem 1.0 name openmotif version 2.3.1-1 set branch [join [lrange [split ${version} .] 0 1] .] set subdir [lindex [split ${version} -] 0] worksrcdir ${name}-${subdir} categories x11 platforms darwin maintainers nomaintainer description The Open Motif toolkit for X11 long_description \ This is The Open Group's full version of Motif based on \ the original OSF sources. homepage http://www.motifzone.net/ master_sites http://ftp.ics.com/openmotif/${branch}/${subdir}/ \ ftp://ftp.ics.com/openmotif/${branch}/${subdir}/ fetch.use_epsv no checksums md5 1372108f50f3554ee2f28367ff76bd32 \ sha1 3245375f4bd8e2d2eb02c2636d5491e834d8bb1a \ rmd160 e03422204b6077fa6556894f194236d40e92e42b depends_lib \ port:jpeg \ port:libpng \ port:libiconv \ lib:libSM.6:xorg-libsm \ lib:libXext.6:xorg-libXext \ lib:libXft.2:Xft2 \ lib:libXmu.6:xorg-libXmu \ lib:libXp.6:xorg-libXp \ lib:libXt.6:xorg-libXt patchfiles patch-demos-programs-peridoc-Makefile.in.diff \ patch-lib-Mrm-Makefile.in.diff post-patch { reinplace "s|iconv_open|libiconv_open|g" ${worksrcpath}/configure reinplace -E "/^LDFLAGS/s|\$| @LDFLAGS@|" ${worksrcpath}/lib/Xm/Makefile.in } configure.args --mandir=${prefix}/share/man \ --enable-xft \ --with-fontconfig-config=${prefix}/bin/freetype-config \ --enable-jpeg \ --enable-png build.env LANG=C post-destroot { set docdir ${prefix}/share/doc/${name}-${version} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} BUGREPORT COPYRIGHT.MOTIF ChangeLog LICENSE \ README RELNOTES TODO ${destroot}${docdir} } platform darwin 7 { patchfiles-append patch-freetype.diff } livecheck.check none