diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-08-01 12:42:15 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-08-01 12:42:15 +0800 |
commit | 88bfb7221748eed25d3b0ea56eb2d998a36cedf6 (patch) | |
tree | 167bfb7e72baab12b1b87e7603578605a0560329 /www | |
parent | 93bae2f3ba5d24b89344ea697be43f6ab1958422 (diff) | |
download | marcuscom-ports-88bfb7221748eed25d3b0ea56eb2d998a36cedf6.tar marcuscom-ports-88bfb7221748eed25d3b0ea56eb2d998a36cedf6.tar.gz marcuscom-ports-88bfb7221748eed25d3b0ea56eb2d998a36cedf6.tar.bz2 marcuscom-ports-88bfb7221748eed25d3b0ea56eb2d998a36cedf6.tar.lz marcuscom-ports-88bfb7221748eed25d3b0ea56eb2d998a36cedf6.tar.xz marcuscom-ports-88bfb7221748eed25d3b0ea56eb2d998a36cedf6.tar.zst marcuscom-ports-88bfb7221748eed25d3b0ea56eb2d998a36cedf6.zip |
Remove the '/gnome/'; it seems make more sense that way for in general
desktop as this port is not for GNOME desktop only.
share/gnome/applications -> share/applications
share/gnome/pixmaps -> share/pixmaps
I don't know anything about this port, so I don't know if it needs to the
PREFIX from X11BASE to LOCALBASE to chase other gecko ports.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6914 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www')
-rw-r--r-- | www/firefox-remote/Makefile | 78 | ||||
-rw-r--r-- | www/firefox-remote/distinfo | 3 | ||||
-rw-r--r-- | www/firefox-remote/pkg-descr | 4 | ||||
-rw-r--r-- | www/firefox-remote/pkg-message | 7 | ||||
-rw-r--r-- | www/firefox-remote/pkg-plist | 7 |
5 files changed, 99 insertions, 0 deletions
diff --git a/www/firefox-remote/Makefile b/www/firefox-remote/Makefile new file mode 100644 index 000000000..9dfdfb7cc --- /dev/null +++ b/www/firefox-remote/Makefile @@ -0,0 +1,78 @@ +# New ports collection makefile for: firefox-remote +# Date created: 13 May 2004 +# Whom: Franz Klammer <klammer@webonaut.com> +# +# $FreeBSD$ +# + +PORTNAME= firefox +PORTVERSION= 20040803 +PORTREVISION= 1 +CATEGORIES= www +MASTER_SITES= http://www.webonaut.com/distfiles/${PORTNAME}${PKGNAMESUFFIX}/ +PKGNAMESUFFIX= -remote +DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION} + +MAINTAINER= klammer@webonaut.com +COMMENT= Wrapper scripts for firefox web browser + +USE_BZIP2= yes +USE_X_PREFIX= yes + +UTF8_HACK= no +FIREFOX_REMOTE= ${PORTNAME}${PKGNAMESUFFIX} +THUNDERBIRD_REMOTE= thunderbird${PKGNAMESUFFIX} + +OPTIONS=UTF8_LOCALE "Use UTF8 locale (read Makefile for details)" off \ + MENU_FIREFOX "Add menu entry for firefox" off \ + MENU_THUNDERBIRD "Add menu entry for thunderbird" off + +.include <bsd.port.pre.mk> + +# firefox/thunderbird can't display unicode filenames with special +# characters like umlaute in german correctly if a ISO-locale is set. +# when enabled the remote scripts try to switch to the UTF8-locale if +# available (e.g. de_DE.UTF8 instead of de_DE.ISO8859-xx) +.if defined(WITH_UTF8_LOCALE) +UTF8_HACK= yes +.endif + +.if defined(WITH_MENU_FIREFOX) +PLIST_SUB+= MENU_FIREFOX="" +.else +PLIST_SUB+= MENU_FIREFOX="@comment " +.endif + +.if defined(WITH_MENU_THUNDERBIRD) +PLIST_SUB+= MENU_THUNDERBIRD="" +.else +PLIST_SUB+= MENU_THUNDERBIRD="@comment " +.endif + +do-build: + @${REINPLACE_CMD} -e 's|@X11BASE@|${PREFIX}|g' \ + ${WRKSRC}/${FIREFOX_REMOTE} + @${REINPLACE_CMD} -e 's|@UTF8@|${UTF8_HACK}|g' \ + ${WRKSRC}/${FIREFOX_REMOTE} + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${FIREFOX_REMOTE} \ + ${PREFIX}/bin/${FIREFOX_REMOTE} + ${RM} -f ${PREFIX}/bin/${THUNDERBIRD_REMOTE} + ${LN} -s ${PREFIX}/bin/${FIREFOX_REMOTE} \ + ${PREFIX}/bin/${THUNDERBIRD_REMOTE} +.if defined (WITH_MENU_FIREFOX) + ${INSTALL_DATA} ${WRKSRC}/mozilla_firefox.desktop \ + ${X11BASE}/share/applications/ + ${INSTALL_DATA} ${WRKSRC}/mozilla_firefox.png \ + ${X11BASE}/share/pixmaps/ +.endif +.if defined (WITH_MENU_THUNDERBIRD) + ${INSTALL_DATA} ${WRKSRC}/mozilla_thunderbird.desktop \ + ${X11BASE}/share/applications/ + ${INSTALL_DATA} ${WRKSRC}/mozilla_thunderbird.png \ + ${X11BASE}/share/pixmaps/ +.endif + ${CAT} ${PKGMESSAGE} + +.include <bsd.port.post.mk> diff --git a/www/firefox-remote/distinfo b/www/firefox-remote/distinfo new file mode 100644 index 000000000..7e3713b5b --- /dev/null +++ b/www/firefox-remote/distinfo @@ -0,0 +1,3 @@ +MD5 (firefox-remote-20040803.tar.bz2) = 41cb8969eab5233662c24bfa75585062 +SHA256 (firefox-remote-20040803.tar.bz2) = 37832c77437ad1438e8a8a865387eb555c69b83c899440f752012d4e98576d56 +SIZE (firefox-remote-20040803.tar.bz2) = 12789 diff --git a/www/firefox-remote/pkg-descr b/www/firefox-remote/pkg-descr new file mode 100644 index 000000000..19bda45f1 --- /dev/null +++ b/www/firefox-remote/pkg-descr @@ -0,0 +1,4 @@ +Wrapper script for firefox web browser to add the open-in-new-tab functionality +missing in the original startup script. + +also included thunderbird-remote. diff --git a/www/firefox-remote/pkg-message b/www/firefox-remote/pkg-message new file mode 100644 index 000000000..796f2f260 --- /dev/null +++ b/www/firefox-remote/pkg-message @@ -0,0 +1,7 @@ +======================================================================== + +To enable mailto: in firefox the easiest way is to install the MozEx +navigation extension and use "${X11BASE}/bin/thunderbird-remote %r" +(without quotes) as the Mailer command. + +======================================================================== diff --git a/www/firefox-remote/pkg-plist b/www/firefox-remote/pkg-plist new file mode 100644 index 000000000..fa3626ff6 --- /dev/null +++ b/www/firefox-remote/pkg-plist @@ -0,0 +1,7 @@ +bin/firefox-remote +bin/thunderbird-remote +%%MENU_FIREFOX%%share/applications/mozilla_firefox.desktop +%%MENU_THUNDERBIRD%%share/applications/mozilla_thunderbird.desktop +%%MENU_FIREFOX%%share/pixmaps/mozilla_firefox.png +%%MENU_THUNDERBIRD%%share/pixmaps/mozilla_thunderbird.png +@dirrmtry share/applications |