# -*- 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.12.0 platforms darwin maintainers jeremyhu openmaintainer description Use popular X11 applications as plugins for firefox long_description ${description} universal_variant no homepage http://mozplugger.mozdev.org/index.html master_sites http://mozplugger.mozdev.org/files/ use_bzip2 no checksums md5 6d4dd7b1c577f625c9d664532389d6db \ sha1 5107338378795c147e79c04eead8f9fa7f6ebd28 \ rmd160 87c82713de2dd9b139ea0b49f856b6797c913fb8 post-patch { reinplace "s:/lib/mozilla/plugins:/lib/nsplugins:g" ${worksrcpath}/Makefile reinplace "s:/etc:${prefix}/etc:g" ${worksrcpath}/Makefile reinplace "s:OPERA_DIR:MOZILLA_FIVE_HOME:" ${worksrcpath}/mozplugger.c reinplace "s:/usr/etc:${prefix}/etc:" ${worksrcpath}/mozplugger.c } use_configure no build.args prefix=${prefix} XLDFLAGS="-flat_namespace -bundle -shared -L${prefix}/lib -lX11" X11=${prefix} destroot.args root=${destroot} prefix=${prefix} X11=${prefix}