--- /tmp/apmd-3.0.2-r2.ebuild Sat Jul 6 04:00:39 2002 +++ apmd-3.0.2-r2.ebuild Sat Jul 6 03:57:12 2002 @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /home/cvsroot/gentoo-x86/sys-apps/apmd/apmd-3.0.2-r2.ebuild,v 1.1 2002/05/03 19:54:00 drobbins Exp $ +# /space/gentoo/cvsroot/gentoo-x86/sys-apps/apmd/apmd-3.0.2-r2.ebuild,v 1.1 2002/05/03 19:54:00 drobbins Exp DESCRIPTION="Advanced Power Management Daemon" HOMEPAGE="http://www.worldvisions.ca/~apenwarr/apmd/" @@ -16,15 +16,14 @@ cp Makefile Makefile.orig sed -e "s:\(PREFIX=\)\(/usr\):\1\$\{DESTDIR\}\2:" \ -e "s:\(APMD_PROXY_DIR\=\)\(/etc\):\1\$\{DESTDIR\}\2/apm:" \ - -e "97d" \ -e "s:\(MANDIR\=\${PREFIX}\)\(/man\):\1/share\2:" \ Makefile.orig > Makefile - if [ "`use X`" ] + if [ ! "`use X`" ] then cp Makefile Makefile.orig sed -e "/^EXES=/s/xapm//" \ - -e "/install.*xapm/d" \ + -e "/install.*xapm/d" \ Makefile.orig > Makefile fi