aboutsummaryrefslogtreecommitdiff
path: root/www/linux-seamonkey
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2013-09-18 22:40:57 +0000
committerFlorian Smeets <flo@FreeBSD.org>2013-09-18 22:40:57 +0000
commitec4fcd4b2ae992fc8b3cedac4e53df84bbdf643d (patch)
tree424e8968903e2637d7f62a6c7e33ecfdbabacec0 /www/linux-seamonkey
parentd01b11f6fc0a1cbcbef50bc975daad971580fe24 (diff)
downloadports-ec4fcd4b2ae992fc8b3cedac4e53df84bbdf643d.tar.gz
ports-ec4fcd4b2ae992fc8b3cedac4e53df84bbdf643d.zip
Notes
Diffstat (limited to 'www/linux-seamonkey')
-rw-r--r--www/linux-seamonkey/Makefile4
-rw-r--r--www/linux-seamonkey/Makefile.common36
-rw-r--r--www/linux-seamonkey/distinfo4
3 files changed, 30 insertions, 14 deletions
diff --git a/www/linux-seamonkey/Makefile b/www/linux-seamonkey/Makefile
index 3bb2a0bcc02b..12691a0365f7 100644
--- a/www/linux-seamonkey/Makefile
+++ b/www/linux-seamonkey/Makefile
@@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= seamonkey
-PORTVERSION= 2.20
+DISTVERSION= 2.21
CATEGORIES= www
-MASTER_SITES= MOZILLA/${PORTNAME}/releases/${PORTVERSION}/linux-i686/en-US
+MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/linux-i686/en-US
MAINTAINER= gecko@FreeBSD.org
COMMENT= The open source, standards compliant web browser
diff --git a/www/linux-seamonkey/Makefile.common b/www/linux-seamonkey/Makefile.common
index 82f389b301a9..f08e8262ee12 100644
--- a/www/linux-seamonkey/Makefile.common
+++ b/www/linux-seamonkey/Makefile.common
@@ -1,14 +1,14 @@
-# New ports collection makefile for: mozilla linux binary ports
-# Date created: 1 May 2006
-# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
-#
+# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
-#
CATEGORIES+= linux
MASTER_SITES?= MOZILLA/${PORTNAME}/releases/${PORTVERSION}esr/linux-i686/en-US
PKGNAMEPREFIX?= linux-
+.if defined(REPLACE_GRE)
+EXTRACT_DEPENDS+=${NONEXISTENT}:${.CURDIR}/../../www/linux-seamonkey:extract
+.endif
+
NO_BUILD= yes
ONLY_FOR_ARCHS= i386 amd64
APP_NAME= ${PKGBASE}
@@ -38,18 +38,34 @@ post-extract:
@${MKDIR} ${WRKSRC}/${APP_SUBDIR}extensions
.endif
-.if ${CATEGORIES:Mwww}
+.if defined(REPLACE_GRE)
+# XXX remove after linux_base-c6 and linux-c6-gtk2 become default
+# using seamonkey gre for linux_base-f10 compat
+post-extract: replace-gre
+replace-gre: version-compat-check
+ @${ECHO_MSG} "===> GRE versions are compatible, replacing with" \
+ "$$(${MAKE} -V PKGNAME -C ${.CURDIR}/../../www/linux-seamonkey)"
+ cd $$(${MAKE} -V WRKSRC -C ${.CURDIR}/../../www/linux-seamonkey); \
+ ${CP} lib* dependentlibs.list ${WRKSRC}
+
+version-compat-check:
+ @${ECHO_MSG} "===> Checking GRE version is compatible with" \
+ "$$(${MAKE} -V PKGNAME -C ${.CURDIR}/../../www/linux-seamonkey)"
+ @ff_gre_version=$$(${AWK} -F= '/Milestone/ { print $$2 }' ${WRKSRC}/platform.ini); \
+ sm_gre_version=$$(${AWK} -F= '/Milestone/ { print $$2 }' $$(${MAKE} -V WRKSRC -C ${.CURDIR}/../../www/linux-seamonkey)/platform.ini); \
+ if [ $$ff_gre_version != $$sm_gre_version ]; then \
+ ${ECHO_MSG} "===> GRE versions aren't compatible, aborting"; \
+ exit 1; \
+ fi
+.endif
+
.if !target(post-patch)
post-patch:
@${MKDIR} ${PREFS_FILE:H}
- # no AFMT_FLOAT support in kernel (bug 780531)
- ${ECHO} 'pref("media.use_cubeb", false);' >> ${PREFS_FILE}
-
# out-of-process plugins don't work with linuxulator (ports/170402)
${ECHO} 'pref("dom.ipc.plugins.enabled", false);' >> ${PREFS_FILE}
.endif
-.endif
.if !target(do-install)
do-install:
diff --git a/www/linux-seamonkey/distinfo b/www/linux-seamonkey/distinfo
index 50d33cd40823..a786f2181101 100644
--- a/www/linux-seamonkey/distinfo
+++ b/www/linux-seamonkey/distinfo
@@ -1,2 +1,2 @@
-SHA256 (seamonkey-2.20.tar.bz2) = d2ac37fbb15f1d2a4297fc12c9db2116e64f6318c3a3b63c6e05dbffdec835e7
-SIZE (seamonkey-2.20.tar.bz2) = 27791845
+SHA256 (seamonkey-2.21.tar.bz2) = ff6f361e1db0add6d4c38e5594a8b99c31f11992ae56dc2981329f66439161e2
+SIZE (seamonkey-2.21.tar.bz2) = 29490026