2002-12-29 10:03:57 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.24 2002/12/29 15:03:57 fgsch Exp $
|
2001-08-30 09:43:20 -04:00
|
|
|
# Uses pthreads
|
1998-08-22 14:38:50 -04:00
|
|
|
|
2001-05-06 00:22:45 -04:00
|
|
|
COMMENT= "free version of the Netscape browser"
|
|
|
|
|
2001-08-13 10:16:34 -04:00
|
|
|
VER= 0.9.3
|
2000-09-16 12:13:06 -04:00
|
|
|
DISTNAME= mozilla
|
2001-06-22 12:32:51 -04:00
|
|
|
PKGNAME= mozilla-${VER}
|
|
|
|
DISTFILES= mozilla-source-${VER}.tar.bz2
|
2000-09-16 12:13:06 -04:00
|
|
|
|
2001-08-18 22:30:45 -04:00
|
|
|
BROKEN= core dumps in dynamic library constructor
|
2000-03-24 17:13:48 -05:00
|
|
|
|
1998-08-22 14:38:50 -04:00
|
|
|
CATEGORIES= www
|
|
|
|
|
2001-12-27 07:59:01 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2001-06-22 12:32:51 -04:00
|
|
|
MASTER_SITES= ftp://ftp.mozilla.org/pub/mozilla/releases/mozilla${VER}/src/
|
1998-08-22 14:38:50 -04:00
|
|
|
|
2001-08-13 10:16:34 -04:00
|
|
|
#BUILD_DEPENDS= zip:archivers/zip
|
|
|
|
#LIB_DEPENDS= gtk.1.2::x11/gtk+ \
|
|
|
|
# ORBit.2:devel/ORBit \
|
|
|
|
# jpeg.9:graphics/jpeg \
|
|
|
|
# png.4:graphics/png \
|
|
|
|
# mng.1:graphics/libmng \
|
|
|
|
# gdk-pixbuf.2:graphics/gdk-pixbuf
|
1998-08-22 14:38:50 -04:00
|
|
|
|
2000-03-24 17:13:48 -05:00
|
|
|
USE_X11= Yes
|
2000-03-05 13:30:21 -05:00
|
|
|
USE_GMAKE= Yes
|
1998-08-22 14:38:50 -04:00
|
|
|
|
2001-08-18 22:30:45 -04:00
|
|
|
CONFIGURE_STYLE= autoconf
|
2001-08-13 10:16:34 -04:00
|
|
|
CONFIGURE_ARGS= \
|
|
|
|
--disable-cpp-exceptions \
|
|
|
|
--disable-cpp-rtti \
|
|
|
|
--disable-debug \
|
|
|
|
--disable-idltool \
|
|
|
|
--disable-md \
|
|
|
|
--disable-pedantic \
|
|
|
|
--disable-xterm-updates \
|
|
|
|
--enable-crypto \
|
|
|
|
--enable-double-buffer \
|
|
|
|
--enable-editor \
|
|
|
|
--enable-mailnews \
|
|
|
|
--enable-mathml \
|
|
|
|
--enable-optimize="${CFLAGS}" \
|
|
|
|
--enable-pics \
|
|
|
|
--enable-svg \
|
|
|
|
--enable-tests \
|
|
|
|
--enable-toolkit=gtk \
|
|
|
|
--enable-x11-shm \
|
|
|
|
--enable-chrome-format=jar \
|
|
|
|
--with-jpeg=${LOCALBASE} \
|
|
|
|
--with-png=${LOCALBASE} \
|
|
|
|
--with-mng=${LOCALBASE} \
|
|
|
|
--with-pthreads
|
1998-08-22 14:38:50 -04:00
|
|
|
|
2001-08-18 22:30:45 -04:00
|
|
|
CONFIGURE_ENV= BSD_PTHREAD_LIBS="-pthread" \
|
2001-08-13 10:16:34 -04:00
|
|
|
CFLAGS="" CXXFLAGS=""
|
2001-08-18 22:30:45 -04:00
|
|
|
MAKE_ENV= LD_LIBRARY_PATH="${WRKSRC}/dist/bin" \
|
2001-08-13 10:16:34 -04:00
|
|
|
CFLAGS="" CXXFLAGS="" \
|
|
|
|
MALLOC_OPTIONS=j
|
2001-08-18 22:30:45 -04:00
|
|
|
|
1998-08-22 14:38:50 -04:00
|
|
|
do-install:
|
2001-08-18 22:30:45 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/mozilla
|
|
|
|
@chmod 755 ${PREFIX}/lib/mozilla
|
|
|
|
@cd ${WRKSRC}/dist/bin && ${TAR} -chf - . | \
|
2001-08-13 10:16:34 -04:00
|
|
|
${TAR} -xf - -C ${PREFIX}/lib/mozilla
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/dist/bin/mozilla ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/dist/bin/mozilla-bin ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/dist/bin/mozilla-config ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/dist/bin/run-mozilla.sh ${PREFIX}/bin
|
1998-08-22 14:38:50 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|