summaryrefslogtreecommitdiff
path: root/www/opera6
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-02-22 22:22:21 +0000
committertron <tron@pkgsrc.org>2002-02-22 22:22:21 +0000
commit6de3dfd167292ab6ca604022278d830f94b2aaaa (patch)
tree43ae76f0c9fa920e1c9b551390302eebec2f7043 /www/opera6
parent271d358cb39b08b32828acefec56e2240fae8a44 (diff)
downloadpkgsrc-6de3dfd167292ab6ca604022278d830f94b2aaaa.tar.gz
Import Opera 6.0 for Linux Technology Preview 3 as "opera6":
Small, fast and customizable WWW client
Diffstat (limited to 'www/opera6')
-rw-r--r--www/opera6/DESCR23
-rw-r--r--www/opera6/Makefile58
-rw-r--r--www/opera6/PLIST3
-rw-r--r--www/opera6/distinfo4
-rw-r--r--www/opera6/files/opera.sh20
5 files changed, 108 insertions, 0 deletions
diff --git a/www/opera6/DESCR b/www/opera6/DESCR
new file mode 100644
index 00000000000..fac6e219cd3
--- /dev/null
+++ b/www/opera6/DESCR
@@ -0,0 +1,23 @@
+Opera is powerful If you use the web for work or for entertainment. Features:
+* Renders HTML 3.2 and 4.0 Pages
+* Executes most EcmaScript 1.1 (Ecma-262 v.3) programs
+* Renders CSS 1 and 2 extensions
+* Browses FTP Sites
+* Handles cookies
+* Supports HTTP 1.0 and 1.1
+* Displays GIF, PNG and JPEG
+* Hot list, bookmarks and bookmark bar
+* Imports Netscape, Konqueror and IE bookmarks/favorites
+* Support for XML
+* Support for WML (WAP)
+* Proxy server support
+* Communication through SSL and TLS
+* HTTP Authorization
+* Asynchronous DNS with threading
+* Support for browsing local files
+* File transfer
+* File upload support
+* Restore window settings
+* Customizable toolbar icons
+* Keyboard link navigation
+* Printing (PostScript)
diff --git a/www/opera6/Makefile b/www/opera6/Makefile
new file mode 100644
index 00000000000..31972954455
--- /dev/null
+++ b/www/opera6/Makefile
@@ -0,0 +1,58 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/02/22 22:22:21 tron Exp $
+
+DISTNAME= opera-${OPERA_PKG_VERSION}
+CATEGORIES= www
+MASTER_SITES= ftp://opera.panix.com/pub/linux/${OPERA_DIR}/ \
+ ftp://ftp.hu-berlin.de/pub/www/opera/linux/${OPERA_DIR}/ \
+ http://ftp.opera.com/pub/opera/linux/${OPERA_DIR}/
+EXTRACT_SUFX= .rpm
+DISTFILES= opera-${OPERA_DIST_VERSION}.${OPERA_ARCH}${EXTRACT_SUFX}
+
+MAINTAINER= tron@netbsd.org
+HOMEPAGE= http://www.opera.com/
+COMMENT= Small, fast and customizable WWW client
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386
+
+LICENSE= opera-license
+
+# we need the DIST_SUBDIR=. because of the inclusion of suse's Makefile.common
+DIST_SUBDIR= .
+EXTRACT_ONLY= # empty
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+
+.include "../../mk/bsd.prefs.mk"
+
+.if (${MACHINE_ARCH} == i386)
+DEPENDS+= suse_compat>=6.4:../../emulators/suse_compat
+DEPENDS+= suse_libjpeg>=6.4:../../emulators/suse_libjpeg
+DEPENDS+= suse_libpng>=6.4:../../emulators/suse_libpng
+DEPENDS+= suse_x11>=6.4:../../emulators/suse_x11
+
+OPERA_ARCH= i386
+OPERA_DIR= 600/tp3
+OPERA_DIST_VERSION= 6.0-20020110.1-static_qt
+OPERA_PKG_VERSION= 5.99.3
+.endif
+
+RPMFILES= ${DISTFILES}
+
+do-build:
+ ${SED} -e 's#@EMULDIR@#${EMULDIR}#g' ${FILESDIR}/opera.sh > \
+ ${WRKDIR}/opera
+
+post-install: post-install-manpage
+ ${INSTALL_SCRIPT} ${WRKDIR}/opera ${PREFIX}/bin
+
+.include "../../emulators/suse_linux/Makefile.common"
+
+post-install-manpage:
+# The SuSE common makefile defines "MANCOMPRESSED".
+.if defined(MANCOMPRESSED)
+ ${GZIP_CMD} ${EMULDIR}/usr/share/man/man1/opera.1
+ ${LN} -fs ../${EMULSUBDIR}/usr/share/man/man1/opera.1.gz \
+ ${PREFIX}/man/man1
+.else
+ ${LN} -fs ../${EMULSUBDIR}/usr/share/man/man1/opera \
+ ${PREFIX}/man/man1
+.endif
diff --git a/www/opera6/PLIST b/www/opera6/PLIST
new file mode 100644
index 00000000000..9a06bde4e09
--- /dev/null
+++ b/www/opera6/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/02/22 22:22:21 tron Exp $
+bin/opera
+man/man1/opera.1
diff --git a/www/opera6/distinfo b/www/opera6/distinfo
new file mode 100644
index 00000000000..e971e76315d
--- /dev/null
+++ b/www/opera6/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/02/22 22:22:21 tron Exp $
+
+SHA1 (./opera-6.0-20020110.1-static_qt.i386.rpm) = 118ea87570b996bdc93d894b17a00dcded39ca8d
+Size (./opera-6.0-20020110.1-static_qt.i386.rpm) = 4175884 bytes
diff --git a/www/opera6/files/opera.sh b/www/opera6/files/opera.sh
new file mode 100644
index 00000000000..3b8ba8d0ffd
--- /dev/null
+++ b/www/opera6/files/opera.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+OPERADIR=$HOME/.opera
+
+mkdir -p $OPERADIR || exit 1
+for FILE in $OPERADIR/opera.ini $OPERADIR/opera5.ini
+do
+ if [ -e ${FILE} ]
+ then
+ if grep -q '^Synchronous DNS Lookup=0$' ${FILE}
+ then
+ cp -p ${FILE} ${FILE}.patch
+ sed -e 's#^\(Synchronous DNS Lookup\)=0$#\1=1#' ${FILE}.patch >${FILE}
+ rm -f ${FILE}.patch
+ fi
+ else
+ echo >${FILE} "Synchronous DNS Lookup=1"
+ fi
+done
+
+exec @EMULDIR@/bin/bash /usr/bin/opera "$@"