# $Id$ PortSystem 1.0 name xorg-libXfont2 version 2.0.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 libXfont2-${version} checksums sha1 4cf056ab00bf631649e040051cf8e2b096cc245b \ rmd160 3522b8ec43b6d45f096c815365895fc977046bbc \ sha256 e9fbbb475ddd171b3a6a54b989cbade1f6f874fc35d505ebc5be426bc6e4db7e 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 configure.args \ --with-bzip2 \ --without-xmlto \ --without-fop \ --disable-devel-docs patchfiles-append \ 0001-Revert-Add-compiler-warning-flags-.-Leave-warning-fi.patch \ 0002-FreeType-Correct-an-allocation-size.patch \ 0003-bitmap-Bail-out-on-invalid-input-to-FontFileMakeDir-.patch \ 0004-fserve-Silence-a-Wformat-warning.patch \ 0005-fstrans-Remove-unused-foo-function.patch \ 0006-fserve-Fix-a-buffer-read-overrun-in-_fs_client_acces.patch \ 0007-configure-Use-fvisibility-hidden-if-available.patch \ 0009-freetype-Fix-a-logic-error-in-computing-face-name.patch patch.pre_args -p1 use_autoreconf yes autoreconf.args -fvi 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+)*)