summaryrefslogtreecommitdiff
path: root/www/mozilla-linux/Makefile
blob: 31ebd45ed61d2ed6dd520554d554428bc75603e0 (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
# $NetBSD: Makefile,v 1.3 2002/12/05 05:51:19 grant Exp $
#

DISTNAME=		mozilla-i686-pc-linux-gnu-1.2.1
PKGNAME=		mozilla-linux-1.2.1
CATEGORIES=		www
MASTER_SITES=		${MASTER_SITE_MOZILLA:=mozilla1.2.1/}

MAINTAINER=		grant@netbsd.org
HOMEPAGE=		http://www.mozilla.org/
COMMENT=		Open-source version of the Netscape browser (binary pkg)

ONLY_FOR_PLATFORM=	Linux-*-i[3-6]86 NetBSD-*-i386

WRKSRC=			${WRKDIR}/mozilla
NO_CONFIGURE=		# defined

do-build:

post-build:
	${SED} -e "s|@PREFIX@|${PREFIX}|g" ${FILESDIR}/mozilla.sh >	\
		${WRKDIR}/mozilla.sh

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/lib/mozilla-linux
	cd ${WRKSRC}; && ${PAX} -rw . ${PREFIX}/lib/mozilla-linux
	${INSTALL_SCRIPT} ${WRKDIR}/mozilla.sh ${PREFIX}/bin/mozilla-linux

.include "../../mk/bsd.prefs.mk"

# everything specific to your OS/Arch goes into it's own Makefile
# group together i386, i486, i586 and i686 (for Linux)
ARCH=${MACHINE_ARCH:C/i[3-6]86/i386/g}

.if exists(Makefile.${OPSYS}.${ARCH})
.  include "Makefile.${OPSYS}.${ARCH}"
.else
.  include "../../mk/bsd.pkg.mk"
.endif