summaryrefslogtreecommitdiff
path: root/www/opera/Makefile
blob: f23b14b1acf9f607a482d24eecf027df67a6cdcb (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
39
40
41
42
43
44
45
46
47
48
# $NetBSD: Makefile,v 1.9 2001/01/06 10:09:24 jdolecek Exp $

DISTNAME=	opera-4.0-b5-20010103.014-static.i386
PKGNAME=	opera-4.0b5
CATEGORIES=	www
MASTER_SITES=	http://opera.online.no/linux/tgz/ \
		ftp://ftp.fh-koblenz.de/pub/InternetClients/Opera/english/4.0b4/linux/intel-x86/static/ \
		http://www.wireweb.net/users/quasar/tgz/ \
		ftp://gd.tuwien.ac.at/infosys/browsers/opera/linux/tgz/tgz/ \
		ftp://sunsite.cnlab-switch.ch/mirror/opera/linux/tgz/

MAINTAINER=	tron@netbsd.org
HOMEPAGE=	http://www.opera.com/

DEPENDS+=	suse_compat>=6.4:../../emulators/suse_compat
DEPENDS+=	suse_libjpeg>=6.4:../../emulators/suse_libjpeg
DEPENDS+=	suse_libpng>=6.4:../../emulators/suse_libpng
DEPENDS+=	suse_x11>=6.4:../../emulators/suse_x11

ONLY_FOR_PLATFORM=	NetBSD-*-i386

LICENSE=	opera-license

CHECK_SHLIBS=	NO
EMULSUBDIR=	emul/linux
EMULDIR=	${PREFIX}/${EMULSUBDIR}
NO_BUILD=	YES
PLIST_SUBST=	EMULSUBDIR=${EMULSUBDIR}

do-install:
	${INSTALL_DATA_DIR} \
		${PREFIX}/share/doc/opera \
		${PREFIX}/share/opera/buttons \
		${PREFIX}/share/opera/buttons/default \
		${PREFIX}/share/opera/buttons/defsmall \
		${PREFIX}/share/opera/images \
		${PREFIX}/share/opera/styles
	cd ${WRKSRC} && \
	${INSTALL_SCRIPT} opera ${PREFIX}/bin && \
	${INSTALL_DATA} LICENSE ${PREFIX}/share/doc/opera && \
	${INSTALL_DATA} opera.adr ${PREFIX}/share/opera && \
	${INSTALL_DATA} buttons/default/* ${PREFIX}/share/opera/buttons/default && \
	${INSTALL_DATA} buttons/defsmall/* ${PREFIX}/share/opera/buttons/defsmall && \
	${INSTALL_DATA} images/* ${PREFIX}/share/opera/images && \
	${INSTALL_DATA} styles/* ${PREFIX}/share/opera/styles
	${LN} -fs ${PREFIX}/share/opera ${EMULDIR}/usr/share

.include "../../mk/bsd.pkg.mk"