aboutsummaryrefslogtreecommitdiffstats
path: root/www/linux-opera/Makefile
blob: 32292a77cd6dd3c89b71986235a58a39abcd05e2 (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
32
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:        linux-opera4
# Date created:                 December 6th 2000
# Whom:                     des
#
# $FreeBSD$
#

PORTNAME=   opera
PKGNAMEPREFIX=  linux-
PORTREVISION=   1
OPERAVERSION=   6.0-20011129.1
PORTVERSION=    ${OPERAVERSION:S/-/./}
CATEGORIES= www linux
MASTER_SITES=   http://opera.online.no/linux/600/tp2/ \
        ftp://ftp.opera.com/pub/opera/linux/600/tp2/
DISTNAME=   ${PORTNAME}-${OPERAVERSION}-static_qt.i386

MAINTAINER= des@FreeBSD.org

RUN_DEPENDS=    ${LINUXBASE}/lib/ld.so:${PORTSDIR}/emulators/linux_base \
        ${LINUXBASE}/usr/X11R6/lib/libXm.so.2:${PORTSDIR}/x11-toolkits/linux-openmotif \
        ${LINUXBASE}/usr/lib/libpng.so.2:${PORTSDIR}/graphics/linux-png

ONLY_FOR_ARCHS= i386

NO_BUILD=   yes
NO_FILTER_SHLIBS=yes

do-configure:
    ${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g; s|%%DATADIR%%|${DATADIR}|g'\
        ${WRKSRC}/install.sh

do-install:
    (cd ${WRKSRC} && ./install.sh \
        --exec_prefix=${DATADIR}/bin \
        --wrapperdir=${PREFIX}/bin \
        --docdir=${DOCSDIR} \
        --sharedir=${DATADIR} \
        --plugindir=${DATADIR}/plugins )

.include <bsd.port.mk>