[144372] trunk/dports/www/mozplugger/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Wed Jan 6 21:08:54 PST 2016
Revision: 144372
https://trac.macports.org/changeset/144372
Author: jeremyhu at macports.org
Date: 2016-01-06 21:08:54 -0800 (Wed, 06 Jan 2016)
Log Message:
-----------
mozplugger: Make sure the plugin is installed even if the directory isn't present at build time
Modified Paths:
--------------
trunk/dports/www/mozplugger/Portfile
Modified: trunk/dports/www/mozplugger/Portfile
===================================================================
--- trunk/dports/www/mozplugger/Portfile 2016-01-07 05:05:50 UTC (rev 144371)
+++ trunk/dports/www/mozplugger/Portfile 2016-01-07 05:08:54 UTC (rev 144372)
@@ -6,6 +6,7 @@
name mozplugger
categories www x11
version 1.14.6
+revision 1
platforms darwin
license GPL-2+
maintainers jeremyhu openmaintainer
@@ -26,21 +27,26 @@
compiler.blacklist gcc-4.0
-build.args-append \
- LDSHARED="${configure.cc} -shared"
-
patchfiles \
destdir.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=${prefix}/lib/nsplugins
+ 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}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160106/7096e543/attachment.html>
More information about the macports-changes
mailing list