mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
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.
This commit is contained in:
parent
30c5672f5c
commit
36acdb882d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127493
@ -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 ; \
|
||||
|
@ -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=
|
||||
|
Loading…
Reference in New Issue
Block a user