diff options
Diffstat (limited to 'www-apps/drraw/drraw-2.1.3.ebuild')
-rw-r--r-- | www-apps/drraw/drraw-2.1.3.ebuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/www-apps/drraw/drraw-2.1.3.ebuild b/www-apps/drraw/drraw-2.1.3.ebuild index 2332c4c94391..6a6db8e4310a 100644 --- a/www-apps/drraw/drraw-2.1.3.ebuild +++ b/www-apps/drraw/drraw-2.1.3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/drraw/drraw-2.1.3.ebuild,v 1.2 2006/02/13 15:15:43 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/drraw/drraw-2.1.3.ebuild,v 1.3 2007/01/03 00:40:55 rl03 Exp $ inherit webapp @@ -23,8 +23,7 @@ LICENSE="GPL-2" src_unpack() { unpack ${A} cd ${S} - sed -e "s|/usr/local/bin/perl|/usr/bin/perl| - s|/drraw.conf|/../drraw.conf|" -i drraw.cgi + sed -e "s|/usr/local/bin/perl|/usr/bin/perl|" -i drraw.cgi sed -e "s|/somewhere/drraw/saved|/tmp| s|/somewhere/drraw/tmp|/tmp|" -i drraw.conf } @@ -32,12 +31,12 @@ src_unpack() { src_install() { webapp_src_preinst dodoc CHANGES INSTALL README.EVENTS WISHLIST - cp drraw.cgi ${D}/${MY_CGIBINDIR} && chmod +x ${D}/${MY_CGIBINDIR}/drraw.cgi - cp drraw.conf ${D}/${MY_HOSTROOTDIR} + cp drraw.{cgi,conf} ${D}/${MY_CGIBINDIR} cp icons/* ${MY_ICONSDIR} - webapp_configfile ${MY_HOSTROOTDIR}/drraw.conf + webapp_configfile ${MY_CGIBINDIR}/drraw.conf webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt webapp_src_install + chmod +x ${D}/${MY_CGIBINDIR}/drraw.cgi } |