openbsd-ports/www/mozilla/Makefile

47 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 1998/12/16 20:17:34 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
.if !defined(NO_WARNINGS)
pre-fetch:
@${ECHO} ""
@${ECHO} "*** Please see ${FILESDIR}/README for general caveats"
@${ECHO} ""
.endif
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>