--- /dev/null
+# ChangeLog for net-www/nvu
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/nvu/ChangeLog,v 1.1 2004/10/14 23:17:00 chriswhite Exp $
+
+*nvu-0.50 (14 Oct 2004)
+
+ 14 Oct 2004; Chris White <chriswhite@gentoo.org> +metadata.xml,
+ +files/.mozconfig, +files/nvu-0.50-prefix.patch, +files/nvu.desktop,
+ +nvu-0.50.ebuild:
+ Intial import to the tree. Thanks goes to the people of Bug #40821 for their
+ help. Package.masked as it is a testing version.
+
--- /dev/null
+export MOZILLA_OFFICIAL=1
+export BUILD_OFFICIAL=1
+
+export MOZ_STANDALONE_COMPOSER=1
+mk_add_options MOZ_STANDALONE_COMPOSER=1
+
+# if you want don't want to use gcc and g++ or want to use
+# a specific version of the compilers, specify it in the
+# two following lines and uncomment them
+#export CC="gcc-3.0"
+#export CXX="g++-3.0"
+
+# Uncomment the 3 following lines on Debian (this includes
+# Linspire)
+#export OS_LIBS="-lc -lpthread"
+#export CFLAGS="-DDEBIAN"
+#export CXXFLAGS="-DDEBIAN"
+
+# Uncomment the two following lines on Linspire
+#export LINSPIRE=1
+#mk_add_options LINSPIRE=1
+
+# Uncomment and edit this line if you want to build
+# outside of the source tree
+#mk_add_options MOZ_OBJDIR=/home/glazman/nvu-0.50
+
+# Uncomment the following lines for an optimized build
+ac_add_options --enable-optimize
+ac_add_options --disable-debug
+
+# You may need to uncomment and edit that line. On Linspire,
+# just uncomment it
+#ac_add_options --with-default-mozilla-five-home=/usr/lib/mozilla
+
+# You probably have nothing to change below that line
+ac_add_options --disable-svg
+ac_add_options --without-system-mng
+ac_add_options --without-system-png
+ac_add_options --disable-ldap
+ac_add_options --disable-mailnews
+ac_add_options --disable-installer
+ac_add_options --disable-activex
+ac_add_options --disable-activex-scripting
+ac_add_options --disable-tests
+ac_add_options --disable-oji
+ac_add_options --disable-necko-disk-cache
+ac_add_options --disable-profilesharing
+ac_add_options --enable-extensions=wallet,spellcheck,xmlextras,pref,universalchardet,editor/cascades,venkman,inspector
+ac_add_options --enable-image-decoders=png,gif,jpeg
+ac_add_options --enable-necko-protocols=http,ftp,file,jar,viewsource,res,data
+ac_add_options --disable-pedantic
+ac_add_options --disable-short-wchar
+ac_add_options --enable-xprint
+ac_add_options --enable-strip-libs
+ac_add_options --enable-crypto
+ac_add_options --disable-mathml
+ac_add_options --with-system-zlib
+ac_add_options --enable-freetype2
+ac_add_options --enable-toolkit=gtk2
+ac_add_options --enable-default-toolkit=gtk2
+ac_add_options --enable-xft
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/nvu/nvu-0.50.ebuild,v 1.1 2004/10/14 23:17:00 chriswhite Exp $
+
+inherit eutils mozilla flag-o-matic
+
+DESCRIPTION="A WYSIWG web editor for linux similiar to Dreamweaver"
+HOMEPAGE="http://www.nvu.com/"
+SRC_URI="http://cvs.nvu.com/download/${P}-sources.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~x86"
+IUSE="kde gnome"
+DEPEND="sys-apps/gawk
+ dev-lang/perl
+ app-doc/doxygen"
+
+S=${WORKDIR}/mozilla
+
+src_compile() {
+
+ # I had to manually edit the mozconfig.linux file as it
+ # has some quirks... just copy the darn thing over :) - Chris
+ cp ${FILESDIR}/.mozconfig ${S}
+
+ # It "sort of" has a standard configure system
+ # Here's how I fix the prefix issue. - Chris
+ epatch ${FILESDIR}/${P}-prefix.patch
+
+ # The build system is a weeee bit sensitive to naughty -O flags.
+ # filter them out and let the build system figure out what
+ # won't let it die :) - Chris
+ filter-flags '-O*'
+
+ make -f client.mk build_all
+}
+
+src_install() {
+ make -f client.mk DESTDIR=${D} install || die
+
+ #menu entry for gnome
+ if use gnome
+ then
+ insinto /usr/share/gnome/apps/Applications
+ doins ${FILESDIR}/nvu.desktop
+ fi
+
+ #menu entry for kde
+ if use kde
+ then
+ insinto /usr/share/applnk/Development
+ doins ${FILESDIR}/nvu.desktop
+ fi
+}