pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/opera7 Add support for Opera on FreeBSD. Provided ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/60eaba7528ce
branches:  trunk
changeset: 467035:60eaba7528ce
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Sun Jan 25 19:12:31 2004 +0000

description:
Add support for Opera on FreeBSD. Provided by Michal Pasternak in
PR pkg/24226 (some very small changes by me).

diffstat:

 www/opera7/Makefile      |   27 +++++++--
 www/opera7/PLIST.FreeBSD |  126 +++++++++++++++++++++++++++++++++++++++++++++++
 www/opera7/distinfo      |    4 +-
 3 files changed, 149 insertions(+), 8 deletions(-)

diffs (224 lines):

diff -r 30c7c3ddfbc5 -r 60eaba7528ce www/opera7/Makefile
--- a/www/opera7/Makefile       Sun Jan 25 18:44:31 2004 +0000
+++ b/www/opera7/Makefile       Sun Jan 25 19:12:31 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2003/11/25 02:14:07 heinz Exp $
+# $NetBSD: Makefile,v 1.15 2004/01/25 19:12:31 heinz Exp $
 
 DISTNAME=      opera-${OPERA_PKG_VERSION}
 PKGREVISION=   # empty
@@ -7,6 +7,7 @@
                ftp://ftp.hu-berlin.de/pub/www/opera/${OPERA_DIR}/ \
                http://ftp.sunet.se/pub/www/clients/Opera/${OPERA_DIR}/ \
                http://opera.online.no/${OPERA_DIR}/ \
+               ftp://ftp.task.gda.pl/pub/opera/${OPERA_DIR}/ \
                ftp://ftp.tuwien.ac.at/infosys/browsers/opera/${OPERA_DIR}/ \
                ftp://ftp.opera.com/pub/opera/${OPERA_DIR}/
 DISTFILES=     opera-${OPERA_DIST_VERSION}${OPERA_ARCH}-${OPERA_LANG}${EXTRACT_SUFX}
@@ -15,7 +16,7 @@
 HOMEPAGE=      http://www.opera.com/
 COMMENT=       Small, fast and customizable WWW client
 
-ONLY_FOR_PLATFORM=     NetBSD-*-i386 SunOS-*-sparc
+ONLY_FOR_PLATFORM=     NetBSD-*-i386 SunOS-*-sparc FreeBSD-*-i386
 
 LICENSE=       opera-license
 
@@ -26,7 +27,7 @@
 # A default so lintpkgsrc is happy
 OPERA_PKG_VERSION=     7.0
 
-.if (${MACHINE_ARCH} == i386)
+.if (${OPSYS} == NetBSD)
 DEPENDS+=      suse_compat>=7.3:../../emulators/${SUSE_DIR_PREFIX}_compat
 DEPENDS+=      suse_freetype2>=7.3:../../emulators/${SUSE_DIR_PREFIX}_freetype2
 DEPENDS+=      suse_libjpeg>=7.3:../../emulators/${SUSE_DIR_PREFIX}_libjpeg
@@ -42,12 +43,24 @@
 EXTRACT_SUFX=          .rpm
 OPERA_ARCH=            .i386
 OPERA_LANG=            en
+OPERA_VER_DATE=                20031119
 OPERA_PKG_VERSION=     7.23
 OPERA_DIR=             linux/${OPERA_PKG_VERSION:S/.//g:C/beta.*//}/final/${OPERA_LANG}/${OPERA_ARCH:S/.//}/static
-OPERA_DIST_VERSION=    ${OPERA_PKG_VERSION:C/beta.*//}-20031119.1-static-qt
+OPERA_DIST_VERSION=    ${OPERA_PKG_VERSION:C/beta.*//}-${OPERA_VER_DATE}.1-static-qt
 
 RPMFILES=      ${DISTFILES}
 
+.elif (${OPSYS} == FreeBSD)
+EXTRACT_SUFX=          .tar.bz2
+OPERA_ARCH=            .i386.freebsd
+OPERA_LANG=            en
+OPERA_VER_DATE=                20031119
+OPERA_PKG_VERSION=     7.23
+OPERA_DIR=             unix/freebsd/${OPERA_PKG_VERSION:S/.//g:}/final/${OPERA_LANG}/
+OPERA_DIST_VERSION=    ${OPERA_PKG_VERSION}-${OPERA_VER_DATE}.1-static-qt
+
+WRKSRC=                        ${WRKDIR}/opera-${OPERA_DIST_VERSION}${OPERA_ARCH}-${OPERA_LANG}
+
 .elif (${OPSYS} == SunOS) && (${MACHINE_ARCH} == sparc)
 EXTRACT_SUFX=          .tar.bz2
 OPERA_ARCH=            -sol8-sparc-local
@@ -79,8 +92,8 @@
 .endif
 
 do-build:
-.if (${MACHINE_ARCH} == i386)
-       ${SED} -e 's#@EMULDIR@#${EMULDIR}#g' ${FILESDIR}/opera.sh > \
+.if (${OPSYS} == NetBSD)
+       @ ${SED} -e 's#@EMULDIR@#${EMULDIR}#g' ${FILESDIR}/opera.sh > \
                ${WRKDIR}/opera
 
 post-install: post-install-manpage
@@ -100,7 +113,7 @@
 .  endif
 .endif
 
-.if (${OPSYS} == SunOS) && (${MACHINE_ARCH} == sparc)
+.if (((${OPSYS} == SunOS) && (${MACHINE_ARCH} == sparc)) || (${OPSYS} == FreeBSD))
 USE_PKGINSTALL=                YES
 
 do-install:
diff -r 30c7c3ddfbc5 -r 60eaba7528ce www/opera7/PLIST.FreeBSD
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/opera7/PLIST.FreeBSD  Sun Jan 25 19:12:31 2004 +0000
@@ -0,0 +1,126 @@
+@comment $NetBSD: PLIST.FreeBSD,v 1.1 2004/01/25 19:12:31 heinz Exp $
+bin/opera
+man/man1/opera.1
+share/doc/opera/LICENSE
+share/doc/opera/help
+share/opera/bin/m2.so
+share/opera/bin/missingsyms.so
+share/opera/bin/opera
+share/opera/bin/works
+share/opera/chartables.bin
+share/opera/config/opera6rc
+share/opera/config/opera6rc.fixed
+share/opera/help/advertising.html
+share/opera/help/background.png
+share/opera/help/dialogs.html
+share/opera/help/filetypes.html
+share/opera/help/fonts.html
+share/opera/help/glossary.html
+share/opera/help/help.css
+share/opera/help/history.html
+share/opera/help/hotlist.html
+share/opera/help/index.html
+share/opera/help/input.html
+share/opera/help/keyboard.html
+share/opera/help/languages.html
+share/opera/help/layout.html
+share/opera/help/license.txt
+share/opera/help/m2.html
+share/opera/help/mail.html
+share/opera/help/menus.html
+share/opera/help/mouse.html
+share/opera/help/multimedia.html
+share/opera/help/network.html
+share/opera/help/page.html
+share/opera/help/paths.html
+share/opera/help/personal.html
+share/opera/help/preferences.html
+share/opera/help/privacy.html
+share/opera/help/search.html
+share/opera/help/security.html
+share/opera/help/skin.html
+share/opera/help/sounds.html
+share/opera/help/start.html
+share/opera/help/toc.html
+share/opera/help/toolbars.html
+share/opera/help/windows.html
+share/opera/hhd.ssr
+share/opera/images/background.gif
+share/opera/images/blank.gif
+share/opera/images/drive.gif
+share/opera/images/file.gif
+share/opera/images/folder.gif
+share/opera/images/link.gif
+share/opera/images/opera.xpm
+share/opera/images/opera_16x16.png
+share/opera/images/opera_22x22.png
+share/opera/images/opera_32x32.png
+share/opera/images/opera_48x48.png
+share/opera/images/operabanner.png
+share/opera/images/shared.gif
+share/opera/images/splash.png
+share/opera/images/startup1.png
+share/opera/images/startup2.png
+share/opera/ini/dialog.ini
+share/opera/ini/fastforward.ini
+share/opera/ini/minimal_toolbar.ini
+share/opera/ini/standard_keyboard.ini
+share/opera/ini/standard_menu.ini
+share/opera/ini/standard_mouse.ini
+share/opera/ini/standard_toolbar.ini
+share/opera/ini/unix_keyboard.ini
+share/opera/java/opera.jar
+share/opera/java/opera.policy
+share/opera/jsconsole.html
+share/opera/lngcode.txt
+share/opera/locale/en/default.adr
+share/opera/locale/en/search.ini
+share/opera/locale/english.lng
+share/opera/opera6.adr
+share/opera/plugins/libnpp.so
+share/opera/plugins/operamotifwrapper
+share/opera/plugins/operaplugincleaner
+share/opera/search.ini
+share/opera/skin/standard_skin.zip
+share/opera/skin/windows_skin.zip
+share/opera/styles/about.css
+share/opera/styles/cache.css
+share/opera/styles/csr.css
+share/opera/styles/dir.css
+share/opera/styles/drives.css
+share/opera/styles/email.css
+share/opera/styles/history.css
+share/opera/styles/im.css
+share/opera/styles/info.css
+share/opera/styles/mime.css
+share/opera/styles/mimehead.css
+share/opera/styles/opf.css
+share/opera/styles/plugins.css
+share/opera/styles/user/accessibility.css
+share/opera/styles/user/contrastbw.css
+share/opera/styles/user/contrastwb.css
+share/opera/styles/user/debugwithoutline.css
+share/opera/styles/user/disabletables.css
+share/opera/styles/user/hidecertainsizes.css
+share/opera/styles/user/hidenonlinkimages.css
+share/opera/styles/user/imageandlinkonly.css
+share/opera/styles/user/nostalgia.css
+share/opera/styles/user/showstructure.css
+share/opera/styles/user/textonly.css
+share/opera/styles/user/userstyle.ini
+share/opera/styles/wml.css
+share/opera/styles/OPF.css
+@dirrm share/doc/opera
+@dirrm share/opera/styles/user
+@dirrm share/opera/styles
+@dirrm share/opera/skin
+@dirrm share/opera/plugins
+@dirrm share/opera/locale/en
+@dirrm share/opera/locale
+@dirrm share/opera/java
+@dirrm share/opera/ini
+@dirrm share/opera/images
+@dirrm share/opera/help
+@dirrm share/opera/config
+@dirrm share/opera/bin
+@dirrm share/opera
diff -r 30c7c3ddfbc5 -r 60eaba7528ce www/opera7/distinfo
--- a/www/opera7/distinfo       Sun Jan 25 18:44:31 2004 +0000
+++ b/www/opera7/distinfo       Sun Jan 25 19:12:31 2004 +0000
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.7 2003/11/25 02:14:07 heinz Exp $
+$NetBSD: distinfo,v 1.8 2004/01/25 19:12:31 heinz Exp $
 
 SHA1 (./opera-7.23-20031119.1-static-qt.i386-en.rpm) = 7cbe7f5f780dcde06a5509e544142f5d5bfe5cd7
 Size (./opera-7.23-20031119.1-static-qt.i386-en.rpm) = 5166130 bytes
 SHA1 (opera-7.23-20031119.1-static-qt-sol8-sparc-local-en.tar.bz2) = fc3a1661e602a72ef446afd6e298594e01e77ad7
 Size (opera-7.23-20031119.1-static-qt-sol8-sparc-local-en.tar.bz2) = 5845007 bytes
+SHA1 (opera-7.23-20031119.1-static-qt.i386.freebsd-en.tar.bz2) = 690318be3c385848b00fe537ffefa0f1a92c2145
+Size (opera-7.23-20031119.1-static-qt.i386.freebsd-en.tar.bz2) = 4732147 bytes



Home | Main Index | Thread Index | Old Index