1998-04-12 12:47:23 +00:00
|
|
|
# New ports collection makefile for: mozilla
|
1998-04-12 17:58:38 +00:00
|
|
|
# Version required: 1998-04-08
|
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-04-12 17:58:38 +00:00
|
|
|
# $Id: Makefile,v 1.18 1998/04/12 12:47:02 jseger Exp $
|
1997-02-24 19:00:30 +00:00
|
|
|
#
|
|
|
|
|
1998-04-12 17:58:38 +00:00
|
|
|
DISTNAME= unix_19980408
|
|
|
|
PKGNAME= mozilla-1998-04-08
|
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-04-12 12:47:23 +00:00
|
|
|
WRKSRC= ${WRKDIR}/ns
|
|
|
|
USE_GMAKE= yes
|
|
|
|
NO_INSTALL_MANPAGES=yes
|
|
|
|
DIST_SUBDIR= mozilla
|
|
|
|
MAKE_ENV= NO_SECURITY=1 MOZ_MEDIUM=1 MOZILLA_CLIENT=1 NO_MDUPDATE=1 \
|
|
|
|
LD_LIBRARY_PATH=${LOCALBASE}/lib
|
|
|
|
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/-.*//'`
|
|
|
|
OBJDIR= ${WRKSRC}/dist/${OSNAME}${OSVER}_DBG.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
|
|
|
|
@tar -cf - --dereference -C ${OBJDIR}/bin bsdecho mozilla-export \
|
|
|
|
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-12 12:47:23 +00:00
|
|
|
@strip ${PREFIX}/lib/mozilla/bin/mozilla-export
|
|
|
|
@chown -R bin.bin ${PREFIX}/lib/mozilla
|
1997-02-24 19:00:30 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|