summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-29 02:09:11 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-29 02:09:11 +0000
commit028575124c0a77ac3645380d0ba40acea937992d (patch)
tree0bab100c1eb7b33a073f2208f600b7b6c625a650 /media-libs/plotutils/plotutils-2.4.1-r3.ebuild
parentuse default-linux/s390/* (diff)
downloadgentoo-2-028575124c0a77ac3645380d0ba40acea937992d.tar.gz
gentoo-2-028575124c0a77ac3645380d0ba40acea937992d.tar.bz2
gentoo-2-028575124c0a77ac3645380d0ba40acea937992d.zip
ia64/s390 love
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-libs/plotutils/plotutils-2.4.1-r3.ebuild')
-rw-r--r--media-libs/plotutils/plotutils-2.4.1-r3.ebuild28
1 files changed, 10 insertions, 18 deletions
diff --git a/media-libs/plotutils/plotutils-2.4.1-r3.ebuild b/media-libs/plotutils/plotutils-2.4.1-r3.ebuild
index 9109fc9bd665..a85252c2fff5 100644
--- a/media-libs/plotutils/plotutils-2.4.1-r3.ebuild
+++ b/media-libs/plotutils/plotutils-2.4.1-r3.ebuild
@@ -1,10 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/plotutils/plotutils-2.4.1-r3.ebuild,v 1.10 2005/02/02 21:41:21 j4rg0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/plotutils/plotutils-2.4.1-r3.ebuild,v 1.11 2005/03/29 02:09:11 vapier Exp $
-IUSE="X"
-
-inherit libtool eutils
+inherit libtool eutils flag-o-matic
#The plotutils package contains extra X fonts. These fonts are not installed
#in the current ebuild. The commented out ebuild lines below are for future
@@ -14,23 +12,17 @@ inherit libtool eutils
#See Bug# 30 at http://bugs.gentoo.org/show_bug.cgi?id=30
DESCRIPTION="a powerful C/C++ function library for exporting 2-D vector graphics"
-SRC_URI="ftp://ftp.gnu.org/gnu/plotutils/${P}.tar.gz"
HOMEPAGE="http://www.gnu.org/software/plotutils/"
+SRC_URI="ftp://ftp.gnu.org/gnu/plotutils/${P}.tar.gz"
-SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="x86 ~ppc sparc alpha amd64 ~ia64 ppc64 ppc-macos"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ~ppc ppc64 ppc-macos s390 sparc x86"
+IUSE="X"
DEPEND="media-libs/libpng
X? ( virtual/x11 )"
-
-# Filter out k6 from the CFLAGS
-export CFLAGS="${CFLAGS/k6-3/i586}"
-export CFLAGS="${CFLAGS/k6-2/i586}"
-export CFLAGS="${CFLAGS/k6/i586}"
-export CXXFLAGS="${CFLAGS}"
-
src_unpack() {
unpack ${A}
cd ${S}
@@ -39,6 +31,7 @@ src_unpack() {
}
src_compile() {
+ replace-cpu-flags i586 k6 k6-2 k6-3
elibtoolize
#enable build of C++ version
@@ -57,11 +50,10 @@ src_compile() {
emake || die "Parallel Make Failed"
}
-src_install () {
- einstall \
- datadir=${D}/usr/share || die "Installation Failed"
+src_install() {
+ einstall datadir=${D}/usr/share || die "Installation Failed"
- dodoc AUTHORS COMPAT COPYING ChangeLog INSTALL* \
+ dodoc AUTHORS COMPAT ChangeLog INSTALL* \
KNOWN_BUGS NEWS ONEWS PROBLEMS README THANKS TODO
}