Author: beat
Date: Fri May 27 09:49:16 2011
New Revision: 550

Log:
- Add missing infrastructure files
- Clean up Makefile

Approved by:    decke

Added:
   branches/experimental/www/seamonkey/files/mozconfig-generic.in
   branches/experimental/www/seamonkey/pkg-deinstall.in
   branches/experimental/www/seamonkey/pkg-install.in
Modified:
   branches/experimental/www/seamonkey/Makefile

Modified: branches/experimental/www/seamonkey/Makefile
==============================================================================
--- branches/experimental/www/seamonkey/Makefile        Fri May 13 18:44:34 
2011        (r549)
+++ branches/experimental/www/seamonkey/Makefile        Fri May 27 09:49:16 
2011        (r550)
@@ -2,7 +2,7 @@
 # Date created:                31 Mar 1998
 # Whom:                        eivind/dima/jseger
 #
-# $FreeBSD: ports/www/seamonkey2/Makefile,v 1.303 2010/02/18 10:27:19 beat Exp 
$
+# $FreeBSD: ports/www/seamonkey/Makefile,v 1.299 2011/03/17 00:11:52 beat Exp $
 #
 
 PORTNAME=      seamonkey
@@ -16,8 +16,7 @@
 COMMENT=       The open source, standards compliant web browser
 
 CONFLICTS_BUILD=       spidermonkey-1.[0-7]*
-CONFLICTS_INSTALL=     seamonkey-1* seamonkey-2.0*
-LATEST_LINK=   seamonkey2-devel
+CONFLICTS_INSTALL=     seamonkey-2.0*
 USE_BZIP2=     yes
 USE_GMAKE=     yes
 USE_GECKO=     gecko

Added: branches/experimental/www/seamonkey/files/mozconfig-generic.in
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ branches/experimental/www/seamonkey/files/mozconfig-generic.in      Fri May 
27 09:49:16 2011        (r550)
@@ -0,0 +1,8 @@
+ac_add_options --prefix=@FAKEDIR@
+export CPPFLAGS="@CPPFLAGS@"
+export CFLAGS="@CFLAGS@"
+export LIBS="@LIBS@"
+export LDFLAGS="@LDFLAGS@"
+export CONFIG_SH=/bin/sh
+export XP_UNIX=1
+export PERL="@PERL@"

Added: branches/experimental/www/seamonkey/pkg-deinstall.in
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ branches/experimental/www/seamonkey/pkg-deinstall.in        Fri May 27 
09:49:16 2011        (r550)
@@ -0,0 +1,28 @@
+#!/bin/sh
+#
+#    $MCom: ports/www/mozilla/pkg-deinstall.in,v 1.25 2008/07/26 19:07:07 ahze 
Exp $
+#
+# Date created:                        Mon Nov 29, 2003
+# Whom:                                Thierry Thomas (<[email protected]>)
+# Fix the chrome registry.
+
+umask 022
+PATH=/bin:/usr/bin
+
+[ "x$1" = "x" ] && exit 1
+[ "x$2" != "xDEINSTALL" ] && exit 0
+
+MOZDIR=%%MOZDIR%%
+
+rm -rf ${MOZDIR}/chrome/overlayinfo
+rm -f ${MOZDIR}/chrome/*.rdf
+rm -f ${MOZDIR}/component.reg
+rm -f ${MOZDIR}/components/*.dat
+rm -f ${MOZDIR}/components.ini
+rm -f ${MOZDIR}/defaults.ini
+rm -f ${MOZDIR}/chrome/app-chrome.manifest
+rm -rf ${MOZDIR}/updates
+find %%MOZDIR%%/plugins/ -depth 1 -type l -delete > /dev/null 2>&1
+find %%MOZDIR%%/extensions/ -depth 1 -type l -delete > /dev/null 2>&1
+
+exit 0

Added: branches/experimental/www/seamonkey/pkg-install.in
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ branches/experimental/www/seamonkey/pkg-install.in  Fri May 27 09:49:16 
2011        (r550)
@@ -0,0 +1,38 @@
+#!/bin/sh
+#
+#    $MCom: ports/www/mozilla/pkg-install.in,v 1.26 2008/08/04 16:58:03 mezz 
Exp $
+#
+# Date created:                        Mon Nov 29, 2003
+# Whom:                                Thierry Thomas (<[email protected]>)
+# Fix the chrome registry.
+
+umask 022
+PATH=/bin:/usr/bin
+
+[ "x$1" = "x" ] && exit 1
+[ "x$2" != "xPOST-INSTALL" ] && exit 0
+
+MOZDIR=%%MOZDIR%%
+MOZBIN=${MOZDIR}/%%MOZILLA_BIN%%
+REGXPCOM=${MOZDIR}/regxpcom
+REGCHROME=${MOZDIR}/regchrome
+
+echo "===> Building Chrome's registry..."
+rm -rf ${MOZDIR}/chrome/overlayinfo
+rm -f ${MOZDIR}/chrome/*.rdf
+mkdir -p ${MOZDIR}/chrome/overlayinfo
+rm -f ${MOZDIR}/component.reg
+
+cd ${MOZDIR} || exit 1
+if [ -f ${REGXPCOM} ]; then
+       ./run-mozilla.sh ${REGXPCOM} || true
+fi
+if [ -f ${REGCHROME} ]; then
+       ./run-mozilla.sh ${REGCHROME} || true
+fi
+if [ -f ${MOZBIN} -a "${1%-*}" = "nvu" ]; then
+       ./run-mozilla.sh ${MOZBIN} -register > /dev/null 2>&1
+fi
+cp -R %%LOCALBASE%%/lib/xpi/symlinks/%%MOZILLA%%/ %%MOZDIR%%/extensions/ > 
/dev/null 2>&1
+
+exit 0
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "[email protected]"

Reply via email to