aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-01-28 06:30:00 +0800
committermiwi <miwi@FreeBSD.org>2010-01-28 06:30:00 +0800
commit6ca48789df1732716d66e25b73ed4c4b0acb10d0 (patch)
tree0099f90fb6ab7e1e689f948a4642611a02789ef4
parent48c5972038601875481da400f92f543ee34eeba7 (diff)
downloadfreebsd-ports-gnome-6ca48789df1732716d66e25b73ed4c4b0acb10d0.tar.gz
freebsd-ports-gnome-6ca48789df1732716d66e25b73ed4c4b0acb10d0.tar.zst
freebsd-ports-gnome-6ca48789df1732716d66e25b73ed4c4b0acb10d0.zip
- Add support for i386
PR: 143299 Submitted by: Jonathan Chen <jonc@chen.org.nz> (maintainer)
-rw-r--r--www/xpi-gwt-dev-plugin/Makefile8
-rw-r--r--www/xpi-gwt-dev-plugin/files/patch-install.rdf3
-rw-r--r--www/xpi-gwt-dev-plugin/pkg-plist20
3 files changed, 10 insertions, 21 deletions
diff --git a/www/xpi-gwt-dev-plugin/Makefile b/www/xpi-gwt-dev-plugin/Makefile
index 2975098391f9..b777d138876c 100644
--- a/www/xpi-gwt-dev-plugin/Makefile
+++ b/www/xpi-gwt-dev-plugin/Makefile
@@ -44,4 +44,12 @@ do-install:
${CP} -R ${XPI_FILESDIR}/ ${XPI_XPIDIR}
${LN} -s ${XPI_XPIDIR} ${LOCALBASE}/lib/firefox3/extensions
+post-install:
+ @${FIND} -s ${XPI_FILESDIR} -not -type d | \
+ ${SED} -ne 's,^${XPI_FILESDIR}/,${XPI_XPIDIR:S,^${PREFIX}/,,}/,p' >> ${TMPPLIST}
+ @${FIND} -s -d ${XPI_FILESDIR} -type d | \
+ ${SED} -ne 's,^${XPI_FILESDIR}/,@dirrm ${XPI_XPIDIR:S,^${PREFIX}/,,}/,p' >> ${TMPPLIST}
+ @${ECHO_CMD} "@dirrm ${XPI_XPIDIR:S,^${PREFIX}/,,}" >> ${TMPPLIST}
+ @${ECHO_CMD} "@dirrm ${XPI_LIBDIR:S,^${PREFIX}/,,}" >> ${TMPPLIST}
+
.include <bsd.port.mk>
diff --git a/www/xpi-gwt-dev-plugin/files/patch-install.rdf b/www/xpi-gwt-dev-plugin/files/patch-install.rdf
index 03d1c53652b5..2ca5b795d6f0 100644
--- a/www/xpi-gwt-dev-plugin/files/patch-install.rdf
+++ b/www/xpi-gwt-dev-plugin/files/patch-install.rdf
@@ -1,10 +1,11 @@
diff -u /tmp/gwt-plugins-release-2.0/xpcom/install-template-ff35.rdf xpcom/install-template-ff35.rdf
--- /tmp/gwt-plugins-release-2.0/xpcom/install-template-ff35.rdf 2010-01-19 08:52:13.000000000 +1300
+++ ./xpcom/install-template-ff35.rdf 2010-01-11 14:46:53.000000000 +1300
-@@ -26,6 +26,7 @@
+@@ -26,6 +26,8 @@
<em:targetPlatform>WINNT_x86-msvc</em:targetPlatform>
<em:targetPlatform>Darwin_x86-gcc3</em:targetPlatform>
<em:targetPlatform>Darwin_ppc-gcc3</em:targetPlatform>
++ <em:targetPlatform>FreeBSD_x86-gcc3</em:targetPlatform>
+ <em:targetPlatform>FreeBSD_x86_64-gcc3</em:targetPlatform>
<em:optionsURL>chrome://gwt-dmp/content/options.xul</em:optionsURL>
diff --git a/www/xpi-gwt-dev-plugin/pkg-plist b/www/xpi-gwt-dev-plugin/pkg-plist
index a99a66cf0ba4..1203ae2583bb 100644
--- a/www/xpi-gwt-dev-plugin/pkg-plist
+++ b/www/xpi-gwt-dev-plugin/pkg-plist
@@ -1,21 +1 @@
-lib/xpi/gwt-dmp-ff35@gwt.google.com/chrome.manifest
-lib/xpi/gwt-dmp-ff35@gwt.google.com/components/IOOPHM.xpt
-lib/xpi/gwt-dmp-ff35@gwt.google.com/content/options.xul
-lib/xpi/gwt-dmp-ff35@gwt.google.com/content/prefScript.js
-lib/xpi/gwt-dmp-ff35@gwt.google.com/defaults/preferences/defaults.js
-lib/xpi/gwt-dmp-ff35@gwt.google.com/install.rdf
-lib/xpi/gwt-dmp-ff35@gwt.google.com/platform/FreeBSD_x86_64-gcc3/components/libgwt_dmp_ff35.so
-lib/xpi/gwt-dmp-ff35@gwt.google.com/skin/README.txt
-lib/xpi/gwt-dmp-ff35@gwt.google.com/skin/icon.png
-lib/xpi/gwt-dmp-ff35@gwt.google.com/skin/warning.png
lib/firefox3/extensions/gwt-dmp-ff35@gwt.google.com
-@dirrm lib/xpi/gwt-dmp-ff35@gwt.google.com/skin
-@dirrm lib/xpi/gwt-dmp-ff35@gwt.google.com/platform/FreeBSD_x86_64-gcc3/components
-@dirrm lib/xpi/gwt-dmp-ff35@gwt.google.com/platform/FreeBSD_x86_64-gcc3
-@dirrm lib/xpi/gwt-dmp-ff35@gwt.google.com/platform
-@dirrm lib/xpi/gwt-dmp-ff35@gwt.google.com/defaults/preferences
-@dirrm lib/xpi/gwt-dmp-ff35@gwt.google.com/defaults
-@dirrm lib/xpi/gwt-dmp-ff35@gwt.google.com/content
-@dirrm lib/xpi/gwt-dmp-ff35@gwt.google.com/components
-@dirrm lib/xpi/gwt-dmp-ff35@gwt.google.com
-@dirrm lib/xpi