1998-04-12 12:47:23 +00:00
|
|
|
# New ports collection makefile for: mozilla
|
|
|
|
# Date created: 31 Mar 1998
|
|
|
|
# Whom: eivind/dima/jseger
|
1997-02-24 19:00:30 +00:00
|
|
|
#
|
1999-08-31 02:43:35 +00:00
|
|
|
# $FreeBSD$
|
1997-02-24 19:00:30 +00:00
|
|
|
#
|
|
|
|
|
2000-04-10 00:07:29 +00:00
|
|
|
PORTNAME= mozilla
|
2001-12-26 10:21:22 +00:00
|
|
|
PORTVERSION= 0.9.7
|
2002-01-04 14:18:26 +00:00
|
|
|
PORTREVISION= 2
|
2001-01-12 16:59:59 +00:00
|
|
|
PORTEPOCH= 1
|
1997-02-24 19:00:30 +00:00
|
|
|
CATEGORIES= www
|
2001-12-26 10:21:22 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL:S,%SUBDIR%,sobomax,} \
|
|
|
|
${MASTER_SITE_MOZILLA}
|
2001-01-12 16:59:59 +00:00
|
|
|
MASTER_SITE_SUBDIR= mozilla/releases/${PORTNAME}${PORTVERSION:S/M/m/}/src
|
2001-12-26 10:21:22 +00:00
|
|
|
DISTFILES= ${PORTNAME}-source-${PORTVERSION}${EXTRACT_SUFX} \
|
|
|
|
libart_lgpl-${PORTVERSION}${EXTRACT_SUFX}
|
1997-11-15 01:11:00 +00:00
|
|
|
|
2001-05-22 10:04:37 +00:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
1997-11-15 01:11:00 +00:00
|
|
|
|
2001-05-22 08:15:39 +00:00
|
|
|
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
|
2001-05-04 21:41:30 +00:00
|
|
|
LIB_DEPENDS= ORBit.2:${PORTSDIR}/devel/ORBit \
|
2000-10-31 07:16:00 +00:00
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
2001-09-11 02:38:25 +00:00
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
2001-05-22 08:15:39 +00:00
|
|
|
mng.1:${PORTSDIR}/graphics/libmng \
|
|
|
|
gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
|
1998-11-11 05:37:39 +00:00
|
|
|
|
2000-04-21 02:36:52 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2000-02-04 07:45:35 +00:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
1999-07-24 02:26:33 +00:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_PERL5= yes
|
|
|
|
USE_GMAKE= yes
|
1999-08-22 19:46:45 +00:00
|
|
|
USE_NEWGCC= yes
|
2000-10-25 05:15:45 +00:00
|
|
|
USE_GTK= yes
|
|
|
|
GNU_CONFIGURE= yes
|
1999-07-24 02:26:33 +00:00
|
|
|
CONFIGURE_ARGS= \
|
2001-01-22 01:23:18 +00:00
|
|
|
--disable-cpp-exceptions \
|
1999-07-24 02:26:33 +00:00
|
|
|
--disable-cpp-rtti \
|
2000-01-06 03:52:17 +00:00
|
|
|
--disable-debug \
|
|
|
|
--disable-idltool \
|
1999-07-24 02:26:33 +00:00
|
|
|
--disable-md \
|
|
|
|
--disable-pedantic \
|
|
|
|
--disable-xterm-updates \
|
2001-06-13 09:15:59 +00:00
|
|
|
--enable-crypto \
|
1999-07-24 02:26:33 +00:00
|
|
|
--enable-double-buffer \
|
|
|
|
--enable-editor \
|
|
|
|
--enable-mailnews \
|
2000-02-04 07:45:35 +00:00
|
|
|
--enable-mathml \
|
2001-08-07 11:52:15 +00:00
|
|
|
--enable-optimize="${CFLAGS}" \
|
1999-07-24 02:26:33 +00:00
|
|
|
--enable-pics \
|
2001-01-22 01:23:18 +00:00
|
|
|
--enable-svg \
|
1999-07-24 02:26:33 +00:00
|
|
|
--enable-tests \
|
|
|
|
--enable-toolkit=gtk \
|
1999-11-11 20:16:22 +00:00
|
|
|
--enable-x11-shm \
|
2001-05-22 08:15:39 +00:00
|
|
|
--enable-chrome-format=jar \
|
1999-07-24 02:26:33 +00:00
|
|
|
--with-jpeg=${LOCALBASE} \
|
2001-01-22 01:23:18 +00:00
|
|
|
--with-png=${LOCALBASE} \
|
2001-05-22 08:15:39 +00:00
|
|
|
--with-mng=${LOCALBASE} \
|
2001-01-22 01:23:18 +00:00
|
|
|
--with-pthreads
|
2002-01-04 14:18:26 +00:00
|
|
|
.if !defined(WITHOUT_CHATZILLA)
|
|
|
|
CONFIGURE_ARGS+= --with-extensions=default,irc
|
|
|
|
.endif
|
2001-07-02 13:55:43 +00:00
|
|
|
CONFIGURE_ENV= BSD_PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
2001-12-26 10:21:22 +00:00
|
|
|
CFLAGS="" CXXFLAGS="" \
|
|
|
|
MOZ_INTERNAL_LIBART_LGPL=1
|
2001-08-07 11:52:15 +00:00
|
|
|
MAKE_ENV= LD_LIBRARY_PATH=${WRKSRC}/dist/bin \
|
2001-08-08 06:54:31 +00:00
|
|
|
CFLAGS="" CXXFLAGS="" \
|
2001-12-26 10:21:22 +00:00
|
|
|
MALLOC_OPTIONS=j \
|
|
|
|
MOZ_INTERNAL_LIBART_LGPL=1
|
|
|
|
ALL_TARGET= default
|
1998-03-15 15:13:57 +00:00
|
|
|
|
2000-02-04 07:45:35 +00:00
|
|
|
post-build:
|
|
|
|
@${SED} -e "s;@PREFIX@;${PREFIX};g" \
|
|
|
|
${FILESDIR}/mozilla.sh >${WRKSRC}/mozilla
|
2000-08-03 17:37:43 +00:00
|
|
|
@(cd ${WRKSRC}/dist/bin; \
|
2000-10-27 09:24:08 +00:00
|
|
|
${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; \
|
2000-10-25 05:15:45 +00:00
|
|
|
${ECHO} skin,install,select,classic/1.0 >> chrome/installed-chrome.txt; \
|
|
|
|
${ECHO} locale,install,select,en-US >> chrome/installed-chrome.txt; \
|
2000-10-27 09:24:08 +00:00
|
|
|
${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome)
|
2001-05-22 10:37:32 +00:00
|
|
|
@/usr/bin/find ${WRKSRC}/dist/bin -type d | /usr/bin/sort -r | \
|
2001-05-22 08:15:39 +00:00
|
|
|
/usr/bin/xargs ${RMDIR} 2> /dev/null || ${TRUE}
|
2000-02-04 07:45:35 +00:00
|
|
|
|
1997-04-09 15:12:15 +00:00
|
|
|
do-install:
|
1999-07-24 02:26:33 +00:00
|
|
|
${MKDIR} ${PREFIX}/lib/mozilla
|
1999-08-22 19:01:07 +00:00
|
|
|
${CHMOD} 755 ${PREFIX}/lib/mozilla
|
2001-05-22 08:15:39 +00:00
|
|
|
cd ${WRKSRC}/dist/bin && ${TAR} -chf - . | \
|
2000-01-29 08:51:39 +00:00
|
|
|
${TAR} -xf - -C ${PREFIX}/lib/mozilla
|
1999-07-24 02:26:33 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/mozilla ${PREFIX}/bin
|
1997-02-24 19:00:30 +00:00
|
|
|
|
1999-08-22 19:46:45 +00:00
|
|
|
.include <bsd.port.mk>
|