Build Seamonkey 2.49.5 on FreeBSD with port revision 4974992020年02月04日 11時20分11秒

As described in Disaster strikes - SeaMonkey removed from ports tree, seamonkey has been deleted from the ports tree. Since the removal, Seamoney 2.49.5 has been released as the last version of 2.49. Code structure of 2.49.5 hasn't been changed and can be build with little efforts.

Grab the 498499 revision of ports with SubVersion.

# svnlite co -r 497499 https://svn.FreeBSD.org/ports/head /usr/ports

Delete 4 patches from www/seamonkey.

       files/patch-addon-search
       files/patch-bug1338655
       files/patch-bug1435212
       files/patch-toolkit_mozapps_installer_packager_mk

Grab a library dependency fix from patch-mozilla_security_manager_ssl_moz.build on the NetBSD site or use one from below.

--- mozilla/security/manager/ssl/moz.build.orig	2019-05-06 17:30:52.000000000 +0000
+++ mozilla/security/manager/ssl/moz.build
@@ -184,10 +184,6 @@ for var in ('DLL_PREFIX', 'DLL_SUFFIX'):
 
 DEFINES['CERT_AddTempCertToPerm'] = '__CERT_AddTempCertToPerm'
 
-USE_LIBS += [
-    'crmf',
-]
-
 include('/ipc/chromium/chromium-config.mozbuild')
 
 if CONFIG['GNU_CXX']:
and same under the "file" directory.
       files/patch-mozilla_security_manager_ssl_moz.build

Update Makefile and distinfo for 2.49.5.

Index: Makefile
===================================================================
--- Makefile    (revision 497994)
+++ Makefile    (working copy)
@@ -2,7 +2,7 @@
 # $FreeBSD$

 PORTNAME=      seamonkey
-DISTVERSION=   2.49.4
+DISTVERSION=   2.49.5
 PORTREVISION=  25
 MOZILLA_VER=   52 # above + 3
 CATEGORIES?=   www mail news editors irc ipv6
Index: distinfo
===================================================================
--- distinfo    (revision 497994)
+++ distinfo    (working copy)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1531362029
-SHA256 (seamonkey-2.49.4.source.tar.xz) = c8a66774d0a3525698b559fa2c41397186f2d
e99c5733e35b8eafb0ae5ccc4ee
-SIZE (seamonkey-2.49.4.source.tar.xz) = 231795176
+TIMESTAMP = 1580455043
+SHA256 (seamonkey-2.49.5.source.tar.xz) = 07fd15d18e18010f0877b403ef539fdb5d2b8
db59921433a6841845fdd9f6822
+SIZE (seamonkey-2.49.5.source.tar.xz) = 231748204

FreeBSD 12.1-RELEASE can now build make build package. I haven't tested on other releases.