1998-04-12 12:47:23 +00:00
|
|
|
# New ports collection makefile for: mozilla
|
1998-05-02 17:49:10 +00:00
|
|
|
# Version required: 1998-04-29
|
1998-04-12 12:47:23 +00:00
|
|
|
# Date created: 31 Mar 1998
|
|
|
|
# Whom: eivind/dima/jseger
|
1997-02-24 19:00:30 +00:00
|
|
|
#
|
1998-10-15 01:16:23 +00:00
|
|
|
# $Id: Makefile,v 1.26 1998/07/22 11:50:31 asami Exp $
|
1997-02-24 19:00:30 +00:00
|
|
|
#
|
|
|
|
|
1998-05-02 17:49:10 +00:00
|
|
|
DISTNAME= unix-19980429
|
1998-07-22 11:50:31 +00:00
|
|
|
PKGNAME= mozilla-1998.04.29
|
1997-02-24 19:00:30 +00:00
|
|
|
CATEGORIES= www
|
1998-04-12 17:58:38 +00:00
|
|
|
MASTER_SITES= ftp://mirror.neosoft.com/pub/mozilla/mozilla/source/ \
|
|
|
|
ftp://ftp.bitcon.no/pub/www/mozilla/mozilla/source/ \
|
|
|
|
ftp://ftp.mozilla.org/pub/mozilla/source/
|
1997-11-15 01:11:00 +00:00
|
|
|
|
1998-04-12 12:47:23 +00:00
|
|
|
MAINTAINER= jseger@FreeBSD.org
|
1997-11-15 01:11:00 +00:00
|
|
|
|
1998-10-15 01:16:23 +00:00
|
|
|
BROKEN_ELF= library numbers
|
|
|
|
|
1998-05-02 17:49:10 +00:00
|
|
|
WRKSRC= ${WRKDIR}/`${ECHO} ${DISTNAME} | ${SED} 's/unix-//'`/mozilla
|
1998-04-12 12:47:23 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
DIST_SUBDIR= mozilla
|
|
|
|
MAKE_ENV= NO_SECURITY=1 MOZ_MEDIUM=1 MOZILLA_CLIENT=1 NO_MDUPDATE=1 \
|
1998-04-17 10:36:45 +00:00
|
|
|
BUILD_OPT=1 NO_NETSCAPE_STATIC=1 LD_LIBRARY_PATH=${LOCALBASE}/lib
|
1998-04-12 12:47:23 +00:00
|
|
|
REQUIRES_MOTIF= yes
|
1997-04-09 15:12:15 +00:00
|
|
|
|
1998-04-12 12:47:23 +00:00
|
|
|
OSNAME= `uname -s`
|
|
|
|
OSVER= `uname -r | ${SED} 's/-.*//'`
|
1998-04-17 10:36:45 +00:00
|
|
|
OBJDIR= ${WRKSRC}/dist/${OSNAME}${OSVER}_OPT.OBJ
|
1998-03-15 15:13:57 +00:00
|
|
|
|
1997-04-09 15:12:15 +00:00
|
|
|
do-install:
|
1998-04-12 12:47:23 +00:00
|
|
|
@${MKDIR} ${PREFIX}/lib/mozilla/bin
|
1998-04-13 10:59:35 +00:00
|
|
|
@cd ${OBJDIR}/bin && tar -chf - bsdecho lib* moz-export \
|
1998-04-12 12:47:23 +00:00
|
|
|
nsinstall vreg | tar -xf - -C ${PREFIX}/lib/mozilla/bin
|
|
|
|
@chmod 755 ${PREFIX}/lib/mozilla/bin
|
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/mozilla ${PREFIX}/bin
|
|
|
|
@if [ ! -f ${PREFIX}/lib/mozilla/mailcap ] ; then \
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/mailcap ${PREFIX}/lib/mozilla ; \
|
1997-04-09 15:12:15 +00:00
|
|
|
fi
|
1998-04-13 10:59:35 +00:00
|
|
|
@strip ${PREFIX}/lib/mozilla/bin/moz-export
|
1998-04-12 12:47:23 +00:00
|
|
|
@chown -R bin.bin ${PREFIX}/lib/mozilla
|
1997-02-24 19:00:30 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|