summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-01-01 17:55:10 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-01-01 17:55:10 +0000
commit83439e8749abf6a718fdce8772feb814651956b4 (patch)
treeb91d615782b083bff348399138122aa1d538841c /app-misc
parentTransfer Prefix keywords (diff)
downloadgentoo-2-83439e8749abf6a718fdce8772feb814651956b4.tar.gz
gentoo-2-83439e8749abf6a718fdce8772feb814651956b4.tar.bz2
gentoo-2-83439e8749abf6a718fdce8772feb814651956b4.zip
Fix quoting
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/astrolog/astrolog-5.40.ebuild21
1 files changed, 9 insertions, 12 deletions
diff --git a/app-misc/astrolog/astrolog-5.40.ebuild b/app-misc/astrolog/astrolog-5.40.ebuild
index eda3f966dd93..de2fef68171f 100644
--- a/app-misc/astrolog/astrolog-5.40.ebuild
+++ b/app-misc/astrolog/astrolog-5.40.ebuild
@@ -1,25 +1,23 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/astrolog/astrolog-5.40.ebuild,v 1.11 2007/07/22 10:06:45 omp Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/astrolog/astrolog-5.40.ebuild,v 1.12 2010/01/01 17:55:10 ssuominen Exp $
DESCRIPTION="A many featured astrology chart calculation program"
HOMEPAGE="http://www.astrolog.org/astrolog.htm"
SRC_URI="http://www.astrolog.org/ftp/ast54unx.shr"
+
LICENSE="astrolog"
SLOT="0"
-
-# works fine on x86 - runs probably on other architectures, too
KEYWORDS="x86 ppc64 ppc amd64"
-
IUSE="X"
DEPEND="X? ( x11-libs/libX11 )"
-S="${WORKDIR}"
+S=${WORKDIR}
src_unpack() {
- bash ${DISTDIR}/ast54unx.shr
- cd ${S}
+ bash "${DISTDIR}"/ast54unx.shr
+ cd "${S}"
# remove stripping of created binary and substituce CFLAGS
sed -i -e "s:strip:#strip:" -e "s:= -O:= ${CFLAGS}:" Makefile
@@ -45,11 +43,10 @@ src_compile() {
}
src_install() {
- dodir /usr/bin
- cp astrolog ${D}/usr/bin/
+ dobin astrolog || die
dodoc Helpfile.540 README.1ST README.540 Update.540
- dodir /usr/share/astrolog
- cp astrolog.dat ${D}/usr/share/astrolog/
+ insinto /usr/share/astrolog
+ doins astrolog.dat || die
}
pkg_postinst() {