freebsd-ports/www/linux-opera/Makefile
Jeremy Messenger feca896617 - Update to 9.0, see changelog for details:
http://www.opera.com/docs/changelogs/linux/900/
	http://www.opera.com/docs/changelogs/linux/900/sincebeta.dml

- Add ${LOCALBASE,X11BASE}/lib/browser_linux_plugins, so now you can run
  'acroread --install-plugin' and restart browser to have acroread7 plugins.
- Add FreeBSD mail archives in the search, using http://freebsd.rambler.ru/ .
- Clean a bit in search.ini, now the combo box of search looks a bit prettier
  by have BSD stuff in a group (seperate bar). Also, make the key works in the
  address bar like 'm foobar' to search in http://freebsd.rambler.ru/.
- Update pkg-descr, it's not 7.x anymore. [1]

Opera team has done a nice of job. It is more BSD/Linux friendly and
desktop friendly such as support GNOME if you are using it. For example,
it finally will using gnome-open instead kfmclient. However, it no longer
depend on OpenMotif (woohoo!). [...see changelog above for more...] Kudos!

Reported by:	flz [1]
2006-06-21 04:31:10 +00:00

77 lines
2.4 KiB
Makefile

# New ports collection makefile for: linux-opera
# Date created: December 6th 2000
# Whom: des
#
# $FreeBSD$
#
PORTNAME= opera
PORTVERSION= ${OPERA_VER}.${OPERA_DATE}
CATEGORIES= www linux
MASTER_SITES= ftp://ftp.opera.com/pub/opera/linux/${OPERA_VER:S/.//}0/final/en/i386/static/ \
ftp://ftp.sunet.se/pub/www/clients/Opera/linux/${OPERA_VER:S/.//}0/final/en/i386/static/ \
ftp://sunsite.cnlab-switch.ch/mirror/opera/linux/${OPERA_VER:S/.//}0/final/en/i386/static/ \
ftp://ftp.tiscali.nl/pub/mirrors/opera/linux/${OPERA_VER:S/.//}0/final/en/i386/static/ \
ftp://ftp.ntua.gr/pub/www/Opera/linux/${OPERA_VER:S/.//}0/final/en/i386/static/ \
http://mirrors.pmmf.hu/mirror/opera/linux/${OPERA_VER:S/.//}0/final/en/i386/static/ \
ftp://ftp.task.gda.pl/pub/opera/linux/${OPERA_VER:S/.//}0/final/en/i386/static/ \
ftp://ftp.planetmirror.com/pub/opera/linux/${OPERA_VER:S/.//}0/final/en/i386/static/ \
http://gd.tuwien.ac.at/infosys/browsers/opera/linux/${OPERA_VER:S/.//}0/final/en/i386/static/ \
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/www/opera/linux/${OPERA_VER:S/.//}0/final/en/i386/static/&,}
PKGNAMEPREFIX= linux-
DISTNAME= ${PORTNAME}-${OPERA_VER}-${OPERA_DATE}.1-static-qt.i386-en-344
MAINTAINER= mezz@FreeBSD.org
COMMENT= A blazingly fast, full-featured, standards-compliant browser
RUN_DEPENDS= \
${LINUXBASE}/usr/lib/libaspell.so.15:${PORTSDIR}/textproc/linux-aspell
USE_BZIP2= yes
WANT_GNOME= yes
USE_LINUX= yes
USE_X_PREFIX= yes
ONLY_FOR_ARCHS= i386 amd64
NO_BUILD= yes
OPERA_VER= 9.0
OPERA_DATE= 20060616
DATADIR= ${PREFIX}/share/${UNIQUENAME}
DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME}
MAN1= linux-opera.1
.include <bsd.port.pre.mk>
.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
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \
s|%%LOCALBASE%%|${LOCALBASE}|g ; s|%%X11BASE%%|${X11BASE}|g' \
${WRKSRC}/install.sh ${WRKSRC}/ini/pluginpath.ini
@${FIND} ${WRKSRC} -name '*.orig' -delete
@${FIND} ${WRKSRC} -name '*.bak' -delete
do-install:
@(cd ${WRKSRC} && ./install.sh \
--prefix=${PREFIX} \
--docdir=${DOCSDIR} \
--sharedir=${DATADIR} \
--exec_prefix=${DATADIR}/bin \
--plugindir=${DATADIR}/plugins)
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>