diff options
author | bouyer <bouyer> | 2002-10-24 10:23:07 +0000 |
---|---|---|
committer | bouyer <bouyer> | 2002-10-24 10:23:07 +0000 |
commit | ee6e3478f9aa452c74970323758d5d5f5ab5e9db (patch) | |
tree | f484a916550854b4d508602b200e42e27b20c9d4 /www/opera | |
parent | 78c48a7d0f38df451f4ea71f585e12aebe56bd2c (diff) | |
download | pkgsrc-ee6e3478f9aa452c74970323758d5d5f5ab5e9db.tar.gz |
Handle SunOS-*-sparc too.
Diffstat (limited to 'www/opera')
-rw-r--r-- | www/opera/Makefile | 51 | ||||
-rw-r--r-- | www/opera/PLIST.SunOS | 203 | ||||
-rw-r--r-- | www/opera/distinfo | 4 |
3 files changed, 242 insertions, 16 deletions
diff --git a/www/opera/Makefile b/www/opera/Makefile index 6a2ea43cd59..bcae2b0a308 100644 --- a/www/opera/Makefile +++ b/www/opera/Makefile @@ -1,44 +1,65 @@ -# $NetBSD: Makefile,v 1.24 2002/04/08 12:24:08 wiz Exp $ +# $NetBSD: Makefile,v 1.25 2002/10/24 10:23:07 bouyer Exp $ DISTNAME= opera-5.0.1 CATEGORIES= www -MASTER_SITES= http://opera.online.no/linux/500/ \ - ftp://ftp.opera.com/pub/opera/linux/500/ \ - ftp://ftp.tuwien.ac.at/infosys/browsers/opera/linux/500/ -DISTFILES= ${RPMFILES} +MASTER_SITES= http://opera.online.no/${OPERA_DIR}/ \ + ftp://ftp.opera.com/pub/opera/${OPERA_DIR}/ \ + ftp://ftp.tuwien.ac.at/infosys/browsers/opera/${OPERA_DIR}/ +DISTFILES= ${OPERAFILE} MAINTAINER= tron@netbsd.org HOMEPAGE= http://www.opera.com/ COMMENT= Small, fast and customizable WWW client -ONLY_FOR_PLATFORM= NetBSD-*-i386 +ONLY_FOR_PLATFORM= NetBSD-*-i386 SunOS-*-sparc LICENSE= opera-license +.include "../../mk/bsd.prefs.mk" + +.if (${OPSYS} == NetBSD && ${MACHINE_ARCH} == i386) # we need the DIST_SUBDIR=. because of the inclusion of suse's Makefile.common DIST_SUBDIR= . EXTRACT_ONLY= # empty NO_BUILD= YES PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC -.include "../../mk/bsd.prefs.mk" - -.if (${MACHINE_ARCH} == i386) DEPENDS+= suse_compat>=6.3:../../emulators/${SUSE_DIR_PREFIX}_compat DEPENDS+= suse_libjpeg>=6.4:../../emulators/${SUSE_DIR_PREFIX}_libjpeg DEPENDS+= suse_libpng>=6.4:../../emulators/${SUSE_DIR_PREFIX}_libpng DEPENDS+= suse_x11>=6.3:../../emulators/${SUSE_DIR_PREFIX}_x11 OPERA_ARCH= ${MACHINE_ARCH} -.elif (${MACHINE_ARCH} == powerpc) +OPERA_DIR= linux/500 +OPERAFILE= opera-static-5.0-1.${OPERA_ARCH}.rpm +RPMFILES= ${OPERAFILE} +post-install: + ${LN} -fs ../${EMULSUBDIR}/usr/bin/opera ${PREFIX}/bin +.include "../../emulators/suse_linux/Makefile.application" + +.elif (${OPSYS} == NetBSD && ${MACHINE_ARCH} == powerpc) DEPENDS+= linuxppc_lib>=2000.4.2:../../emulators/linuxppc_lib OPERA_ARCH= ppc -.endif -RPMFILES= opera-static-5.0-1.${OPERA_ARCH}.rpm +.elif (${OPSYS} == SunOS && ${MACHINE_ARCH} == sparc) +OPERA_ARCH= sparc +OPERA_DIR= unix/solaris +OPERAFILE= opera-5.0-b1-20010618.003-static.solaris.sparc.tar.gz +DISTNAME= opera-5.0b1 -post-install: - ${LN} -fs ../${EMULSUBDIR}/usr/bin/opera ${PREFIX}/bin +PLIST_SRC= PLIST.SunOS + +do-build: + ${SED} -e "s,@PREFIX@,${PREFIX},g" \ + < ${FILESDIR}/opera.sh > ${WRKDIR}/opera + +do-install: + cd ${WRKDIR}/opera-5.0-b1-20010618.003-static.solaris.sparc && \ + ./install.sh --prefix=${PREFIX} --docdir=${PREFIX}/share/doc/opera + mv ${PREFIX}/bin/opera ${PREFIX}/libexec/opera + ${INSTALL_SCRIPT} ${WRKDIR}/opera ${PREFIX}/bin + +.include "../../mk/bsd.pkg.mk" +.endif -.include "../../emulators/suse_linux/Makefile.application" diff --git a/www/opera/PLIST.SunOS b/www/opera/PLIST.SunOS new file mode 100644 index 00000000000..99761368787 --- /dev/null +++ b/www/opera/PLIST.SunOS @@ -0,0 +1,203 @@ +@comment $NetBSD: PLIST.SunOS,v 1.1 2002/10/24 10:23:07 bouyer Exp $ +bin/opera +libexec/opera +share/doc/opera/LICENSE +share/opera/buttons/ReadMe.txt +share/opera/buttons/default/buttons.ini +share/opera/buttons/default/abc.gif +share/opera/buttons/default/cascade.gif +share/opera/buttons/default/compose.gif +share/opera/buttons/default/copy.gif +share/opera/buttons/default/delete.gif +share/opera/buttons/default/doccomp.gif +share/opera/buttons/default/docerr.gif +share/opera/buttons/default/dochtlst.gif +share/opera/buttons/default/docim.gif +share/opera/buttons/default/docload.gif +share/opera/buttons/default/docmail.gif +share/opera/buttons/default/docnews.gif +share/opera/buttons/default/docprog.gif +share/opera/buttons/default/docsrch.gif +share/opera/buttons/default/doctrsf.gif +share/opera/buttons/default/document.gif +share/opera/buttons/default/docunkn.gif +share/opera/buttons/default/docunrd.gif +share/opera/buttons/default/dropdown.gif +share/opera/buttons/default/figprog.gif +share/opera/buttons/default/go.gif +share/opera/buttons/default/finished.gif +share/opera/buttons/default/forward.gif +share/opera/buttons/default/fullscre.gif +share/opera/buttons/default/hisecu.gif +share/opera/buttons/default/home.gif +share/opera/buttons/default/hotlist.gif +share/opera/buttons/default/hotlstto.gif +share/opera/buttons/default/im.gif +share/opera/buttons/default/incl.gif +share/opera/buttons/default/keyb.gif +share/opera/buttons/default/load.gif +share/opera/buttons/default/loading.gif +share/opera/buttons/default/losecu.gif +share/opera/buttons/default/maxlist.gif +share/opera/buttons/default/maxmail.gif +share/opera/buttons/default/menu.gif +share/opera/buttons/default/mesecu.gif +share/opera/buttons/default/moveto.gif +share/opera/buttons/default/new.gif +share/opera/buttons/default/newbkmk.gif +share/opera/buttons/default/newcntct.gif +share/opera/buttons/default/newfldr.gif +share/opera/buttons/default/newscatc.gif +share/opera/buttons/default/newsfoll.gif +share/opera/buttons/default/url.gif +share/opera/buttons/default/newsfoll1.gif +share/opera/buttons/default/newsgrp.gif +share/opera/buttons/default/newsmrea.gif +share/opera/buttons/default/newsnext.gif +share/opera/buttons/default/newsover.gif +share/opera/buttons/default/newsprev.gif +share/opera/buttons/default/newssall.gif +share/opera/buttons/default/newsthr.gif +share/opera/buttons/default/newsunr.gif +share/opera/buttons/default/next.gif +share/opera/buttons/default/noimg.gif +share/opera/buttons/default/nosecu.gif +share/opera/buttons/default/open.gif +share/opera/buttons/default/previous.gif +share/opera/buttons/default/previous1.gif +share/opera/buttons/default/print.gif +share/opera/buttons/default/printact.gif +share/opera/buttons/default/printall.gif +share/opera/buttons/default/printscr.gif +share/opera/buttons/default/printvie.gif +share/opera/buttons/default/redirect.gif +share/opera/buttons/default/reload.gif +share/opera/buttons/default/reply.gif +share/opera/buttons/default/replyall.gif +share/opera/buttons/default/save.gif +share/opera/buttons/default/search.gif +share/opera/buttons/default/send.gif +share/opera/buttons/default/send1.gif +share/opera/buttons/default/sendqd.gif +share/opera/buttons/default/show.gif +share/opera/buttons/default/split.gif +share/opera/buttons/default/stop.gif +share/opera/buttons/default/stop1.gif +share/opera/buttons/default/tbsearch.gif +share/opera/buttons/default/tile.gif +share/opera/buttons/default/tilevert.gif +share/opera/buttons/default/update.gif +share/opera/buttons/default/usermode.gif +share/opera/buttons/default/websrch.gif +share/opera/buttons/defsmall/buttons.ini +share/opera/buttons/defsmall/abc.gif +share/opera/buttons/defsmall/cascade.gif +share/opera/buttons/defsmall/compose.gif +share/opera/buttons/defsmall/copy.gif +share/opera/buttons/defsmall/delete.gif +share/opera/buttons/defsmall/dropdown.gif +share/opera/buttons/defsmall/forward.gif +share/opera/buttons/defsmall/fullscre.gif +share/opera/buttons/defsmall/home.gif +share/opera/buttons/defsmall/hotlist.gif +share/opera/buttons/defsmall/hotlstto.gif +share/opera/buttons/defsmall/imsmall.gif +share/opera/buttons/defsmall/incl.gif +share/opera/buttons/defsmall/keyb.gif +share/opera/buttons/defsmall/maxlist.gif +share/opera/buttons/defsmall/maxmail.gif +share/opera/buttons/defsmall/menu.gif +share/opera/buttons/defsmall/moveto.gif +share/opera/buttons/defsmall/new.gif +share/opera/buttons/defsmall/newbkmk.gif +share/opera/buttons/defsmall/newcntct.gif +share/opera/buttons/defsmall/newfldr.gif +share/opera/buttons/defsmall/newsgrp.gif +share/opera/buttons/defsmall/newscatc.gif +share/opera/buttons/defsmall/newsfoll.gif +share/opera/buttons/defsmall/newsmrea.gif +share/opera/buttons/defsmall/newsnext.gif +share/opera/buttons/defsmall/newsover.gif +share/opera/buttons/defsmall/newsprev.gif +share/opera/buttons/defsmall/newssall.gif +share/opera/buttons/defsmall/newsthr.gif +share/opera/buttons/defsmall/newsunr.gif +share/opera/buttons/defsmall/next.gif +share/opera/buttons/defsmall/open.gif +share/opera/buttons/defsmall/previous.gif +share/opera/buttons/defsmall/print.gif +share/opera/buttons/defsmall/redirect.gif +share/opera/buttons/defsmall/reload.gif +share/opera/buttons/defsmall/reply.gif +share/opera/buttons/defsmall/replyall.gif +share/opera/buttons/defsmall/save.gif +share/opera/buttons/defsmall/search.gif +share/opera/buttons/defsmall/send.gif +share/opera/buttons/defsmall/sendqd.gif +share/opera/buttons/defsmall/split.gif +share/opera/buttons/defsmall/tile.gif +share/opera/buttons/defsmall/tilevert.gif +share/opera/buttons/defsmall/update.gif +share/opera/buttons/defsmall/url.gif +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/Default +share/opera/buttons/DefSmall +share/opera/help/access.htm +share/opera/help/alpha.htm +share/opera/help/bookmark.htm +share/opera/help/contact.htm +share/opera/help/dialogs.htm +share/opera/help/features.htm +share/opera/help/helphelp.htm +share/opera/help/index.htm +share/opera/help/keyboard.htm +share/opera/help/link_up.gif +share/opera/help/menus.htm +share/opera/help/opera5.css +share/opera/help/prefmenu.htm +share/opera/help/reg_form.txt +share/opera/help/security.htm +share/opera/help/starter.htm +share/opera/help/terms.htm +share/opera/help/trouble.htm +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/operabanner.png +share/opera/styles/OPF.CSS +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/mime.css +share/opera/styles/mimehead.css +share/opera/styles/plugins.css +share/opera/styles/wml.css +share/opera/opera.xpm +share/opera/opera.wmconfig +share/opera/opera.desktop +share/opera/opera_16x16.png +share/opera/opera_22x22.png +share/opera/opera_32x32.png +share/opera/opera_48x48.png +share/opera/opera.adr + +@dirrm share/doc/opera +@dirrm share/opera/buttons/default +@dirrm share/opera/buttons/defsmall +@dirrm share/opera/buttons/examples +@dirrm share/opera/buttons +@dirrm share/opera/help +@dirrm share/opera/images +@dirrm share/opera/styles +@dirrm share/opera diff --git a/www/opera/distinfo b/www/opera/distinfo index 033872663ac..d103a1c3b48 100644 --- a/www/opera/distinfo +++ b/www/opera/distinfo @@ -1,4 +1,6 @@ -$NetBSD: distinfo,v 1.3 2001/05/15 12:01:16 tron Exp $ +$NetBSD: distinfo,v 1.4 2002/10/24 10:23:08 bouyer Exp $ SHA1 (./opera-static-5.0-1.i386.rpm) = dbaf27b7afe43eba996bdbbe970d50bb7d58cf7c Size (./opera-static-5.0-1.i386.rpm) = 2801119 bytes +SHA1 (opera-5.0-b1-20010618.003-static.solaris.sparc.tar.gz) = 24f285bcd40d9d222aa6648b738f92607a0febe0 +Size (opera-5.0-b1-20010618.003-static.solaris.sparc.tar.gz) = 3760625 bytes |