aboutsummaryrefslogtreecommitdiffstats
path: root/www/nvu
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2006-04-17 00:06:55 +0800
committerahze <ahze@FreeBSD.org>2006-04-17 00:06:55 +0800
commitca0dcede83373dc2349c71a2a471fdbd65403454 (patch)
tree2352ba3d3882112f980b1240c9308b87a3cc0346 /www/nvu
parenta4f36e7d7ea68e4be8b0da3d70c2ec68bf8c5c3d (diff)
downloadfreebsd-ports-graphics-ca0dcede83373dc2349c71a2a471fdbd65403454.tar.gz
freebsd-ports-graphics-ca0dcede83373dc2349c71a2a471fdbd65403454.tar.zst
freebsd-ports-graphics-ca0dcede83373dc2349c71a2a471fdbd65403454.zip
- Convert nvu to generic pkg-[de]install script
Diffstat (limited to 'www/nvu')
-rw-r--r--www/nvu/pkg-deinstall.in26
-rw-r--r--www/nvu/pkg-install.in33
2 files changed, 0 insertions, 59 deletions
diff --git a/www/nvu/pkg-deinstall.in b/www/nvu/pkg-deinstall.in
deleted file mode 100644
index 513886b85f7..00000000000
--- a/www/nvu/pkg-deinstall.in
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-# $MCom: ports/www/nvu/pkg-deinstall.in,v 1.1 2005/11/14 04:12:09 ahze Exp $
-#
-# 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
-
-NVUDIR=%%MOZDIR%%
-
-rm -rf ${NVUDIR}/chrome/overlayinfo
-rm -f ${NVUDIR}/chrome/*.rdf
-rm -f ${NVUDIR}/component.reg
-rm -f ${NVUDIR}/components.ini
-rm -f ${NVUDIR}/defaults.ini
-rm -f ${NVUDIR}/components/*.dat
-rm -rf ${NVUDIR}/extensions
-
-exit 0
diff --git a/www/nvu/pkg-install.in b/www/nvu/pkg-install.in
deleted file mode 100644
index c3c37df29ca..00000000000
--- a/www/nvu/pkg-install.in
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-# $MCom: ports/www/nvu/pkg-install.in,v 1.1 2005/11/14 04:12:09 ahze Exp $
-#
-# Date created: Mon Nov 29, 2003
-# Whom: Thierry Thomas (<thierry@pompo.net>)
-# Fix the chrome registry.
-
-umask 022
-PATH=/bin:/usr/bin:/usr/local/bin
-
-[ "x$1" = "x" ] && exit 1
-[ "x$2" != "xPOST-INSTALL" ] && exit 0
-
-NVUDIR=%%MOZDIR%%
-REGXPCOM=${NVUDIR}/regxpcom
-REGCHROME=${NVUDIR}/regchrome
-NVUBIN=${NVUDIR}/nvu-bin
-
-echo "===> Building Chrome's registry..."
-rm -rf ${NVUDIR}/chrome/overlayinfo
-rm -f ${NVUDIR}/chrome/*.rdf
-mkdir -p ${NVUDIR}/chrome/overlayinfo
-rm -f ${NVUDIR}/component.reg
-rm -rf ${NVUDIR}/extensions
-
-cd ${NVUDIR} || exit 1
-./run-mozilla.sh ${REGXPCOM} || true
-./run-mozilla.sh ${REGCHROME} || true
-./run-mozilla.sh ${NVUBIN} -register > /dev/null 2>&1
-
-exit 0