diff options
author | sf <sf@FreeBSD.org> | 2005-01-28 02:34:13 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2005-01-28 02:34:13 +0800 |
commit | 46ce08bc0423a2d690a4eef78009983e5b7f48ae (patch) | |
tree | 521060fae813f3d985549fb0512122967f7cbb71 /www/opera-devel | |
parent | 67e5e82488edf93e419ba47483531e3172fef480 (diff) | |
download | freebsd-ports-gnome-46ce08bc0423a2d690a4eef78009983e5b7f48ae.tar.gz freebsd-ports-gnome-46ce08bc0423a2d690a4eef78009983e5b7f48ae.tar.zst freebsd-ports-gnome-46ce08bc0423a2d690a4eef78009983e5b7f48ae.zip |
fix default search.ini.
Perhaps you don't need to update when you didn't remove
~/.opera-devel/search.ini manually. Is your search working correctly?
Every translation is being led into google, isn't it? Then update now(TM) and
remove ~/.opera-devel/search.ini, quit, and restart opera.
Diffstat (limited to 'www/opera-devel')
-rw-r--r-- | www/opera-devel/Makefile | 10 | ||||
-rw-r--r-- | www/opera-devel/files/patch-search.ini | 10 |
2 files changed, 6 insertions, 14 deletions
diff --git a/www/opera-devel/Makefile b/www/opera-devel/Makefile index 8aab5d7994b8..dcbd871ce7e0 100644 --- a/www/opera-devel/Makefile +++ b/www/opera-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= opera PORTVERSION= ${OPERA_VER}.${OPERA_DATE} +PORTREVISION= 1 CATEGORIES= www ipv6 MASTER_SITES= http://ftp.scarlet.be/pub/opera/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/static/ \ ftp://ftp.planetmirror.com/pub/opera/unix/freebsd/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/static/ \ @@ -74,15 +75,6 @@ pre-everything:: @${ECHO_CMD} '===> Define WITHOUT_ASPELL to not install aspell.' .endif -pre-patch: - @${AWK} '{if (/^\[Search/) { \ - num=$$3; sub(/\]$$/, "", num); \ - if (num+0 < 4) {print; next} \ - num+=2; \ - print $$1, $$2, num"]"} else {print} \ - }' ${WRKSRC}/search.ini > ${WRKSRC}/search.ini.new - @${MV} ${WRKSRC}/search.ini.new ${WRKSRC}/search.ini - post-patch: @${CP} ${WRKSRC}/search.ini ${WRKSRC}/locale/en @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \ diff --git a/www/opera-devel/files/patch-search.ini b/www/opera-devel/files/patch-search.ini index a01d848595c5..412921e2568d 100644 --- a/www/opera-devel/files/patch-search.ini +++ b/www/opera-devel/files/patch-search.ini @@ -1,9 +1,9 @@ ---- search.ini.orig Fri Jan 7 17:39:59 2005 -+++ search.ini Fri Jan 7 17:44:13 2005 +--- search.ini.orig Tue Jan 4 22:01:32 2005 ++++ search.ini Mon Jan 24 20:45:39 2005 @@ -409,8 +409,34 @@ Nameid=0 - [Search Engine 34] + [Search Engine 32] -Name=Google Linu&x -URL=http://www.google.com/linux?q=%s&sourceid=opera&num=%i&ie=utf-8&oe=utf-8 +Name=Google &BSD @@ -18,7 +18,7 @@ +Position=-1 +Nameid=0 + -+[Search Engine 35] ++[Search Engine 33] +Name=FreeBSD &PRs +URL=http://www.freebsd.org/cgi/query-pr.cgi?pr=%s +Query= @@ -31,7 +31,7 @@ +Position=-1 +Nameid=0 + -+[Search Engine 36] ++[Search Engine 34] +Name=FreshP&orts +URL=http://www.freshports.org/search.php?query=%s Query= |