openbsd-ports/www/mozilla/Makefile

45 lines
1.3 KiB
Makefile
Raw Normal View History

1998-08-22 14:38:50 -04:00
# $OpenBSD: Makefile,v 1.1.1.1 1998/08/22 18:38:50 marc Exp $
#
# From: $NetBSD: Makefile,v 1.13 1998/08/04 13:09:21 fvdl Exp $
# but modified to use lesstif 0.86.0...
DISTNAME= mozilla-19980728
CATEGORIES= www
MAINTAINER= marc@OpenBSD.org
MASTER_SITES= ftp://ftp.mozilla.org/pub/mozilla/source/ \
ftp://sunsite.org.uk/Mirrors/ftp.mozilla.org/pub/mozilla/source/ \
ftp://mirror.aarnet.edu.au/pub/mozilla/mozilla/source/
LIB_DEPENDS= Xm\\.1\\.:${PORTSDIR}/x11/lesstif
USE_X11= yes
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/mozilla
RELEASE!= uname -r
MOZ_OBJDIR= ${OPSYS}${RELEASE}_OPT.OBJ
MOZ_LIBDIR= ${PREFIX}/lib/mozilla
MAKE_ENV+= NO_SECURITY=1 MOZ_MEDIUM=1 MOZILLA_CLIENT=1 NO_MDUPDATE=1
MAKE_ENV+= LIBRUNPATH=${MOZ_LIBDIR}
#comment out for debugging
MAKE_ENV+= BUILD_OPT=1
pre-fetch:
@${ECHO} ""
@${ECHO} "*** Please see ${FILESDIR}/README for general caveats"
@${ECHO} ""
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dist/${MOZ_OBJDIR}/bin/moz-export ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/dist/${MOZ_OBJDIR}/bin/mozilla-export ${PREFIX}/bin
${LN} -sf ${PREFIX}/bin/moz-export ${PREFIX}/bin/mozilla
${MKDIR} ${MOZ_LIBDIR}
${INSTALL_DATA} ${WRKSRC}/dist/${MOZ_OBJDIR}/bin/*.so* ${MOZ_LIBDIR}
${INSTALL_DATA} ${WRKSRC}/dist/${MOZ_OBJDIR}/lib/*.so* ${MOZ_LIBDIR}
.include <bsd.port.mk>