openbsd-ports/www/mozilla/Makefile

47 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.8 2000/03/24 22:12:03 espie Exp $
1998-08-22 14:38:50 -04:00
DISTNAME= mozilla-source-M14-no-crypto
1998-08-22 14:38:50 -04:00
CATEGORIES= www
2000-03-05 13:30:21 -05:00
NEED_VERSION= 1.223
1998-08-22 14:38:50 -04:00
HOME_PAGE= http://www.mozilla.org/
MAINTAINER= ports@openbsd.org
1998-08-22 14:38:50 -04:00
MASTER_SITES= ftp://ftp.mozilla.org/pub/mozilla/releases/m14/src/ \
ftp://sunsite.org.uk/Mirrors/ftp.mozilla.org/pub/mozilla/releases/m14 \
ftp://mirror.aarnet.edu.au/pub/mozilla/releases/m14/
1998-08-22 14:38:50 -04:00
#LIB_DEPENDS= Xm.1.:x11/lesstif
1998-08-22 14:38:50 -04:00
#USE_X11= Yes
2000-03-05 13:30:21 -05:00
USE_GMAKE= Yes
1998-08-22 14:38:50 -04:00
2000-02-10 19:37:15 -05:00
WRKDIST= ${WRKDIR}/mozilla
1998-08-22 14:38:50 -04:00
GNU_CONFIGURE= Yes
1998-08-22 14:38:50 -04:00
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}
1998-08-22 14:38:50 -04:00
#comment out for debugging
#MAKE_ENV+= BUILD_OPT=1
1998-08-22 14:38:50 -04:00
.if !defined(NO_WARNINGS)
1998-08-22 14:38:50 -04:00
pre-fetch:
@echo ""
@echo "*** Please see ${FILESDIR}/README for general caveats"
@echo ""
.endif
1998-08-22 14:38:50 -04:00
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 -p ${MOZ_LIBDIR}
1998-08-22 14:38:50 -04:00
${INSTALL_DATA} ${WRKSRC}/dist/${MOZ_OBJDIR}/bin/*.so* ${MOZ_LIBDIR}
${INSTALL_DATA} ${WRKSRC}/dist/${MOZ_OBJDIR}/lib/*.so* ${MOZ_LIBDIR}
.include <bsd.port.mk>