summaryrefslogtreecommitdiffstats
path: root/www/linux-opera
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2001-05-16 12:20:28 +0000
committerdes <des@FreeBSD.org>2001-05-16 12:20:28 +0000
commit5b67ebfb114d56af5b46c2c04ad6b3929c8818f8 (patch)
tree0e88ad3924cd6bdfd579196da5f40cc663d2b271 /www/linux-opera
parent41ec26a41d12c9fc06276285c932fc2ff4379e9c (diff)
downloadFreeBSD-ports-5b67ebfb114d56af5b46c2c04ad6b3929c8818f8.zip
FreeBSD-ports-5b67ebfb114d56af5b46c2c04ad6b3929c8818f8.tar.gz
Opera 5.0 for Linux has now been released.
Diffstat (limited to 'www/linux-opera')
-rw-r--r--www/linux-opera/Makefile12
-rw-r--r--www/linux-opera/distinfo2
-rw-r--r--www/linux-opera/files/opera.sh3
-rw-r--r--www/linux-opera/files/patch-aa153
-rw-r--r--www/linux-opera/pkg-install27
-rw-r--r--www/linux-opera/pkg-plist5
6 files changed, 89 insertions, 113 deletions
diff --git a/www/linux-opera/Makefile b/www/linux-opera/Makefile
index 20ca38d..9a70b25 100644
--- a/www/linux-opera/Makefile
+++ b/www/linux-opera/Makefile
@@ -6,25 +6,27 @@
#
PORTNAME= linux-opera
-PORTVERSION= 5.0b8
+PORTVERSION= 5.0
CATEGORIES= www linux
-MASTER_SITES= http://opera.online.no/linux/tgz/
-DISTNAME= opera-5.0-b8-20010426.023-static.i386
+MASTER_SITES= http://opera.online.no/linux/tgz/500/
+DISTNAME= opera-${PORTVERSION}-static.i386
MAINTAINER= des@FreeBSD.org
-IS_INTERACTIVE= YES
-
RUN_DEPENDS= ${LINUXBASE}/lib/ld.so:${PORTSDIR}/emulators/linux_base \
${LINUXBASE}/usr/lib/libpng.so.2:${PORTSDIR}/graphics/linux-png \
${LINUXBASE}/usr/lib/libjpeg.so.62:${PORTSDIR}/graphics/linux-jpeg
NO_BUILD= yes
+do-configure:
+ ${SED} 's|%%PREFIX%%|${PREFIX}|' <${FILESDIR}/opera.sh >${WRKDIR}/opera.sh
+
do-install:
(cd ${WRKSRC} && ./install.sh \
--exec_prefix=${PREFIX}/bin \
--docdir=${PREFIX}/share/doc/opera \
--sharedir=${PREFIX}/share/opera )
+ ${INSTALL_SCRIPT} ${WRKDIR}/opera.sh ${PREFIX}/bin/opera
.include <bsd.port.mk>
diff --git a/www/linux-opera/distinfo b/www/linux-opera/distinfo
index bf2ffb8..7daf93a 100644
--- a/www/linux-opera/distinfo
+++ b/www/linux-opera/distinfo
@@ -1 +1 @@
-MD5 (opera-5.0-b8-20010426.023-static.i386.tar.gz) = c46526ed0687ee8c6922e6bd8be3dca9
+MD5 (opera-5.0-static.i386.tar.gz) = 779bf93c11634107cce7cb51066e8b25
diff --git a/www/linux-opera/files/opera.sh b/www/linux-opera/files/opera.sh
new file mode 100644
index 0000000..1b33d65
--- /dev/null
+++ b/www/linux-opera/files/opera.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+export OPERADIR=%%PREFIX%%/share/opera
+exec %%PREFIX%%/bin/opera-bin "$@"
diff --git a/www/linux-opera/files/patch-aa b/www/linux-opera/files/patch-aa
index 170d6a9..8b63941 100644
--- a/www/linux-opera/files/patch-aa
+++ b/www/linux-opera/files/patch-aa
@@ -1,105 +1,97 @@
---- install.sh.orig Mon Apr 2 12:08:14 2001
-+++ install.sh Fri Apr 27 15:02:13 2001
-@@ -143,12 +143,12 @@
+--- install.sh.orig Thu May 10 16:10:28 2001
++++ install.sh Wed May 16 13:32:59 2001
+@@ -125,8 +125,8 @@
+ runinstall()
+ {
+ # Executable
+- cp $v -fp opera $exec_dir/
+- chmod $vv 755 $exec_dir/opera
++ cp $v -fp opera $exec_dir/opera-bin
++ chmod $vv 755 $exec_dir/opera-bin
+
# Documentation
mkdir $v -p $doc_dir/
- chmod $vv 755 $doc_dir
-- cp $v -fup LICENSE $doc_dir
-+ cp $v -fp LICENSE $doc_dir
-
- # Shared files
- mkdir $v -p $share_dir/buttons/
- chmod $vv 755 $share_dir/buttons
-- cp $v -Rfup buttons/* $share_dir/buttons/
-+ cp $v -Rfp buttons/* $share_dir/buttons/
-
- # fix for windows button sets
- cd $share_dir/buttons
-@@ -158,18 +158,18 @@
-
- mkdir $v -p $share_dir/help/
- chmod $vv 755 $share_dir/help
-- cp $v -Rfup help/* $share_dir/help/
-+ cp $v -Rfp help/* $share_dir/help/
-
- mkdir $v -p $share_dir/images/
- chmod $vv 755 $share_dir/images
-- cp $v -Rfup images/* $share_dir/images/
-+ cp $v -Rfp images/* $share_dir/images/
-
- mkdir $v -p $share_dir/styles/
- chmod $vv 755 $share_dir/styles
-- cp $v -Rfup styles/* $share_dir/styles/
-+ cp $v -Rfp styles/* $share_dir/styles/
-
-- cp $v -fup opera.xpm opera.wmconfig opera.desktop opera_*.png $share_dir/
-- cp $v -fup opera.adr $share_dir/
-+ cp $v -fp opera.xpm opera.wmconfig opera.desktop opera_*.png $share_dir/
-+ cp $v -fp opera.adr $share_dir/
+@@ -175,52 +175,46 @@
-
- icons
-@@ -193,42 +193,42 @@
+ echo
+ echo 'Installation successful. Enjoy !'
+- if test "$flag_mode" = "--prefix="; then
+- echo "You've completed a forced installation, please"
+- echo "remember to set the enviroment variable OPERADIR"
+- echo "export OPERADIR=$share_dir"
+- fi
+- echo "Start with \$PATH/opera, $exec_dir/opera or ./opera"
+ }
icons()
{
- if test ! -d /usr/share/icons; then install $v -m 755 -o 0 -g 0 -d /usr/share/icons/; fi
- install $v -m 644 -o 0 -g 0 $share_dir/opera.xpm /usr/share/icons/opera.xpm
+ if test ! -d $share_dir/icons; then install $v -m 755 -o 0 -g 0 -d $share_dir/icons/; fi
-+ install $v -c -m 644 -o 0 -g 0 $share_dir/opera.xpm $share_dir/icons/opera.xpm
++ install $v -m 644 -o 0 -g 0 -c $share_dir/opera.xpm $share_dir/icons/opera.xpm
- if test ! -d /usr/share/pixmaps; then install $v -m 755 -o 0 -g 0 -d /usr/share/pixmaps/; fi
- install $v -m 644 -o 0 -g 0 $share_dir/opera.xpm /usr/share/pixmaps/opera.xpm
+ if test ! -d $share_dir/pixmaps; then install $v -m 755 -o 0 -g 0 -d $share_dir/pixmaps/; fi
-+ install $v -c -m 644 -o 0 -g 0 $share_dir/opera.xpm $share_dir/pixmaps/opera.xpm
++ install $v -m 644 -o 0 -g 0 -c $share_dir/opera.xpm $share_dir/pixmaps/opera.xpm
- if test -d /etc/X11/wmconfig/; then install $v -m 644 -o 0 -g 0 $share_dir/opera.wmconfig /etc/X11/wmconfig/opera; fi
-+ if test -d /etc/X11/wmconfig/; then install $v -c -m 644 -o 0 -g 0 $share_dir/opera.wmconfig /etc/X11/wmconfig/opera; fi
++ if test -d /etc/X11/wmconfig/; then install $v -m 644 -o 0 -g 0 -c $share_dir/opera.wmconfig /etc/X11/wmconfig/opera; fi
if test -d /etc/X11/applnk/; then
-- if test ! -d /etc/X11/applnk/Internet/; then install $v -m 755 -o 0 -g 0 -d /etc/X11/applnk/Internet/; fi
+ if test ! -d /etc/X11/applnk/Internet/; then install $v -m 755 -o 0 -g 0 -d /etc/X11/applnk/Internet/; fi
- install $v -m 644 -o 0 -g 0 $share_dir/opera.desktop /etc/X11/applnk/Internet/opera.desktop
-+ if test ! -d /etc/X11/applnk/Internet/; then install $v -c -m 755 -o 0 -g 0 -d /etc/X11/applnk/Internet/; fi
-+ install $v -c -m 644 -o 0 -g 0 $share_dir/opera.desktop /etc/X11/applnk/Internet/opera.desktop
++ install $v -m 644 -o 0 -g 0 -c $share_dir/opera.desktop /etc/X11/applnk/Internet/opera.desktop
fi
}
gnome()
{
- if test -d /opt/gnome/; then
-- if test ! /opt/gnome/share/pixmaps/; then install $v -m 755 -o 0 -g 0 /opt/gnome/share/pixmaps/; fi
+- if test -d /opt/gnome/; then
++ if test -d just_dont/opt/gnome/; then
+ if test ! -d /opt/gnome/share/pixmaps/; then install $v -m 755 -o 0 -g 0 -d /opt/gnome/share/pixmaps/; fi
- install $v -m 644 -o 0 -g 0 $share_dir/opera.xpm /opt/gnome/share/pixmaps/opera.xpm
-+ if test ! /opt/gnome/share/pixmaps/; then install $v -c -m 755 -o 0 -g 0 /opt/gnome/share/pixmaps/; fi
-+ install $v -c -m 644 -o 0 -g 0 $share_dir/opera.xpm /opt/gnome/share/pixmaps/opera.xpm
++ install $v -m 644 -o 0 -g 0 -c $share_dir/opera.xpm /opt/gnome/share/pixmaps/opera.xpm
if test -d /opt/gnome/share/gnome/apps/Internet/; then
- install $v -m 644 -o 0 -g 0 $share_dir/opera.desktop /opt/gnome/share/gnome/apps/Internet/opera.desktop
-+ install $v -c -m 644 -o 0 -g 0 $share_dir/opera.desktop /opt/gnome/share/gnome/apps/Internet/opera.desktop
++ install $v -m 644 -o 0 -g 0 -c $share_dir/opera.desktop /opt/gnome/share/gnome/apps/Internet/opera.desktop
elif test -d /opt/gnome/share/gnome/apps/Networking/WWW/; then
- install $v -m 644 -o 0 -g 0 $share_dir/opera.desktop /opt/gnome/share/gnome/apps/Networking/WWW/opera.desktop
-+ install $v -c -m 644 -o 0 -g 0 $share_dir/opera.desktop /opt/gnome/share/gnome/apps/Networking/WWW/opera.desktop
++ install $v -m 644 -o 0 -g 0 -c $share_dir/opera.desktop /opt/gnome/share/gnome/apps/Networking/WWW/opera.desktop
else
-- install $v -m 755 -o 0 -g 0 /opt/gnome/share/gnome/apps/Internet/
+ install $v -m 755 -o 0 -g 0 /opt/gnome/share/gnome/apps/Internet/
- install $v -m 644 -o 0 -g 0 $share_dir/opera.desktop /opt/gnome/share/gnome/apps/Internet/opera.desktop
-+ install $v -c -m 755 -o 0 -g 0 /opt/gnome/share/gnome/apps/Internet/
-+ install $v -c -m 644 -o 0 -g 0 $share_dir/opera.desktop /opt/gnome/share/gnome/apps/Internet/opera.desktop
++ install $v -m 644 -o 0 -g 0 -c $share_dir/opera.desktop /opt/gnome/share/gnome/apps/Internet/opera.desktop
fi
else
- if test -d /usr/share/gnome/apps/; then
- if test -d /usr/share/gnome/apps/Internet/; then
+- if test -d /usr/share/gnome/apps/; then
+- if test -d /usr/share/gnome/apps/Internet/; then
- install $v -m 644 -o 0 -g 0 $share_dir/opera.desktop /usr/share/gnome/apps/Internet/opera.desktop
-+ install $v -c -m 644 -o 0 -g 0 $share_dir/opera.desktop /usr/share/gnome/apps/Internet/opera.desktop
- elif test -d /usr/share/gnome/apps/Networking/WWW; then
+- elif test -d /usr/share/gnome/apps/Networking/WWW; then
- install $v -m 644 -o 0 -g 0 $share_dir/opera.desktop /usr/share/gnome/apps/Networking/WWW/opera.desktop
-+ install $v -c -m 644 -o 0 -g 0 $share_dir/opera.desktop /usr/share/gnome/apps/Networking/WWW/opera.desktop
++ if test -d $share_dir/gnome/apps/; then
++ if test -d $share_dir/gnome/apps/Internet/; then
++ install $v -m 644 -o 0 -g 0 -c $share_dir/opera.desktop $share_dir/gnome/apps/Internet/opera.desktop
++ elif test -d $share_dir/gnome/apps/Networking/WWW; then
++ install $v -m 644 -o 0 -g 0 -c $share_dir/opera.desktop $share_dir/gnome/apps/Networking/WWW/opera.desktop
else
-- install $v -m 755 -o 0 -g 0 /usr/share/gnome/apps/Internet/
+- install $v -m 755 -o 0 -g 0 -d /usr/share/gnome/apps/Internet/
- install $v -m 644 -o 0 -g 0 $share_dir/opera.desktop /usr/share/gnome/apps/Internet/opera.desktop
-+ install $v -c -m 755 -o 0 -g 0 /usr/share/gnome/apps/Internet/
-+ install $v -c -m 644 -o 0 -g 0 $share_dir/opera.desktop /usr/share/gnome/apps/Internet/opera.desktop
++ install $v -m 755 -o 0 -g 0 -d $share_dir/gnome/apps/Internet/
++ install $v -m 644 -o 0 -g 0 -c $share_dir/opera.desktop $share_dir/gnome/apps/Internet/opera.desktop
fi
fi
fi
-@@ -245,18 +245,18 @@
+@@ -228,7 +222,7 @@
+
+ kde2()
+ {
+- if test -d /opt/kde2/; then
++ if test -d just_dont/opt/kde2/; then
+ DIR_HI=/opt/kde2/share/icons/hicolor
+ DIR_LO=/opt/kde2/share/icons/locolor
+ if test ! -d $DIR_HI/48x48/apps/; then install $v -m 755 -o 0 -g 0 -d $DIR_HI/48x48/apps/; fi
+@@ -237,31 +231,31 @@
if test ! -d $DIR_LO/32x32/apps/; then install $v -m 755 -o 0 -g 0 -d $DIR_LO/32x32/apps/; fi
if test ! -d $DIR_LO/22x22/apps/; then install $v -m 755 -o 0 -g 0 -d $DIR_LO/22x22/apps/; fi
if test ! -d $DIR_LO/16x16/apps/; then install $v -m 755 -o 0 -g 0 -d $DIR_LO/16x16/apps/; fi
@@ -109,34 +101,39 @@
- install $v -m 644 -o 0 -g 0 $share_dir/opera_32x32.png $DIR_LO/32x32/apps/opera.png
- install $v -m 644 -o 0 -g 0 $share_dir/opera_22x22.png $DIR_LO/22x22/apps/opera.png
- install $v -m 644 -o 0 -g 0 $share_dir/opera_16x16.png $DIR_LO/16x16/apps/opera.png
-+ install $v -c -m 644 -o 0 -g 0 $share_dir/opera_48x48.png $DIR_HI/48x48/apps/opera.png
-+ install $v -c -m 644 -o 0 -g 0 $share_dir/opera_32x32.png $DIR_HI/32x32/apps/opera.png
-+ install $v -c -m 644 -o 0 -g 0 $share_dir/opera_22x22.png $DIR_HI/22x22/apps/opera.png
-+ install $v -c -m 644 -o 0 -g 0 $share_dir/opera_32x32.png $DIR_LO/32x32/apps/opera.png
-+ install $v -c -m 644 -o 0 -g 0 $share_dir/opera_22x22.png $DIR_LO/22x22/apps/opera.png
-+ install $v -c -m 644 -o 0 -g 0 $share_dir/opera_16x16.png $DIR_LO/16x16/apps/opera.png
++ install $v -m 644 -o 0 -g 0 -c $share_dir/opera_48x48.png $DIR_HI/48x48/apps/opera.png
++ install $v -m 644 -o 0 -g 0 -c $share_dir/opera_32x32.png $DIR_HI/32x32/apps/opera.png
++ install $v -m 644 -o 0 -g 0 -c $share_dir/opera_22x22.png $DIR_HI/22x22/apps/opera.png
++ install $v -m 644 -o 0 -g 0 -c $share_dir/opera_32x32.png $DIR_LO/32x32/apps/opera.png
++ install $v -m 644 -o 0 -g 0 -c $share_dir/opera_22x22.png $DIR_LO/22x22/apps/opera.png
++ install $v -m 644 -o 0 -g 0 -c $share_dir/opera_16x16.png $DIR_LO/16x16/apps/opera.png
if test ! -d /opt/kde2/share/applnk/Internet/; then install $v -m 755 -o 0 -g 0 -d /opt/kde2/share/applnk/Internet/; fi
- install $v -m 644 -o 0 -g 0 $share_dir/opera.desktop /opt/kde2/share/applnk/Internet/opera.desktop
-+ install $v -c -m 644 -o 0 -g 0 $share_dir/opera.desktop /opt/kde2/share/applnk/Internet/opera.desktop
++ install $v -m 644 -o 0 -g 0 -c $share_dir/opera.desktop /opt/kde2/share/applnk/Internet/opera.desktop
else
- if test -d /usr/share/applnk/Networking; then
- if test ! -d /usr/share/applnk/Networking/WWW/; then install $v -m 755 -o 0 -g 0 -d /usr/share/applnk/Networking/WWW/; fi
+- if test -d /usr/share/applnk/Networking; then
+- if test ! -d /usr/share/applnk/Networking/WWW/; then install $v -m 755 -o 0 -g 0 -d /usr/share/applnk/Networking/WWW/; fi
- install $v -m 644 -o 0 -g 0 $share_dir/opera.desktop /usr/share/applnk/Networking/WWW/opera.desktop
-+ install $v -c -m 644 -o 0 -g 0 $share_dir/opera.desktop /usr/share/applnk/Networking/WWW/opera.desktop
++ if test -d $share_dir/applnk/Networking; then
++ if test ! -d $share_dir/applnk/Networking/WWW/; then install $v -m 755 -o 0 -g 0 -d $share_dir/applnk/Networking/WWW/; fi
++ install $v -m 644 -o 0 -g 0 -c $share_dir/opera.desktop $share_dir/applnk/Networking/WWW/opera.desktop
fi
fi
}
-@@ -266,10 +266,10 @@
- if test -d /opt/kde/; then
+
+ kde()
+ {
+- if test -d /opt/kde/; then
++ if test -d just_dont/opt/kde/; then
if test ! -d /opt/kde/share/icons/; then install $v -m 755 -o 0 -g 0 -d /opt/kde/share/icons/; fi
if test ! -d /opt/kde/share/applnk/Internet/; then install $v -m 755 -o 0 -g 0 -d /opt/kde/share/applnk/Internet/; fi
- install $v -m 644 -o 0 -g 0 $share_dir/opera.xpm /opt/kde/share/icons/opera.xpm
- install $v -m 644 -o 0 -g 0 $share_dir/opera.desktop /opt/kde/share/applnk/Internet/opera.desktop
-+ install $v -c -m 644 -o 0 -g 0 $share_dir/opera.xpm /opt/kde/share/icons/opera.xpm
-+ install $v -c -m 644 -o 0 -g 0 $share_dir/opera.desktop /opt/kde/share/applnk/Internet/opera.desktop
++ install $v -m 644 -o 0 -g 0 -c $share_dir/opera.xpm /opt/kde/share/icons/opera.xpm
++ install $v -m 644 -o 0 -g 0 -c $share_dir/opera.desktop /opt/kde/share/applnk/Internet/opera.desktop
else
- if test -d /usr/share/applnk/Internet/; then install $v -m 644 -o 0 -g 0 $share_dir/opera.desktop /usr/share/applnk/Internet/opera.desktop; fi
-+ if test -d /usr/share/applnk/Internet/; then install $v -c -m 644 -o 0 -g 0 $share_dir/opera.desktop /usr/share/applnk/Internet/opera.desktop; fi
++ if test -d $share_dir/applnk/Internet/; then install $v -m 644 -o 0 -g 0 -c $share_dir/opera.desktop $share_dir/applnk/Internet/opera.desktop; fi
fi
}
diff --git a/www/linux-opera/pkg-install b/www/linux-opera/pkg-install
deleted file mode 100644
index 18e1ca0..0000000
--- a/www/linux-opera/pkg-install
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-case $2 in
- PRE-INSTALL)
- ${PAGER:-more} share/doc/opera/LICENSE
- echo
- echo
- echo -n 'Do you agree to the terms of the license? '
- read answer
- case ${answer} in
- [Yy]|[Yy][Ee][Ss])
- exit 0
- ;;
- *)
- exit 1
- ;;
- esac
- ;;
- POST-INSTALL)
- exit 0
- ;;
- *)
- echo "Unexpected Argument $2!!!"
- exit 1
- ;;
-esac
-
diff --git a/www/linux-opera/pkg-plist b/www/linux-opera/pkg-plist
index ed9c7cb..e85929c 100644
--- a/www/linux-opera/pkg-plist
+++ b/www/linux-opera/pkg-plist
@@ -1,7 +1,6 @@
bin/opera
+bin/opera-bin
share/doc/opera/LICENSE
-share/opera/buttons/DefSmall
-share/opera/buttons/Default
share/opera/buttons/ReadMe.txt
share/opera/buttons/default/abc.gif
share/opera/buttons/default/buttons.ini
@@ -143,6 +142,8 @@ share/opera/buttons/examples/example_big.ini
share/opera/buttons/examples/example_small.ini
share/opera/buttons/examples/opera_22x22.png
share/opera/buttons/examples/opera_32x32.png
+share/opera/buttons/DefSmall
+share/opera/buttons/Default
share/opera/help/access.htm
share/opera/help/alpha.htm
share/opera/help/bookmark.htm
OpenPOWER on IntegriCloud