aboutsummaryrefslogtreecommitdiffstats
path: root/www/linux-netscape6/Makefile
blob: f94b6daf1af2aa1cf158596622d643539675031c (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: netscape-linux-6
# Date created:         8 April 2000
# Whom:             sada@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   linux-netscape
PORTVERSION=    6
CATEGORIES= www linux
MASTER_SITES=   ftp://ftp.netscape.com/pub/netscape6/english/6_PR1/unix/linux22/
DISTFILES=  netscape-v600pr1.x86-unknown-linux2.2.tar.gz

MAINTAINER= ports@FreeBSD.org

RUN_DEPENDS=    ${LINUX_BASE}/lib/ld.so:${PORTSDIR}/emulators/linux_base \
        ${LINUX_BASE}/usr/lib/libgtk-1.2.so.0.5.0:${PORTSDIR}/x11-toolkits/linux-gtk \
        ${LINUX_BASE}/usr/lib/libjpeg.so.62.0.0:${PORTSDIR}/graphics/linux-jpeg

LINUX_BASE= /compat/linux
NO_BUILD=   yes
NO_FILTER_SHLIBS=   yes
ONLY_FOR_ARCHS= i386
PLIST_SUB=  STARTUP_CMD=${STARTUP_CMD}
STRIP=
USE_XLIB=   yes
WRKSRC= ${WRKDIR}/package

INSTALL_DIR=    ${PREFIX}/lib/linux-netscape6
STARTUP_CMD=    netscape6

post-configure:
    ${SED} -e "s;%%INSTALL_DIR%%;${INSTALL_DIR};g" \
    ${FILESDIR}/start.sh >${WRKDIR}/${STARTUP_CMD}

do-install:
    ${MKDIR} ${INSTALL_DIR}
    ${CP} -Rp ${WRKSRC}/* ${INSTALL_DIR}
    ${INSTALL_SCRIPT} ${WRKDIR}/${STARTUP_CMD} ${PREFIX}/bin

.include <bsd.port.mk>