aboutsummaryrefslogtreecommitdiffstats
path: root/www/linux-opera7/Makefile
blob: a7497d1146976a51b2b4dc6a7bacffb76143097a (plain) (blame)
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
# New ports collection makefile for:        linux-opera4
# Date created:                 December 6th 2000
# Whom:                     des
#
# $FreeBSD$
#

PORTNAME=   linux-opera
PORTVERSION=    4.0b4
CATEGORIES= www linux
MASTER_SITES=   http://opera.online.no/linux/tgz/
DISTNAME=   opera-4.0-b4-20001211.012-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

NO_BUILD=   yes

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

do-install:
    ${MKDIR} ${PREFIX}/opera-4.0
    (cd ${WRKSRC} && \
        tar cf - . | tar --unlink -xpf - -C ${PREFIX}/opera-4.0)
    ${INSTALL_SCRIPT} ${WRKDIR}/opera ${PREFIX}/bin/opera

.include <bsd.port.mk>