diff options
Diffstat (limited to 'www/seamonkey/Makefile')
-rw-r--r-- | www/seamonkey/Makefile | 48 |
1 files changed, 29 insertions, 19 deletions
diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile index 5d2d07d4304..1a9dbc44471 100644 --- a/www/seamonkey/Makefile +++ b/www/seamonkey/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.228 2021/02/07 06:30:40 ryoon Exp $ +# $NetBSD: Makefile,v 1.229 2021/02/08 12:26:20 ryoon Exp $ DISTNAME= seamonkey-${SM_VER}.source PKGNAME= seamonkey-${SM_VER:S/b/beta/} -PKGREVISION= 3 -SM_VER= 2.53.4 +SM_VER= 2.53.6 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_MOZILLA:=seamonkey/releases/${SM_VER}/source/} EXTRACT_SUFX= .tar.xz @@ -14,7 +13,7 @@ COMMENT= All-in-one Internet application suite LICENSE= mpl-2.0 WRKSRC= ${WRKDIR}/${DISTNAME:S/.source//} -MOZILLA_DIR= mozilla/ +MOZILLA_DIR= PLIST_SRC+= ${PLIST_SRC_DFLT} USE_LANGUAGES+= c c++ USE_TOOLS+= unzip pax @@ -36,17 +35,17 @@ CFLAGS+= -I${BUILDLINK_PREFIX.pixman}/include/pixman-1 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 +CONFIGURE_ARGS+= --enable-application=comm/suite +CONFIGURE_ARGS+= --enable-extensions=default,irc ALL_ENV+= MOZILLA_PKG_NAME=${PKGBASE} +#ALL_ENV+= MOZ_APP_NAME=${PKGBASE} LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/${PKGBASE} -.include "../../mk/bsd.prefs.mk" - -CHECK_PORTABILITY_SKIP+= mozilla/js/src/tests/update-test262.sh -CHECK_PORTABILITY_SKIP+= mozilla/modules/pdfium/update.sh -CHECK_PORTABILITY_SKIP+= mozilla/security/nss/tests/libpkix/libpkix.sh +CHECK_PORTABILITY_SKIP+= js/src/tests/update-test262.sh +CHECK_PORTABILITY_SKIP+= modules/pdfium/update.sh +CHECK_PORTABILITY_SKIP+= security/nss/tests/libpkix/libpkix.sh CHECK_INTERPRETER_SKIP+= lib/seamonkey-sdk/sdk/bin/header.py CHECK_INTERPRETER_SKIP+= lib/seamonkey-sdk/sdk/bin/typelib.py @@ -56,7 +55,7 @@ CHECK_INTERPRETER_SKIP+= lib/seamonkey-sdk/sdk/bin/xpt.py CHECK_WRKREF_SKIP= lib/seamonkey/chrome/toolkit/content/global/buildconfig.html CHECK_WRKREF_SKIP+= lib/seamonkey/chrome/comm/content/communicator/buildconfig.html -CKSUM_CRATES+= mozilla/third_party/rust/libc +CKSUM_CRATES+= third_party/rust/libc # patch-mozilla_third__party_rust_libc_src_unix_bsd_netbsdlike_netbsd_other_mod.rs CKSUMS+= 4d9f7091af8e166943ac6f42ce85558909e5b6e61325039bff7adfbcf4b90212 @@ -76,19 +75,30 @@ INSTALLATION_DIRS+= share/applications INSTALLATION_DIRS+= share/icons/hicolor/32x32/apps post-extract: - ${CP} ${FILESDIR}/cubeb_sun.c ${WRKSRC}/mozilla/media/libcubeb/src + ${CP} ${FILESDIR}/cubeb_sun.c ${WRKSRC}/${MOZILLA_DIR}/media/libcubeb/src pre-configure: cd ${WRKSRC} && mkdir ${OBJDIR} 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_DIR} && ${SETENV} ${CONFIGURE_ENV} autoconf +# cd ${WRKSRC}/${MOZILLA_DIR}/js/src && ${SETENV} ${CONFIGURE_ENV} autoconf ${SED} -e 's/@MOZ_APP_DISPLAYNAME@/SeaMonkey/g' \ -e 's/@MOZ_APP_NAME@/seamonkey/g' \ - ${WRKSRC}/mozilla/toolkit/mozapps/installer/linux/rpm/mozilla.desktop > \ + ${WRKSRC}/${MOZILLA_DIR}/toolkit/mozapps/installer/linux/rpm/mozilla.desktop > \ ${WRKDIR}/seamonkey.desktop -# If there is no .mozconfig, codegen.pp target fails. -# touch ${WRKSRC}/.mozconfig +## If there is no .mozconfig, codegen.pp target fails. +## touch ${WRKSRC}/.mozconfig + +# XXX: For PREFIX +#.include "../../mk/bsd.pkg.use.mk" +#do-configure: +# echo mk_add_options MOZ_OBJDIR="${OBJDIR}" > ${WRKSRC}/comm/.mozconfig +#.for i in ${CONFIGURE_ARGS} +# echo ac_add_options $i >> ${WRKSRC}/comm/.mozconfig +#.endfor + +#do-build: +# env ${MAKE_ENV} ${WRKSRC}/mach build post-install: ${ECHO} '#! /bin/sh' > ${DESTDIR}${PREFIX}/bin/seamonkey @@ -109,11 +119,11 @@ post-install: rm -rf ${WRKDIR}/${OBJDIR}/extensions ${INSTALL_DATA} ${WRKDIR}/seamonkey.desktop \ ${DESTDIR}${PREFIX}/share/applications/seamonkey.desktop - ${INSTALL_DATA} ${WRKSRC}/suite/branding/seamonkey/default.png \ + ${INSTALL_DATA} ${WRKSRC}/comm/suite/branding/seamonkey/default.png \ ${DESTDIR}${PREFIX}/share/icons/hicolor/32x32/apps/seamonkey.png .for s in 16 48 64 128 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps - ${INSTALL_DATA} ${WRKSRC}/suite/branding/seamonkey/default${s}.png \ + ${INSTALL_DATA} ${WRKSRC}/comm/suite/branding/seamonkey/default${s}.png \ ${DESTDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps/seamonkey.png .endfor |