# $NetBSD: Makefile,v 1.63 2012/02/19 10:12:09 cheusov Exp $ # DISTNAME= seamonkey-${SM_VER}.source PKGNAME= seamonkey-${SM_VER} SM_VER= 2.5b4 PKGREVISION= 3 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_MOZILLA:=seamonkey/releases/${SM_VER}/source/} EXTRACT_SUFX= .tar.bz2 MAINTAINER= tnn@NetBSD.org HOMEPAGE= http://www.seamonkey-project.org/ COMMENT= Full-featured gecko-based browser PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR}/comm-beta MOZILLA_DIR= mozilla/ CONFIG_GUESS_OVERRIDE+= ldap/sdks/c-sdk/config/autoconf/config.guess CONFIG_SUB_OVERRIDE+= ldap/sdks/c-sdk/config/autoconf/config.sub CONFIGURE_ARGS+= --enable-application=suite ALL_ENV+= MOZILLA_PKG_NAME=seamonkey .include "../../mk/bsd.prefs.mk" .if (${OPSYS} == "Linux" || ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" || \ ${OPSYS} == "DragonFly") && \ (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") BUILD_DEPENDS+= yasm>=1.1.0:../../devel/yasm .endif pre-configure: cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} autoconf cd ${WRKSRC}/mozilla && ${SETENV} ${CONFIGURE_ENV} autoconf cd ${WRKSRC}/mozilla/js/src && ${SETENV} ${CONFIGURE_ENV} autoconf cd ${WRKSRC}/mozilla/nsprpub && ${SETENV} ${CONFIGURE_ENV} autoconf cd ${WRKSRC}/ldap/sdks/c-sdk && ${SETENV} ${CONFIGURE_ENV} autoconf do-build: # XXX for some reason it doesn't work unless -j is explicitly specified cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} -j${MAKE_JOBS:U1} .include "../../devel/xulrunner/mozilla-common.mk" .include "options.mk" .include "../../mk/bsd.pkg.mk"