ports/160353: [patch] update www/linux-opera to 11.51
Jakub Lach
jakub_lach at mailplus.pl
Thu Sep 1 08:30:09 UTC 2011
>Number: 160353
>Category: ports
>Synopsis: [patch] update www/linux-opera to 11.51
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Sep 01 08:30:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Jakub Lach
>Release:
>Organization:
>Environment:
FreeBSD 9.0-BETA2 #0 r225250 amd64
>Description:
Update to 11.51.
http://www.opera.com/docs/changelogs/unix/1151/
Security:
http://www.opera.com/support/kb/view/1000/
Minor Makefile changes, as per portlint request.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -rupN linux-opera.org/Makefile linux-opera/Makefile
--- linux-opera.org/Makefile 2011-09-01 10:07:32.000000000 +0200
+++ linux-opera/Makefile 2011-09-01 10:20:37.000000000 +0200
@@ -7,7 +7,6 @@
PORTNAME= opera
PORTVERSION= ${OPERA_VER}
-PORTREVISION= 0
CATEGORIES= www linux
MASTER_SITES= ftp://ftp.opera.com/pub/opera/linux/${OPERA_VER:S/.//}/ \
ftp://ftp.sunet.se/pub/www/clients/Opera/linux/${OPERA_VER:S/.//}/ \
@@ -33,11 +32,13 @@ USE_LINUX_APPS= aspell naslibs png xorgl
ONLY_FOR_ARCHS= i386 amd64
USE_GNOME= desktopfileutils
WANT_GNOME= yes
+INSTALLS_ICONS= yes
+USE_LDCONFIG= yes
NO_BUILD= yes
-OPERA_VER= 11.50
-OPERA_BUILD= 1074
+OPERA_VER?= 11.51
+OPERA_BUILD?= 1087
DATADIR= ${PREFIX}/share/${UNIQUENAME}
DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME}
@@ -61,10 +62,6 @@ IGNORE= you need FreeBSD>=7.0 RELEASE wi
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.
.endif
-.if ${HAVE_GNOME:Mgtk20}!=""
-INSTALLS_ICONS= yes
-.endif
-
post-extract:
@${GUNZIP_CMD} ${WRKSRC}/share/man/man1/*.gz
@${MV} ${WRKSRC}/share/man ${WRKSRC}/man
@@ -74,13 +71,13 @@ post-extract:
${MV} ${WRKSRC}/$${_r} ${WRKSRC}/$${linux}; \
done; \
for _f in `find ${WRKSRC}/share/icons -type f | \
- sed -e 's|${WRKSRC}/||g'`; do \
+ ${SED} -e 's|${WRKSRC}/||g'`; do \
linux=`${ECHO_CMD} $${_f} | \
${SED} -e 's|opera|${UNIQUENAME}|g'`; \
${MV} ${WRKSRC}/$${_f} ${WRKSRC}/$${linux}; \
done; \
for _l in `find ${WRKSRC}/share/icons -name opera-widget.png | \
- sed -e 's|/opera-widget\.png||g'`; do \
+ ${SED} -e 's|/opera-widget\.png||g'`; do \
${RM} $${_l}/opera-widget.png; \
cd $${_l}; \
${LN} -s ../mimetypes/${UNIQUENAME}-widget.png \
diff -rupN linux-opera.org/distinfo linux-opera/distinfo
--- linux-opera.org/distinfo 2011-09-01 10:07:32.000000000 +0200
+++ linux-opera/distinfo 2011-09-01 10:20:52.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (opera-11.50-1074.i386.linux.tar.xz) = d936881411db5cca320e3eb4b921d0f99a32c5bb100278183533be0e8fda8f86
-SIZE (opera-11.50-1074.i386.linux.tar.xz) = 11067576
+SHA256 (opera-11.51-1087.i386.linux.tar.xz) = e2da38a1775b59ebf09e3695505634a3df9655b8812e3b4fe3163d02488d4aad
+SIZE (opera-11.51-1087.i386.linux.tar.xz) = 11091928
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list