summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2011-02-21 16:21:26 +0000
committerFabian Groffen <grobian@gentoo.org>2011-02-21 16:21:26 +0000
commit1edab61365324b386c79b9bac97b6e3d4400af05 (patch)
treea9f416ebf63f81f06ae56d44cb0889d0c43fb843 /app-text/silvercity/silvercity-0.9.7.ebuild
parentRemoved old unstable versions (diff)
downloadgentoo-2-1edab61365324b386c79b9bac97b6e3d4400af05.tar.gz
gentoo-2-1edab61365324b386c79b9bac97b6e3d4400af05.tar.bz2
gentoo-2-1edab61365324b386c79b9bac97b6e3d4400af05.zip
Transferred Prefix keywords, cleaned up ebuild
(Portage version: 2.2.01.17901-prefix/cvs/Darwin powerpc)
Diffstat (limited to 'app-text/silvercity/silvercity-0.9.7.ebuild')
-rw-r--r--app-text/silvercity/silvercity-0.9.7.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/app-text/silvercity/silvercity-0.9.7.ebuild b/app-text/silvercity/silvercity-0.9.7.ebuild
index 30545d19718f..6a4888035e35 100644
--- a/app-text/silvercity/silvercity-0.9.7.ebuild
+++ b/app-text/silvercity/silvercity-0.9.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/silvercity/silvercity-0.9.7.ebuild,v 1.10 2011/02/21 16:07:30 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/silvercity/silvercity-0.9.7.ebuild,v 1.11 2011/02/21 16:21:26 grobian Exp $
EAPI="3"
PYTHON_DEPEND="2"
@@ -18,7 +18,7 @@ SRC_URI="mirror://sourceforge/silvercity/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha amd64 ~ia64 ppc ~ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~ia64 ppc ~ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE=""
DEPEND=""
@@ -34,11 +34,12 @@ src_prepare() {
distutils_src_prepare
# Fix line endings.
- find -type f -exec sed -e 's/\r$//' -i \{\} \; || die "sed failed"
+ find . -type f -exec sed -e 's/\r$//' -i \{\} \; || die "sed failed"
# Fix permissions.
chmod -x CSS/default.css || die "chmod failed"
# Fix shebang.
- sed -e 's:#!/usr/home/sweetapp/bin/python:#!/usr/bin/env python:' -i PySilverCity/Scripts/cgi-styler-form.py || die "sed failed"
+ sed -e 's:#!/usr/home/sweetapp/bin/python:#!/usr/bin/env python:' \
+ -i PySilverCity/Scripts/cgi-styler-form.py || die "sed failed"
}