source: trunk/dports/www/mozplugger/Portfile

Last change on this file was 151097, checked in by jeremyhu@…, 12 months ago

mozplugger: Use the right compiler to link

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- 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
2# $Id: Portfile 151097 2016-08-07 07:55:29Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            mozplugger
7categories      www x11
8version         1.14.6
9revision        1
10platforms       darwin
11license         GPL-2+
12maintainers     nomaintainer
13description     Use popular X11 applications as plugins for firefox
14
15long_description ${description}
16
17homepage        http://mozplugger.mozdev.org/index.html
18master_sites    http://mozplugger.mozdev.org/files/
19use_bzip2       no
20
21checksums           md5     2cf0fd11da16221e94f67c0d7d015e88 \
22                    sha1    a3bd7c329f4c11d7483e7ab3fc4acbb2f80b71b6 \
23                    rmd160  2022f8872696e71cd3f884607773b6fc565f9053 \
24                    sha256  3fd73b51d1c0b1c310cecac90155a86ef59c748dff677df542e39282ea7ecba7
25
26depends_lib     port:xorg-libX11
27
28compiler.blacklist gcc-4.0
29
30patchfiles \
31    destdir.patch \
32    ld.patch \
33    universal.patch
34
35set plugins_path "${prefix}/lib/nsplugins"
36
37post-patch {
38    reinplace -locale C "s:OPERA_DIR:MOZILLA_FIVE_HOME:" ${worksrcpath}/mozplugger.c
39}
40
41configure.env-append \
42    MOZ_PLUGIN_PATH=${plugins_path}
43
44pre-destroot {
45    file mkdir -p ${destroot}${plugins_path}
46}
47
48destroot.args-append \
49    PLUGINDIRS=${plugins_path}
50
51livecheck.type  regex
52livecheck.url   ${homepage}
53livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.