blob: 0546f51da02f992bced7fe68a41660f5ec351fa6 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# $NetBSD: Makefile,v 1.42 2000/10/14 09:24:46 martin Exp $
DISTNAME= mozilla-source-M18
PKGNAME= mozilla-0.m18
WRKSRC= ${WRKDIR}/mozilla
CATEGORIES= www
MASTER_SITES= ftp://ftp.mozilla.org/pub/mozilla/releases/m18/src/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.mozilla.org/
BUILD_DEPENDS+= ${LOCALBASE}/bin/perl:../../lang/perl5
BUILD_DEPENDS+= autoconf:../../devel/autoconf
BUILD_DEPENDS+= zip:../../archivers/zip
DEPENDS+= gtk+>=1.2.8:../../x11/gtk
DEPENDS+= ORBit>=0.5.1:../../net/ORBit
DEPENDS+= jpeg-6b:../../graphics/jpeg
DEPENDS+= png>=1.0.6:../../graphics/png
USE_GMAKE= yes
USE_X11BASE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-tests \
--disable-debug \
--enable-optimize \
--with-jpeg=${LOCALBASE} \
--with-png=${LOCALBASE} \
--enable-mathml \
--enable-svg
MOZ_LIBDIR= ${PREFIX}/lib/mozilla
MAKE_ENV+= LIBRUNPATH=${MOZ_LIBDIR}
LDFLAGS+= -Wl,-R${MOZ_LIBDIR}
PLIST_SRC= ${PKGDIR}/PLIST-${OBJECT_FMT}
SCRIPTS_ENV+= OBJECT_FMT=${OBJECT_FMT}
SCRIPTS_ENV+= PLIST_SRC=${PLIST_SRC}
SCRIPTS_ENV+= SED=${SED}
SCRIPTS_ENV+= EGREP=${EGREP}
SCRIPTS_ENV+= CHOWN=${CHOWN}
SCRIPTS_ENV+= CHGRP=${CHGRP}
SCRIPTS_ENV+= CHMOD=${CHMOD}
SCRIPTS_ENV+= BINOWN=${BINOWN}
SCRIPTS_ENV+= BINGRP=${BINGRP}
SCRIPTS_ENV+= BINMODE=${BINMODE}
SHAREMODE?= 644
pre-configure:
(cd ${WRKSRC} && autoconf)
post-build:
(cd ${WRKSRC}/dist/bin && \
${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom && \
${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome )
do-install:
${SETENV} ${SCRIPTS_ENV} ${SCRIPTDIR}/moz-install
.include "../../mk/bsd.pkg.mk"
|