View | Details | Raw Unified | Return to bug 69956
Collapse All | Expand All

(-)firefox-remote/Makefile (-9 / +52 lines)
Lines 6-17 Link Here
6
#
6
#
7
7
8
PORTNAME=	firefox
8
PORTNAME=	firefox
9
PORTVERSION=	20040702
9
PORTVERSION=	20040803
10
CATEGORIES=	www
10
CATEGORIES=	www
11
MASTER_SITES=	http://www.webonaut.com/distfiles/${PORTNAME}${PKGNAMESUFFIX}/
11
MASTER_SITES=	http://www.webonaut.com/distfiles/${PORTNAME}${PKGNAMESUFFIX}/
12
PKGNAMESUFFIX=	-remote
12
PKGNAMESUFFIX=	-remote
13
DISTNAME=	${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
13
DISTNAME=	${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
14
EXTRACT_SUFX=	.bz2
15
14
16
MAINTAINER=	klammer@webonaut.com
15
MAINTAINER=	klammer@webonaut.com
17
COMMENT=	Wrapper scripts for firefox web browser
16
COMMENT=	Wrapper scripts for firefox web browser
Lines 19-35 Link Here
19
USE_BZIP2=	yes
18
USE_BZIP2=	yes
20
USE_X_PREFIX=	yes
19
USE_X_PREFIX=	yes
21
USE_REINPLACE=	yes
20
USE_REINPLACE=	yes
22
NO_WRKSUBDIR=	yes
21
23
EXTRACT_AFTER_ARGS=	> ${PORTNAME}
22
UTF8_HACK=	no
23
FIREFOX_REMOTE=	${PORTNAME}${PKGNAMESUFFIX}
24
THUNDERBIRD_REMOTE=	thunderbird${PKGNAMESUFFIX}
25
26
OPTIONS=UTF8_LOCALE "Use UTF8 locale (read Makefile for details)" off \
27
	MENU_FIREFOX "Add GNOME menu entry for firefox" off \
28
	MENU_THUNDERBIRD "Add GNOME menu entry for thunderbird" off
29
30
.include <bsd.port.pre.mk>
31
32
# firefox/thunderbird can't display unicode filenames with special
33
# characters like umlaute in german correctly if a ISO-locale is set.
34
# when enabled the remote scripts try to switch to the UTF8-locale if
35
# available (e.g. de_DE.UTF8 instead of de_DE.ISO8859-xx)
36
.if defined(WITH_UTF8_LOCALE)
37
UTF8_HACK=	yes
38
.endif
39
40
.if defined(WITH_MENU_FIREFOX)
41
PLIST_SUB+=	MENU_FIREFOX=""
42
.else
43
PLIST_SUB+=	MENU_FIREFOX="@comment "
44
.endif
45
46
.if defined(WITH_MENU_THUNDERBIRD)
47
PLIST_SUB+=	MENU_THUNDERBIRD=""
48
.else
49
PLIST_SUB+=	MENU_THUNDERBIRD="@comment "
50
.endif
24
51
25
do-build:
52
do-build:
26
	@${REINPLACE_CMD} -e 's|@X11BASE@|${PREFIX}|g' \
53
	@${REINPLACE_CMD} -e 's|@X11BASE@|${PREFIX}|g' \
27
		${WRKDIR}/${PORTNAME}
54
		${WRKSRC}/${FIREFOX_REMOTE}
55
	@${REINPLACE_CMD} -e 's|@UTF8@|${UTF8_HACK}|g' \
56
		${WRKSRC}/${FIREFOX_REMOTE}
28
57
29
do-install:
58
do-install:
30
	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}
59
	${INSTALL_SCRIPT} ${WRKSRC}/${FIREFOX_REMOTE} \
31
	${LN} -s ${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} \
60
		${PREFIX}/bin/${FIREFOX_REMOTE}
32
		${PREFIX}/bin/thunderbird${PKGNAMESUFFIX}
61
	${RM} -f ${PREFIX}/bin/${THUNDERBIRD_REMOTE}
62
	${LN} -s ${PREFIX}/bin/${FIREFOX_REMOTE} \
63
		${PREFIX}/bin/${THUNDERBIRD_REMOTE}
64
.if defined (WITH_MENU_FIREFOX)
65
	${INSTALL_DATA} ${WRKSRC}/mozilla_firefox.desktop \
66
		${X11BASE}/share/gnome/applications/
67
	${INSTALL_DATA} ${WRKSRC}/mozilla_firefox.png \
68
		${X11BASE}/share/gnome/pixmaps/
69
.endif
70
.if defined (WITH_MENU_THUNDERBIRD)
71
	${INSTALL_DATA} ${WRKSRC}/mozilla_thunderbird.desktop \
72
		${X11BASE}/share/gnome/applications/
73
	${INSTALL_DATA} ${WRKSRC}/mozilla_thunderbird.png \
74
		${X11BASE}/share/gnome/pixmaps/
75
.endif
33
	${CAT} ${PKGMESSAGE}
76
	${CAT} ${PKGMESSAGE}
34
77
35
.include <bsd.port.mk>
78
.include <bsd.port.post.mk>
(-)firefox-remote/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (firefox-remote-20040702.bz2) = cb6a563b7dc5c5a296ace363183918eb
1
MD5 (firefox-remote-20040803.tar.bz2) = 41cb8969eab5233662c24bfa75585062
2
SIZE (firefox-remote-20040702.bz2) = 877
2
SIZE (firefox-remote-20040803.tar.bz2) = 12789
(-)firefox-remote/pkg-plist (+4 lines)
Lines 1-2 Link Here
1
bin/firefox-remote
1
bin/firefox-remote
2
bin/thunderbird-remote
2
bin/thunderbird-remote
3
%%MENU_FIREFOX%%share/gnome/applications/mozilla_firefox.desktop
4
%%MENU_THUNDERBIRD%%share/gnome/applications/mozilla_thunderbird.desktop
5
%%MENU_FIREFOX%%share/gnome/pixmaps/mozilla_firefox.png
6
%%MENU_THUNDERBIRD%%share/gnome/pixmaps/mozilla_thunderbird.png

Return to bug 69956