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

PORTNAME=   linux-opera
PORTVERSION=    4.0b3
CATEGORIES= www linux
MASTER_SITES=   http://opera.online.no/linux/tgz/
DISTNAME=   opera-4.0-b3-static.i386

MAINTAINER= des@FreeBSD.org

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

NO_BUILD=   yes

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

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

.include <bsd.port.mk>