2000-03-24 17:11:32 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2000/03/24 22:12:03 espie Exp $
|
1998-08-22 14:38:50 -04:00
|
|
|
|
2000-03-24 17:11:32 -05: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
|
|
|
|
2000-03-24 17:11:32 -05:00
|
|
|
HOME_PAGE= http://www.mozilla.org/
|
2000-03-01 05:08:03 -05:00
|
|
|
MAINTAINER= ports@openbsd.org
|
1998-08-22 14:38:50 -04:00
|
|
|
|
2000-03-24 17:11:32 -05: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
|
|
|
|
2000-03-24 17:11:32 -05:00
|
|
|
#LIB_DEPENDS= Xm.1.:x11/lesstif
|
1998-08-22 14:38:50 -04:00
|
|
|
|
2000-03-24 17:11:32 -05: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
|
|
|
|
2000-03-24 17:11:32 -05: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
|
|
|
|
|
2000-03-24 17:11:32 -05:00
|
|
|
#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
|
2000-03-24 17:11:32 -05:00
|
|
|
#MAKE_ENV+= BUILD_OPT=1
|
1998-08-22 14:38:50 -04:00
|
|
|
|
1998-12-16 15:08:42 -05:00
|
|
|
.if !defined(NO_WARNINGS)
|
1998-08-22 14:38:50 -04:00
|
|
|
pre-fetch:
|
2000-02-10 20:09:59 -05:00
|
|
|
@echo ""
|
|
|
|
@echo "*** Please see ${FILESDIR}/README for general caveats"
|
|
|
|
@echo ""
|
1998-12-16 15:08:42 -05:00
|
|
|
.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
|
2000-02-10 20:09:59 -05:00
|
|
|
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>
|