Tentative step for extensions, at least firefox stops whining.
From jamesw at bsdhosting.co.za, cleanup by me. ok pval@, naddy@
This commit is contained in:
parent
9346cba7d2
commit
c34e722bd0
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.20 2005/03/02 19:30:18 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.21 2005/03/16 08:59:04 wilfried Exp $
|
||||
|
||||
ONLY_FOR_ARCHS= alpha amd64 i386 powerpc sparc sparc64
|
||||
|
||||
@ -6,7 +6,7 @@ COMMENT= "redesign of Mozilla's browser component"
|
||||
|
||||
VER= 1.0.1
|
||||
DISTNAME= mozilla
|
||||
PKGNAME= mozilla-firefox-${VER}
|
||||
PKGNAME= mozilla-firefox-${VER}p1
|
||||
|
||||
CATEGORIES= www
|
||||
|
||||
@ -78,6 +78,7 @@ MAKE_ENV= MOZ_PHOENIX=1 \
|
||||
|
||||
MOB= ${WRKSRC}/dist/bin
|
||||
MOZ= ${PREFIX}/mozilla-firefox
|
||||
MAGIC= {972ce4c6-7e08-4474-a285-3208198ce6fd}
|
||||
|
||||
post-extract:
|
||||
@cp ${FILESDIR}/xptc* ${WRKSRC}/xpcom/reflect/xptcall/src/md/unix/
|
||||
@ -105,4 +106,10 @@ do-install:
|
||||
${INSTALL_PROGRAM} ${MOB}/regchrome ${MOB}/regxpcom ${MOB}/firefox-bin ${MOZ}
|
||||
ln -f ${MOZ}/firefox-bin ${MOZ}/mozilla-firefox-bin
|
||||
|
||||
${INSTALL_DATA_DIR} ${MOZ}/extensions
|
||||
${INSTALL_DATA} ${FILESDIR}/Extensions.rdf ${MOZ}/extensions/
|
||||
${INSTALL_DATA_DIR} ${MOZ}/extensions/${MAGIC}
|
||||
${INSTALL_DATA} ${MOZ}/defaults/profile/extensions/installed-extensions.txt ${MOZ}/extensions/installed-extensions-processed.txt
|
||||
${INSTALL_DATA} ${MOZ}/defaults/profile/extensions/${MAGIC}/install.rdf ${MOZ}/extensions/${MAGIC}/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
24
www/mozilla-firefox/files/Extensions.rdf
Normal file
24
www/mozilla-firefox/files/Extensions.rdf
Normal file
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0"?>
|
||||
<RDF:RDF xmlns:em="http://www.mozilla.org/2004/em-rdf#"
|
||||
xmlns:NC="http://home.netscape.com/NC-rdf#"
|
||||
xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
||||
<RDF:Seq RDF:about="urn:mozilla:theme:root">
|
||||
<RDF:li RDF:resource="urn:mozilla:theme:{972ce4c6-7e08-4474-a285-3208198ce6fd}"/>
|
||||
</RDF:Seq>
|
||||
<RDF:Seq RDF:about="urn:mozilla:extension:root">
|
||||
</RDF:Seq>
|
||||
<RDF:Description RDF:about="urn:mozilla:theme:{972ce4c6-7e08-4474-a285-3208198ce6fd}"
|
||||
em:version="2.0"
|
||||
em:name="Firefox (default)"
|
||||
em:description="The default theme"
|
||||
em:creator="Gerich and Horlander"
|
||||
em:internalName="classic/1.0"
|
||||
em:locked="true"
|
||||
em:contributor="Mozilla Contributors">
|
||||
<em:targetApplication RDF:resource="rdf:#$PhNk."/>
|
||||
</RDF:Description>
|
||||
<RDF:Description RDF:about="rdf:#$PhNk."
|
||||
em:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
||||
em:minVersion="1.0"
|
||||
em:maxVersion="1.0" />
|
||||
</RDF:RDF>
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: DEINSTALL,v 1.4 2005/03/02 19:30:18 naddy Exp $
|
||||
# $OpenBSD: DEINSTALL,v 1.5 2005/03/16 08:59:04 wilfried Exp $
|
||||
#
|
||||
# De-installation setup of mozilla-firefox
|
||||
|
||||
@ -25,11 +25,6 @@ case $2 in
|
||||
rm -f compreg.dat xpti.dat
|
||||
cd ${MOZ}/chrome
|
||||
rm -rf chrome.rdf overlayinfo
|
||||
cd ${MOZ}
|
||||
# rm -f .autoreg components.ini install.log registry
|
||||
# rm -f extensions/Extensions.rdf extensions/installed-extensions-processed.txt
|
||||
# rm -rf extensions/{*
|
||||
# rmdir extensions
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 distname DEINSTALL" >&2
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: INSTALL,v 1.3 2005/03/02 19:30:18 naddy Exp $
|
||||
# $OpenBSD: INSTALL,v 1.4 2005/03/16 08:59:04 wilfried Exp $
|
||||
#
|
||||
# Pre/post-installation setup of mozilla
|
||||
|
||||
@ -29,13 +29,6 @@ case $2 in
|
||||
env HOME=/tmp LD_LIBRARY_PATH=${MOZ} ./regxpcom
|
||||
env HOME=/tmp LD_LIBRARY_PATH=${MOZ} ./regchrome
|
||||
rm -rf /tmp/.mozilla
|
||||
|
||||
# mkdir -m 777 -p extensions
|
||||
# touch .autoreg components.ini install.log registry
|
||||
# chmod 666 .autoreg components.ini install.log registry
|
||||
#
|
||||
# cd ${MOZ}/chrome
|
||||
# chmod 666 installed-chrome.txt
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.4 2004/11/26 18:29:15 pvalchev Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.5 2005/03/16 08:59:04 wilfried Exp $
|
||||
@conflict mozilla-firebird-*
|
||||
%%SHARED%%
|
||||
bin/firefox
|
||||
@ -348,6 +348,11 @@ mozilla-firefox/defaults/profile/localstore.rdf
|
||||
mozilla-firefox/defaults/profile/mimeTypes.rdf
|
||||
mozilla-firefox/defaults/profile/prefs.js
|
||||
mozilla-firefox/defaults/profile/search.rdf
|
||||
mozilla-firefox/extensions/
|
||||
mozilla-firefox/extensions/Extensions.rdf
|
||||
mozilla-firefox/extensions/installed-extensions-processed.txt
|
||||
mozilla-firefox/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/
|
||||
mozilla-firefox/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf
|
||||
mozilla-firefox/firefox-bin
|
||||
mozilla-firefox/firefox-config
|
||||
mozilla-firefox/greprefs/
|
||||
|
Loading…
Reference in New Issue
Block a user