# New ports collection makefile for: linux-opera # Date created: December 6th 2000 # Whom: des # # $FreeBSD$ # PORTNAME= opera PORTVERSION= 7.51.20040602 PORTREVISION= 1 CATEGORIES= www linux MASTER_SITES= ftp://ftp.opera.com/pub/opera/linux/751/final/en/i386/static/ \ ftp://ftp.sunet.se/pub/www/clients/Opera/linux/751/final/en/i386/static/ \ ftp://sunsite.cnlab-switch.ch/mirror/opera/linux/751/final/en/i386/static/ \ ftp://ftp.tiscali.nl/pub/mirrors/opera/linux/751/final/en/i386/static/ \ ftp://ftp.ntua.gr/pub/www/Opera/linux/751/final/en/i386/static/ \ http://mirrors.pmmf.hu/mirror/opera/linux/751/final/en/i386/static/ \ ftp://ftp.task.gda.pl/pub/opera/linux/751/final/en/i386/static/ \ ftp://ftp.planetmirror.com/pub/opera/linux/751/final/en/i386/static/ \ http://gd.tuwien.ac.at/infosys/browsers/opera/linux/751/final/en/i386/static/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/www/opera/linux/751/final/en/i386/static/&,} PKGNAMEPREFIX= linux- DISTNAME= ${PORTNAME}-${PORTVERSION:S/.2004/-2004/}.1-static-qt.i386-en MAINTAINER= mezz@FreeBSD.org COMMENT= A blazingly fast, full-featured, standards-compliant browser RESTRICTED= "not redistributable; commercial software" USE_BZIP2= yes WANT_GNOME= yes USE_X_PREFIX= yes USE_REINPLACE= yes ONLY_FOR_ARCHS= i386 NO_BUILD= yes NO_FILTER_SHLIBS=yes DATADIR= ${PREFIX}/share/${UNIQUENAME} DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME} .include .if exists(${LINUXBASE}/lib/libc-2.3.2.so) || defined(WITH_LINUX8) RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libXrandr.so.2:${PORTSDIR}/x11/linux-XFree86-libs \ ${LINUXBASE}/usr/lib/libfontconfig.so.1:${PORTSDIR}/x11-fonts/linux-fontconfig \ ${LINUXBASE}/usr/lib/libexpat.so.0:${PORTSDIR}/textproc/linux-expat \ ${LINUXBASE}/usr/lib/libaspell.so.15:${PORTSDIR}/textproc/linux-aspell \ ${LINUXBASE}/usr/X11R6/lib/libXm.so.2.1:${PORTSDIR}/x11-toolkits/linux-openmotif WITH_LINUX8= yes .else RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libXm.so.2.1:${PORTSDIR}/x11-toolkits/linux-openmotif USE_LINUX= yes .endif .if ${HAVE_GNOME:Mgnomehier}!="" PLIST_SUB+= GNOME:="" .else PLIST_SUB+= GNOME:="@comment " .endif .if exists(${LOCALBASE}/bin/kde-config) PLIST_SUB+= KDE:="" .else PLIST_SUB+= KDE:="@comment " .endif pre-everything:: .if !defined(WITH_LINUX8) @${ECHO_MSG} "You may specify the following on the command line:" @${ECHO_MSG} " " @${ECHO_MSG} "WITH_LINUX8=yes to use Xft2 and enable spell checker (requires linux_base-8)." .endif post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \ s|%%LOCALBASE%%|${LOCALBASE}|g ; s|%%X11BASE%%|${X11BASE}|g' \ ${WRKSRC}/install.sh ${WRKSRC}/ini/pluginpath.ini \ ${WRKSRC}/ini/spellcheck.ini ${WRKSRC}/config/opera6rc do-install: @(cd ${WRKSRC} && ./install.sh \ --prefix=${PREFIX} \ --docdir=${DOCSDIR} \ --sharedir=${DATADIR} \ --exec_prefix=${DATADIR}/bin \ --plugindir=${DATADIR}/plugins) post-install: @${CAT} ${PKGMESSAGE} .include