diff options
author | Michael Sterrett <msterret@gentoo.org> | 2003-09-04 07:35:29 +0000 |
---|---|---|
committer | Michael Sterrett <msterret@gentoo.org> | 2003-09-04 07:35:29 +0000 |
commit | 496a03dc8eb2820f05f16b191d6b81b3beb5c9db (patch) | |
tree | 8d9a8478e0e8711525ad88bd48347dd923e5b993 /x11-wm/windowmaker/windowmaker-0.80.2-r2.ebuild | |
parent | whitespace cleanup (diff) | |
download | gentoo-2-496a03dc8eb2820f05f16b191d6b81b3beb5c9db.tar.gz gentoo-2-496a03dc8eb2820f05f16b191d6b81b3beb5c9db.tar.bz2 gentoo-2-496a03dc8eb2820f05f16b191d6b81b3beb5c9db.zip |
whitespace cleanup
Diffstat (limited to 'x11-wm/windowmaker/windowmaker-0.80.2-r2.ebuild')
-rw-r--r-- | x11-wm/windowmaker/windowmaker-0.80.2-r2.ebuild | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/x11-wm/windowmaker/windowmaker-0.80.2-r2.ebuild b/x11-wm/windowmaker/windowmaker-0.80.2-r2.ebuild index bc1d31a7ed98..5cf0357a54ef 100644 --- a/x11-wm/windowmaker/windowmaker-0.80.2-r2.ebuild +++ b/x11-wm/windowmaker/windowmaker-0.80.2-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/windowmaker-0.80.2-r2.ebuild,v 1.3 2003/06/20 02:49:21 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/windowmaker-0.80.2-r2.ebuild,v 1.4 2003/09/04 07:35:27 msterret Exp $ IUSE="gif nls png kde oss jpeg gnome" @@ -14,7 +14,7 @@ HOMEPAGE="http://www.windowmaker.org/" DEPEND="virtual/x11 media-libs/hermes >=media-libs/tiff-3.5.5 - gif? ( >=media-libs/giflib-4.1.0-r3 + gif? ( >=media-libs/giflib-4.1.0-r3 >=media-libs/libungif-4.1.0 ) png? ( >=media-libs/libpng-1.2.1 ) jpeg? ( >=media-libs/jpeg-6b-r2 )" @@ -38,18 +38,18 @@ src_compile() { use gnome \ && myconf="${myconf} --enable-gnome" \ || myconf="${myconf} --disable-gnome" - + use kde \ && myconf="${myconf} --enable-kde" \ && export KDEDIR=/usr/kde/2 \ || myconf="${myconf} --disable-kde" - + if [ "$WITH_MODELOCK" ] ; then myconf="${myconf} --enable-modelock" else myconf="${myconf} --disable-modelock" fi - + use nls \ && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`" \ || myconf="${myconf} --disable-nls --disable-locale" @@ -59,10 +59,10 @@ src_compile() { use jpeg \ || myconf="${myconf} --disable-jpeg" - + use png \ || myconf="${myconf} --disable-png" - + use esd || use alsa || use oss \ && myconf="${myconf} --enable-sound" \ @@ -77,7 +77,7 @@ src_compile() { --with-appspath=/usr/lib/GNUstep/Apps \ --with-pixmapdir=/usr/share/pixmaps \ ${myconf} || die - + cd ${S}/po cp Makefile Makefile.orig sed 's:zh_TW.*::' \ @@ -90,22 +90,22 @@ src_compile() { cd ${S} for file in ${S}/WindowMaker/*menu*; do - if [ -r $file ]; then - sed -e 's/\/usr\/local\/GNUstep/\/usr\/lib\/GNUstep/g; - s/\/usr\/local\/share\/WindowMaker/\/usr\/share\/WindowMaker/g;' < $file > $file.tmp; - mv $file.tmp $file; - fi; + if [ -r $file ]; then + sed -e 's/\/usr\/local\/GNUstep/\/usr\/lib\/GNUstep/g; + s/\/usr\/local\/share\/WindowMaker/\/usr\/share\/WindowMaker/g;' < $file > $file.tmp; + mv $file.tmp $file; + fi; done; - + cd ${S} #0.80.1-r2 did not work with make -j4 (drobbins, 15 Jul 2002) #with future Portage, this should become "emake -j1" make || die - - # WindowMaker Extra + + # WindowMaker Extra cd ../WindowMaker-extra-0.1 econf || die - + make || die } @@ -125,7 +125,7 @@ src_install() { # WindowMaker Extra cd ../WindowMaker-extra-0.1 einstall || die - + newdoc README README.extra echo "#!/bin/bash" > wmaker |