summaryrefslogtreecommitdiffstats
path: root/www/linux-opera/Makefile
blob: be9607a3cb9fbf1c5bef216c3015d4f7c91b10ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:		linux-opera4
# Date created:					December 6th 2000
# Whom:						des
#
# $FreeBSD$
#

PORTNAME=	linux-opera
PORTVERSION=	5.0
CATEGORIES=	www linux
MASTER_SITES=	http://opera.online.no/linux/tgz/500/ \
		ftp://ftp.opera.com/pub/opera/linux/500/ \
		ftp://gd.tuwien.ac.at/infosys/browsers/opera/linux/500/ \
		ftp://ftp.sunet.se/pub/www/clients/Opera/linux/500/ \
		ftp://ftp.planetmirror.com/pub/opera/linux/500/
DISTNAME=	opera-${PORTVERSION}-static.i386

MAINTAINER=	des@FreeBSD.org

RUN_DEPENDS=	${LINUXBASE}/lib/ld.so:${PORTSDIR}/emulators/linux_base \
		${LINUXBASE}/usr/lib/libpng.so.2:${PORTSDIR}/graphics/linux-png \
		${LINUXBASE}/usr/lib/libjpeg.so.62:${PORTSDIR}/graphics/linux-jpeg

ONLY_FOR_ARCHS=	i386

NO_BUILD=	yes

do-configure:
	${SED} 's|%%PREFIX%%|${PREFIX}|' <${FILESDIR}/opera.sh >${WRKDIR}/opera.sh

do-install:
	(cd ${WRKSRC} && ./install.sh \
	    --exec_prefix=${PREFIX}/bin \
	    --docdir=${PREFIX}/share/doc/opera \
	    --sharedir=${PREFIX}/share/opera )
	${INSTALL_SCRIPT} ${WRKDIR}/opera.sh ${PREFIX}/bin/opera

.include <bsd.port.mk>
OpenPOWER on IntegriCloud