source: trunk/dports/www/mozplugger/Portfile @ 73887

Last change on this file since 73887 was 73887, checked in by jeremyhu@…, 7 years ago

mozplugger: Bump to 1.14.2

  • 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 73887 2010-11-28 01:26:50Z jeremyhu@macports.org $
3
4PortSystem      1.0
5
6name            mozplugger
7categories      www x11
8version         1.14.2
9platforms       darwin
10maintainers     jeremyhu openmaintainer
11description     Use popular X11 applications as plugins for firefox
12
13long_description ${description}
14
15homepage        http://mozplugger.mozdev.org/index.html
16master_sites    http://mozplugger.mozdev.org/files/
17use_bzip2       no
18
19checksums           md5     76c4e2cdf14e41b6df1d60bd1a2f249d \
20                    sha1    5a7b82a3c0d0647a674330cfb5a768bace71d6b9 \
21                    rmd160  563ef13b82745de60fdd2c6cc1e15f7fd8832982
22
23post-patch {
24        reinplace "s:/mozilla/plugins:/nsplugins:g" ${worksrcpath}/Makefile
25        reinplace "s:/etc:${prefix}/etc:g" ${worksrcpath}/Makefile
26        reinplace "s:OPERA_DIR:MOZILLA_FIVE_HOME:" ${worksrcpath}/mozplugger.c
27        reinplace "s:/usr/etc:${prefix}/etc:" ${worksrcpath}/mozplugger.c
28}
29
30use_configure no
31
32build.args \
33        prefix=${prefix} \
34        CC="${configure.cc} ${configure.universal_cflags} -I${prefix}/include" \
35        LD="${configure.cc} ${configure.universal_ldflags}" \
36        XCFLAGS="${configure.universal_cflags} -I${prefix}/include" \
37        XLDFLAGS="${configure.universal_ldflags} -flat_namespace -shared -L${prefix}/lib -lX11" \
38        X11=${prefix}
39
40destroot.args \
41        root=${destroot} \
42        prefix=${prefix} \
43        X11=${prefix}
Note: See TracBrowser for help on using the repository browser.