# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name mozplugger categories www x11 version 1.14.6 revision 1 platforms darwin license GPL-2+ maintainers nomaintainer description Use popular X11 applications as plugins for firefox long_description ${description} homepage http://mozplugger.mozdev.org/index.html master_sites http://mozplugger.mozdev.org/files/ use_bzip2 no checksums md5 2cf0fd11da16221e94f67c0d7d015e88 \ sha1 a3bd7c329f4c11d7483e7ab3fc4acbb2f80b71b6 \ rmd160 2022f8872696e71cd3f884607773b6fc565f9053 \ sha256 3fd73b51d1c0b1c310cecac90155a86ef59c748dff677df542e39282ea7ecba7 depends_lib port:xorg-libX11 compiler.blacklist gcc-4.0 patchfiles \ destdir.patch \ ld.patch \ universal.patch set plugins_path "${prefix}/lib/nsplugins" post-patch { reinplace -locale C "s:OPERA_DIR:MOZILLA_FIVE_HOME:" ${worksrcpath}/mozplugger.c } configure.env-append \ MOZ_PLUGIN_PATH=${plugins_path} pre-destroot { file mkdir -p ${destroot}${plugins_path} } destroot.args-append \ PLUGINDIRS=${plugins_path} livecheck.type regex livecheck.url ${homepage} livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}