add man page; from Martynas Venckus <martynas@altroot.org>, ok kurt@

This commit is contained in:
naddy 2007-02-14 22:44:32 +00:00
parent 80ffe78c9d
commit 6f3f4607cc
4 changed files with 87 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.64 2007/02/05 00:11:55 espie Exp $
# $OpenBSD: Makefile,v 1.65 2007/02/14 22:44:32 naddy Exp $
ONLY_FOR_ARCHS= alpha amd64 i386 powerpc sparc sparc64
@ -8,8 +8,8 @@ COMMENT-devel= "devel files for Gecko"
VER= 2.0.0.1
DISTNAME= mozilla
PKGNAME= mozilla-firefox-${VER}
PKGNAME-main= mozilla-firefox-${VER}p0
PKGNAME-devel= mozilla-firefox-devel-${VER}p0
PKGNAME-main= mozilla-firefox-${VER}p1
PKGNAME-devel= mozilla-firefox-devel-${VER}p1
SO_VERSION= 19.0
# NOTE: Must bump minor version if any shlib's are removed from the
# components dir to avoid pkg_add -r issues.
@ -126,6 +126,9 @@ pre-configure:
@perl -pi -e 's|_SO_VERSION_|${SO_VERSION}|g' \
${WRKSRC}/xpcom/components/nsNativeComponentLoader.cpp
post-build:
@cd ${WRKSRC}/xpfe/bootstrap && ${MAKE_PROGRAM} firefox.1
do-install:
.for dir in include idl
${INSTALL_DATA_DIR} ${MOZ}/${dir}
@ -161,5 +164,7 @@ do-install:
< ${FILESDIR}/README.OpenBSD > ${MOZ}/README.OpenBSD
${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig
${INSTALL_DATA} ${WRKBUILD}/build/unix/*.pc ${PREFIX}/lib/pkgconfig
${INSTALL_MAN} ${WRKSRC}/xpfe/bootstrap/firefox.1 ${PREFIX}/man/man1/
@ln -f ${PREFIX}/man/man1/firefox.1 ${PREFIX}/man/man1/mozilla-firefox.1
.include <bsd.port.mk>

View File

@ -1,4 +1,5 @@
MD5 (firefox-2.0.0.1-source.tar.bz2) = 7a1fc804ed735c5b7e9b1498bac8b5db
RMD160 (firefox-2.0.0.1-source.tar.bz2) = ce86c30f1e2038d2af05c7119fdab5609c21d12d
SHA1 (firefox-2.0.0.1-source.tar.bz2) = 52728b8f1fba8ab7d51962f6d021b31f02585e3f
SHA256 (firefox-2.0.0.1-source.tar.bz2) = b7db1a7d7ee37707dd5736a656982d1deaea7b29654f49564c2aa54c59ba1e24
SIZE (firefox-2.0.0.1-source.tar.bz2) = 37056207

View File

@ -0,0 +1,75 @@
$OpenBSD: patch-xpfe_bootstrap_mozilla_man_in,v 1.1 2007/02/14 22:44:32 naddy Exp $
--- xpfe/bootstrap/mozilla.man.in.orig Sun Apr 3 03:07:04 2005
+++ xpfe/bootstrap/mozilla.man.in Tue Feb 13 21:38:05 2007
@@ -1,6 +1,6 @@
.TH @MOZ_APP_NAME@ 1 "March 28, 2005" @MOZ_APP_NAME@ "Linux User's Manual"
.SH NAME
-@MOZ_APP_NAME@ \- an internet application suite (browser, mail, etc.)
+@MOZ_APP_NAME@ \- redesign of Mozilla's browser component.
.SH SYNOPSIS
.B @MOZ_APP_NAME@
@@ -62,9 +62,6 @@ Set height of startup window to \fIvalue
.B \-h, \-help
Show summary of options.
.TP
-.B \-installer
-Start with 4.x migration window.
-.TP
\fB\-width\fR \fIvalue\fR
Set width of startup window to \fIvalue\fR.
.TP
@@ -77,45 +74,26 @@ Create \fIprofile\fR.
\fB\-P\fR \fIprofile\fR
Start with \fIprofile\fR.
.TP
-.B \-ProfileWizard
-Start with profile wizard.
-.TP
.B \-ProfileManager
Start with profile manager.
.TP
-.B \-SelectProfile
-Start with profile selection dialog.
+\fB\-UILocale\fR \fIlocale\fR
+Start with \fIlocale\fR resources as UI Locale.
.TP
-\fB\-lang\fR \fIlang-region\fR
-Start with \fIlang-region\fR resources.
+\fB\-contentLocale\fR \fIlocale\fR
+Start with \fIlocale\fR resources as content Locale.
.TP
-\fB\-remote\fR \fIcommand\fR
-Execute \fIcommand\fR in an already running @MOZ_APP_DISPLAYNAME@ process. For more info,
-see: \fIhttp://www.mozilla.org/unix/remote.html\fR
+.B \-safe-mode
+Disables extensions and themes for the session.
.TP
-.B \-splash
-Enable splash screen.
-.TP
-.B \-addressbook
-Start with the addressbook.
-.TP
-.B \-news
-Start with news.
-.TP
.B \-jsconsole
Start with Javascript Console
.TP
-\fB\-edit\fR \fIurl\fR
-Start with editor.
-.TP
\fB\-chrome\fR \fIurl\fR
Load the specified chrome.
.TP
-.B \-mail
-Start with mail.
-.TP
-\fB\-compose\fR \fIurl\fR
-Start with mail compose.
+.B \-browser
+Open a browser window.
.SH FILES
\fI@bindir@/@MOZ_APP_NAME@\fR - shell script wrapping \fB@MOZ_APP_NAME@\fR

View File

@ -1,9 +1,11 @@
@comment $OpenBSD: PLIST-main,v 1.1 2007/01/12 21:46:17 kurt Exp $
@comment $OpenBSD: PLIST-main,v 1.2 2007/02/14 22:44:32 naddy Exp $
@conflict mozilla-firebird-*
@pkgpath www/mozilla-firefox
%%SHARED%%
bin/firefox
bin/mozilla-firefox
@man man/man1/firefox.1
@man man/man1/mozilla-firefox.1
mozilla-firefox/
mozilla-firefox/LICENSE
mozilla-firefox/README.OpenBSD