# $Id: Portfile 141582 2015-10-22 04:44:45Z jeremyhu@macports.org $ PortSystem 1.0 name xorg-libXfont version 1.5.1 revision 1 categories x11 devel license X11 BSD maintainers jeremyhu openmaintainer description X.org libXfont homepage http://www.x.org platforms darwin macosx long_description X font handling library for server and utilities master_sites xorg:individual/lib/ distname libXfont-${version} checksums sha1 e63a354de5dc2d8cba08d50add1519471412a618 \ rmd160 f597f5f5d5da639fa4ba8364c26af5793537de3e \ sha256 b70898527c73f9758f551bbab612af611b8a0962202829568d94f3edf4d86098 use_bzip2 yes use_parallel_build yes depends_build \ port:pkgconfig \ port:xorg-util-macros \ port:xorg-xtrans depends_lib \ port:freetype \ port:xorg-libfontenc \ port:bzip2 \ port:zlib \ port:xorg-xproto \ port:xorg-fontsproto patchfiles \ 0001-stubs-Add-missing-externs-for-declarations-in-the-NO.patch \ 0002-Use-NO_WEAK_SYMBOLS-instead-of-flat_namespace.patch patch.pre_args -p1 use_autoreconf yes autoreconf.args -fvi configure.args \ --with-bzip2 \ --without-xmlto \ --without-fop \ --disable-devel-docs build.args V=1 # Depending on ghostscript for the PDF documentation creates a dependency # loop, so you may want to install first without the docs variant variant docs description "Install extra documentation" { depends_build-append \ port:fop \ port:xmlto depends_skip_archcheck-append \ xmlto configure.args-delete \ --without-xmlto \ --without-fop \ --disable-devel-docs configure.args-append \ --with-xmlto \ --with-fop \ --enable-devel-docs configure.env-append \ XMLTO="${prefix}/bin/xmlto" \ FOP="${prefix}/bin/fop" } livecheck.type regex livecheck.url http://xorg.freedesktop.org/archive/individual/lib/?C=M&O=D livecheck.regex libXfont-(\\d+(?:\\.\\d+)*)