aboutsummaryrefslogtreecommitdiff
path: root/www/opera-devel
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2005-01-27 18:34:13 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2005-01-27 18:34:13 +0000
commit36acdb882d6d096ac2e03b01410dedfb169f22f0 (patch)
tree3da093d7ad0a403d15c54c0b5a6e171fb9ab4483 /www/opera-devel
parent30c5672f5cb51f618c3340b16195e63d1cce2300 (diff)
downloadports-36acdb882d6d096ac2e03b01410dedfb169f22f0.tar.gz
ports-36acdb882d6d096ac2e03b01410dedfb169f22f0.zip
Notes
Diffstat (limited to 'www/opera-devel')
-rw-r--r--www/opera-devel/Makefile10
-rw-r--r--www/opera-devel/files/patch-search.ini10
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=