blob: ff8372d07d87c5c3b4b4ab01ab0d7a230b002d20 (
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
49
50
51
52
53
54
55
56
57
58
59
|
# $NetBSD: Makefile,v 1.3 2002/02/27 17:17:44 jlam Exp $
DISTNAME= opera-${OPERA_PKG_VERSION}
CATEGORIES= www
MASTER_SITES= ftp://opera.panix.com/pub/linux/${OPERA_DIR}/ \
ftp://ftp.hu-berlin.de/pub/www/opera/linux/${OPERA_DIR}/ \
http://ftp.sunet.se/pub/www/clients/Opera/linux/${OPERA_DIR}/ \
http://ftp.opera.com/pub/opera/linux/${OPERA_DIR}/
EXTRACT_SUFX= .rpm
DISTFILES= opera-${OPERA_DIST_VERSION}.${OPERA_ARCH}${EXTRACT_SUFX}
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.opera.com/
COMMENT= Small, fast and customizable WWW client
ONLY_FOR_PLATFORM= NetBSD-*-i386
LICENSE= opera-license
# we need the DIST_SUBDIR=. because of the inclusion of suse's Makefile.common
DIST_SUBDIR= .
EXTRACT_ONLY= # empty
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
.include "../../mk/bsd.prefs.mk"
.if (${MACHINE_ARCH} == i386)
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
OPERA_ARCH= i386
OPERA_DIR= 600/beta1
OPERA_DIST_VERSION= 6.0-20020218.1-static-qt
OPERA_PKG_VERSION= 5.999.1
.endif
RPMFILES= ${DISTFILES}
do-build:
${SED} -e 's#@EMULDIR@#${EMULDIR}#g' ${FILESDIR}/opera.sh > \
${WRKDIR}/opera
post-install: post-install-manpage
${INSTALL_SCRIPT} ${WRKDIR}/opera ${PREFIX}/bin
.include "../../emulators/suse_linux/Makefile.common"
post-install-manpage:
# The SuSE common makefile defines "MANCOMPRESSED".
.if defined(MANCOMPRESSED)
${GZIP_CMD} ${EMULDIR}/usr/share/man/man1/opera.1
${LN} -fs ../../${EMULSUBDIR}/usr/share/man/man1/opera.1.gz \
${PREFIX}/man/man1
.else
${LN} -fs ../../${EMULSUBDIR}/usr/share/man/man1/opera \
${PREFIX}/man/man1
.endif
|