Lines 7-13
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= opera |
8 |
PORTNAME= opera |
9 |
PORTVERSION= ${OPERA_VER} |
9 |
PORTVERSION= ${OPERA_VER} |
10 |
PORTREVISION= 0 |
|
|
11 |
CATEGORIES= www linux |
10 |
CATEGORIES= www linux |
12 |
MASTER_SITES= ftp://ftp.opera.com/pub/opera/linux/${OPERA_VER:S/.//}/ \ |
11 |
MASTER_SITES= ftp://ftp.opera.com/pub/opera/linux/${OPERA_VER:S/.//}/ \ |
13 |
ftp://ftp.sunet.se/pub/www/clients/Opera/linux/${OPERA_VER:S/.//}/ \ |
12 |
ftp://ftp.sunet.se/pub/www/clients/Opera/linux/${OPERA_VER:S/.//}/ \ |
Lines 33-43
USE_LINUX_APPS= aspell naslibs png xorgl
Link Here
|
33 |
ONLY_FOR_ARCHS= i386 amd64 |
32 |
ONLY_FOR_ARCHS= i386 amd64 |
34 |
USE_GNOME= desktopfileutils |
33 |
USE_GNOME= desktopfileutils |
35 |
WANT_GNOME= yes |
34 |
WANT_GNOME= yes |
|
|
35 |
INSTALLS_ICONS= yes |
36 |
USE_LDCONFIG= yes |
36 |
|
37 |
|
37 |
NO_BUILD= yes |
38 |
NO_BUILD= yes |
38 |
|
39 |
|
39 |
OPERA_VER= 11.50 |
40 |
OPERA_VER?= 11.51 |
40 |
OPERA_BUILD= 1074 |
41 |
OPERA_BUILD?= 1087 |
41 |
DATADIR= ${PREFIX}/share/${UNIQUENAME} |
42 |
DATADIR= ${PREFIX}/share/${UNIQUENAME} |
42 |
DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME} |
43 |
DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME} |
43 |
|
44 |
|
Lines 61-70
IGNORE= you need FreeBSD>=7.0 RELEASE wi
Link Here
|
61 |
IGNORE= you need to use non-default linux ports (define OVERRIDE_LINUX_BASE_PORT=f8 and OVERRIDE_LINUX_NONBASE_PORTS=f8). You also can use f10 instead of f8, but I only have tested it with f8. |
62 |
IGNORE= you need to use non-default linux ports (define OVERRIDE_LINUX_BASE_PORT=f8 and OVERRIDE_LINUX_NONBASE_PORTS=f8). You also can use f10 instead of f8, but I only have tested it with f8. |
62 |
.endif |
63 |
.endif |
63 |
|
64 |
|
64 |
.if ${HAVE_GNOME:Mgtk20}!="" |
|
|
65 |
INSTALLS_ICONS= yes |
66 |
.endif |
67 |
|
68 |
post-extract: |
65 |
post-extract: |
69 |
@${GUNZIP_CMD} ${WRKSRC}/share/man/man1/*.gz |
66 |
@${GUNZIP_CMD} ${WRKSRC}/share/man/man1/*.gz |
70 |
@${MV} ${WRKSRC}/share/man ${WRKSRC}/man |
67 |
@${MV} ${WRKSRC}/share/man ${WRKSRC}/man |
Lines 74-86
post-extract:
Link Here
|
74 |
${MV} ${WRKSRC}/$${_r} ${WRKSRC}/$${linux}; \ |
71 |
${MV} ${WRKSRC}/$${_r} ${WRKSRC}/$${linux}; \ |
75 |
done; \ |
72 |
done; \ |
76 |
for _f in `find ${WRKSRC}/share/icons -type f | \ |
73 |
for _f in `find ${WRKSRC}/share/icons -type f | \ |
77 |
sed -e 's|${WRKSRC}/||g'`; do \ |
74 |
${SED} -e 's|${WRKSRC}/||g'`; do \ |
78 |
linux=`${ECHO_CMD} $${_f} | \ |
75 |
linux=`${ECHO_CMD} $${_f} | \ |
79 |
${SED} -e 's|opera|${UNIQUENAME}|g'`; \ |
76 |
${SED} -e 's|opera|${UNIQUENAME}|g'`; \ |
80 |
${MV} ${WRKSRC}/$${_f} ${WRKSRC}/$${linux}; \ |
77 |
${MV} ${WRKSRC}/$${_f} ${WRKSRC}/$${linux}; \ |
81 |
done; \ |
78 |
done; \ |
82 |
for _l in `find ${WRKSRC}/share/icons -name opera-widget.png | \ |
79 |
for _l in `find ${WRKSRC}/share/icons -name opera-widget.png | \ |
83 |
sed -e 's|/opera-widget\.png||g'`; do \ |
80 |
${SED} -e 's|/opera-widget\.png||g'`; do \ |
84 |
${RM} $${_l}/opera-widget.png; \ |
81 |
${RM} $${_l}/opera-widget.png; \ |
85 |
cd $${_l}; \ |
82 |
cd $${_l}; \ |
86 |
${LN} -s ../mimetypes/${UNIQUENAME}-widget.png \ |
83 |
${LN} -s ../mimetypes/${UNIQUENAME}-widget.png \ |