diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-08-05 19:53:30 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-08-05 19:53:30 +0000 |
commit | 854b5eebc761bf5ad3bc99b744ad7b523def6d55 (patch) | |
tree | fffa1645c1350c17e8db2404d29f836b2c0233bb /www/firefox-devel | |
parent | 3765ddf2bb4b48a58c3642ae6ee6bc7366a1986c (diff) | |
download | ports-854b5eebc761bf5ad3bc99b744ad7b523def6d55.tar.gz ports-854b5eebc761bf5ad3bc99b744ad7b523def6d55.zip |
Notes
Diffstat (limited to 'www/firefox-devel')
-rw-r--r-- | www/firefox-devel/Makefile | 6 | ||||
-rw-r--r-- | www/firefox-devel/distinfo | 4 | ||||
-rw-r--r-- | www/firefox-devel/pkg-deinstall.in | 23 |
3 files changed, 29 insertions, 4 deletions
diff --git a/www/firefox-devel/Makefile b/www/firefox-devel/Makefile index 5eeeb7b36085..4cf8da901bc2 100644 --- a/www/firefox-devel/Makefile +++ b/www/firefox-devel/Makefile @@ -6,8 +6,7 @@ # PORTNAME= firefox -PORTVERSION= 0.9.1 -PORTREVISION= 1 +PORTVERSION= 0.9.3 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_MOZILLA} MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${PORTVERSION} @@ -42,6 +41,7 @@ USE_PERL5_BUILD=yes USE_X_PREFIX= yes WRKSRC= ${WRKDIR}/mozilla PKGINSTALL= ${WRKDIR}/pkg-install +PKGDEINSTALL= ${WRKDIR}/pkg-deinstall PKGCONFIG_FILES=mozilla-gtkmozembed mozilla-js mozilla-xpcom \ mozilla-nspr mozilla-nss mozilla-plugin @@ -171,6 +171,8 @@ pre-install: ${FAKEDIR}/lib/${PORTNAME}/lib/${PORTNAME}-${PORTVERSION}/extensions.port @${SED} -e 's|%%MOZDIR%%|${LOCAL_PREFIX}/lib/${PORTNAME}-${PORTVERSION}|g' \ < ${MASTERDIR}/pkg-install.in > ${PKGINSTALL} + @${SED} -e 's|%%MOZDIR%%|${LOCAL_PREFIX}/lib/${PORTNAME}-${PORTVERSION}|g' \ + < ${MASTERDIR}/pkg-deinstall.in > ${PKGDEINSTALL} .if !defined (WITH_HEADERS) @${RM} -fr ${FAKEDIR}/share/idl ${FAKEDIR}/include diff --git a/www/firefox-devel/distinfo b/www/firefox-devel/distinfo index dd967eb6a528..53764c79efd8 100644 --- a/www/firefox-devel/distinfo +++ b/www/firefox-devel/distinfo @@ -1,2 +1,2 @@ -MD5 (firefox-0.9.1-source.tar.bz2) = 3df6fe17a5d400c1fc154df3c7a8dbb4 -SIZE (firefox-0.9.1-source.tar.bz2) = 33960883 +MD5 (firefox-0.9.3-source.tar.bz2) = 641ebf96d2211b3c5527e88389b9687e +SIZE (firefox-0.9.3-source.tar.bz2) = 33945173 diff --git a/www/firefox-devel/pkg-deinstall.in b/www/firefox-devel/pkg-deinstall.in new file mode 100644 index 000000000000..3fe1644fc054 --- /dev/null +++ b/www/firefox-devel/pkg-deinstall.in @@ -0,0 +1,23 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# Date created: Mon Nov 29, 2003 +# Whom: Thierry Thomas (<thierry@pompo.net>) +# 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 -rf ${MOZDIR}/extensions + +exit 0 |