mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
- Add support for seamonkey
- Bump PORTREVISION PR: ports/107161 Submitted by: Marat N.Afanasyev <marat@zealot.ksu.ru> Approved by: erwin (mentor)
This commit is contained in:
parent
2d28a4e100
commit
294027405b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=180885
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= devhelp
|
||||
PORTVERSION= 0.10
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES?= devel gnome
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C,^([[:digit:]]+\.[[:digit:]]+).*,\1,}
|
||||
@ -24,8 +24,10 @@ MOZILLA= mozilla
|
||||
.if !defined(WITH_MOZILLA)
|
||||
MOZILLA= mozilla
|
||||
.else
|
||||
.if ${WITH_MOZILLA}=="firefox"
|
||||
.if ${WITH_MOZILLA} == "firefox"
|
||||
MOZILLA= firefox
|
||||
.elif ${WITH_MOZILLA} == "seamonkey"
|
||||
MOZILLA= seamonkey
|
||||
.endif
|
||||
.endif
|
||||
|
||||
@ -52,7 +54,7 @@ pre-everything::
|
||||
@${ECHO_MSG} " By default the port uses www/mozilla for html rendering, but you can"
|
||||
@${ECHO_MSG} " change this by defining WITH_MOZILLA to one of the following values:"
|
||||
@${ECHO_MSG}
|
||||
@${ECHO_MSG} " firefox "
|
||||
@${ECHO_MSG} " firefox seamonkey "
|
||||
@${ECHO_MSG} ""
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
41
devel/devhelp/files/patch-configure
Normal file
41
devel/devhelp/files/patch-configure
Normal file
@ -0,0 +1,41 @@
|
||||
--- configure.orig Wed Dec 27 12:37:13 2006
|
||||
+++ configure Wed Dec 27 12:41:54 2006
|
||||
@@ -1047,9 +1047,9 @@
|
||||
include additional configurations [automatic]
|
||||
--with-gconf-source=sourceaddress Config database for installing schema files.
|
||||
--with-gconf-schema-file-dir=dir Directory for installing schema files.
|
||||
- --with-mozilla[=mozilla|firefox|thunderbird]
|
||||
- Whether to use mozilla, firefox or thunderbird
|
||||
- gtkmozembed (default: mozilla)
|
||||
+ --with-mozilla[=mozilla|firefox|seamonkey|thunderbird]
|
||||
+ Whether to use mozilla, firefox, seamonkey
|
||||
+ or thunderbird gtkmozembed (default: mozilla)
|
||||
--with-zlib=DIR use libz in DIR
|
||||
|
||||
Some influential environment variables:
|
||||
@@ -20253,6 +20253,8 @@
|
||||
MOZILLA=mozilla
|
||||
elif pkg-config --exists firefox-gtkmozembed; then
|
||||
MOZILLA=firefox
|
||||
+ elif pkg-config --exists seamonkey-gtkmozembed; then
|
||||
+ MOZILLA=seamonkey
|
||||
elif pkg-config --exists thunderbird-gtkmozembed; then
|
||||
MOZILLA=thunderbird
|
||||
else
|
||||
@@ -20260,7 +20262,7 @@
|
||||
echo "$as_me: error: no mozilla installation found" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
-elif test "x$with_mozilla" != "xmozilla" -a "x$with_mozilla" != "xfirefox" -a "x$with_mozilla" != "xthunderbird"; then
|
||||
+elif test "x$with_mozilla" != "xmozilla" -a "x$with_mozilla" != "xfirefox" -a "x$with_mozilla" != "xseamonkey" -a "x$with_mozilla" != "xthunderbird"; then
|
||||
{ { echo "$as_me:$LINENO: error: unknown mozilla name ($MOZILLA)" >&5
|
||||
echo "$as_me: error: unknown mozilla name ($MOZILLA)" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
@@ -20274,6 +20276,7 @@
|
||||
case "$MOZILLA" in
|
||||
mozilla) min_version=1.7 flavour=mozilla ;;
|
||||
firefox) min_version=0.10 flavour=toolkit ;;
|
||||
+seamonkey) min_version=1.0 flavour=toolkit ;;
|
||||
thunderbird) min_version=0.8 flavour=toolkit ;;
|
||||
esac
|
||||
|
13
devel/devhelp/files/patch-configure.in
Normal file
13
devel/devhelp/files/patch-configure.in
Normal file
@ -0,0 +1,13 @@
|
||||
--- configure.in.orig Wed Dec 27 12:40:09 2006
|
||||
+++ configure.in Wed Dec 27 12:42:54 2006
|
||||
@@ -44,8 +44,8 @@
|
||||
|
||||
MOZILLA=
|
||||
AC_ARG_WITH([mozilla],
|
||||
- AC_HELP_STRING([--with-mozilla@<:@=mozilla|firefox|thunderbird@:>@],
|
||||
- [Whether to use mozilla, firefox or thunderbird gtkmozembed (default: mozilla)]),
|
||||
+ AC_HELP_STRING([--with-mozilla@<:@=mozilla|firefox|seamonkey|thunderbird@:>@],
|
||||
+ [Whether to use mozilla, firefox, seamonkey or thunderbird gtkmozembed (default: mozilla)]),
|
||||
[MOZILLA="$withval"])
|
||||
|
||||
dnl try to autodetect: if mozilla exists, use it, else try firefox, then thunderbird
|
Loading…
Reference in New Issue
Block a user