freebsd-ports/www/mozilla/Makefile

42 lines
1.3 KiB
Makefile
Raw Normal View History

1998-04-12 08:47:23 -04:00
# New ports collection makefile for: mozilla
# Version required: 1998-04-29
1998-04-12 08:47:23 -04:00
# Date created: 31 Mar 1998
# Whom: eivind/dima/jseger
1997-02-24 14:00:30 -05:00
#
# $Id: Makefile,v 1.24 1998/04/17 21:52:17 asami Exp $
1997-02-24 14:00:30 -05:00
#
DISTNAME= unix-19980429
PKGNAME= mozilla-1998-04-29
1997-02-24 14:00:30 -05:00
CATEGORIES= www
1998-04-12 13:58:38 -04: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/
1998-04-12 08:47:23 -04:00
MAINTAINER= jseger@FreeBSD.org
WRKSRC= ${WRKDIR}/`${ECHO} ${DISTNAME} | ${SED} 's/unix-//'`/mozilla
1998-04-12 08:47:23 -04:00
USE_GMAKE= yes
DIST_SUBDIR= mozilla
MAKE_ENV= NO_SECURITY=1 MOZ_MEDIUM=1 MOZILLA_CLIENT=1 NO_MDUPDATE=1 \
BUILD_OPT=1 NO_NETSCAPE_STATIC=1 LD_LIBRARY_PATH=${LOCALBASE}/lib
1998-04-12 08:47:23 -04:00
REQUIRES_MOTIF= yes
1998-04-12 08:47:23 -04:00
OSNAME= `uname -s`
OSVER= `uname -r | ${SED} 's/-.*//'`
OBJDIR= ${WRKSRC}/dist/${OSNAME}${OSVER}_OPT.OBJ
do-install:
1998-04-12 08:47:23 -04:00
@${MKDIR} ${PREFIX}/lib/mozilla/bin
@cd ${OBJDIR}/bin && tar -chf - bsdecho lib* moz-export \
1998-04-12 08:47:23 -04: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 ; \
fi
@strip ${PREFIX}/lib/mozilla/bin/moz-export
1998-04-12 08:47:23 -04:00
@chown -R bin.bin ${PREFIX}/lib/mozilla
1997-02-24 14:00:30 -05:00
.include <bsd.port.mk>