summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Short <zul@gentoo.org>2003-09-22 22:31:49 +0000
committerChuck Short <zul@gentoo.org>2003-09-22 22:31:49 +0000
commitbe6f0eded7c939b08359b49e42f56ea4b9d8fc88 (patch)
tree84c856cef139d1cfdb5661b2e0aa2698a092781f /app-cdr/cdlabelgen
parentid made us (diff)
downloadgentoo-2-be6f0eded7c939b08359b49e42f56ea4b9d8fc88.tar.gz
gentoo-2-be6f0eded7c939b08359b49e42f56ea4b9d8fc88.tar.bz2
gentoo-2-be6f0eded7c939b08359b49e42f56ea4b9d8fc88.zip
Replaced patch with sed, closes #29174.
Diffstat (limited to 'app-cdr/cdlabelgen')
-rw-r--r--app-cdr/cdlabelgen/ChangeLog6
-rw-r--r--app-cdr/cdlabelgen/Manifest4
-rw-r--r--app-cdr/cdlabelgen/cdlabelgen-2.6.1.ebuild17
3 files changed, 20 insertions, 7 deletions
diff --git a/app-cdr/cdlabelgen/ChangeLog b/app-cdr/cdlabelgen/ChangeLog
index 9c154ed7522a..94cd2c788137 100644
--- a/app-cdr/cdlabelgen/ChangeLog
+++ b/app-cdr/cdlabelgen/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-cdr/cdlabelgen
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdlabelgen/ChangeLog,v 1.9 2003/09/16 23:13:31 zul Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdlabelgen/ChangeLog,v 1.10 2003/09/22 22:31:36 zul Exp $
+
+ 22 Sep 2003; Chuck Short <zul@gentoo.org> cdlabelgen-2.6.1.ebuild:
+ Replaced patch, cdlabelgen now uses sed to change the Makefile. Easier
+ for future versions.
*cdlabelgen-2.6.1 (16 Sep 2003)
diff --git a/app-cdr/cdlabelgen/Manifest b/app-cdr/cdlabelgen/Manifest
index c1630b58b1c1..0725c896a37e 100644
--- a/app-cdr/cdlabelgen/Manifest
+++ b/app-cdr/cdlabelgen/Manifest
@@ -1,8 +1,8 @@
MD5 e1e245e456757834e9ac88d0eb18162c cdlabelgen-2.6.0.ebuild 693
MD5 af00795fb0a47d65e4d6939cb633771c cdlabelgen-2.3.0.ebuild 717
MD5 11d887599f716e8272fec8371f1385d4 cdlabelgen-2.4.0.ebuild 699
-MD5 9d7f88d7bf8f3b66221ea0441d711758 cdlabelgen-2.6.1.ebuild 688
-MD5 90ae1d8707e669e18bba8c62cdf2250d ChangeLog 1165
+MD5 7ef0589a2993f2c3a728c3cc7301d15b cdlabelgen-2.6.1.ebuild 942
+MD5 b5838c7c4e18199b225ce735c23cfa35 ChangeLog 1332
MD5 856cfdea5f6e8201ccb75b8020754335 files/makefile.patch-2.4.0 1088
MD5 08f43be319a72950784c25dc90ce1f16 files/makefile.patch-2.6.0 1050
MD5 17b8da696651580c3b9eac7f96c1611c files/makefile.patch-2.6.1 1188
diff --git a/app-cdr/cdlabelgen/cdlabelgen-2.6.1.ebuild b/app-cdr/cdlabelgen/cdlabelgen-2.6.1.ebuild
index 8956a36ec255..60032eab8b86 100644
--- a/app-cdr/cdlabelgen/cdlabelgen-2.6.1.ebuild
+++ b/app-cdr/cdlabelgen/cdlabelgen-2.6.1.ebuild
@@ -1,24 +1,33 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdlabelgen/cdlabelgen-2.6.1.ebuild,v 1.2 2003/09/22 01:30:56 zul Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdlabelgen/cdlabelgen-2.6.1.ebuild,v 1.3 2003/09/22 22:31:36 zul Exp $
DESCRIPTION="CD cover, tray card and envelope generator"
HOMEPAGE="http://www.aczone.com/tools/cdinsert"
SRC_URI="http://www.aczone.com/pub/tools/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="x86 ~ppc"
RDEPEND=">=perl-5.6.1"
DEPEND="sys-apps/tar
sys-apps/gzip"
+S="${WORKDIR}/${P}"
+
src_compile() {
- epatch ${FILESDIR}/makefile.patch-${PV}
+ cp Makefile Makefile.bak
+ sed -e "s:BASE_DIR = /usr/local:BASE_DIR = ${D}/usr:g" \
+ -e "s:LIB_DIR = \$(BASE_DIR)/lib/cdlabelgen:LIB_DIR = \$(BASE_DIR)/share/cdlabelgen:g" \
+ -e "s:\$(INSTALL) cdlabelgen.1 \$(MAN_DIR)/man1::g" \
+ Makefile.bak > Makefile
+
}
src_install() {
- emake DESTDIR="${D}" install || die "install problem"
+ emake install || die "install problem"
dodoc README INSTALL.WEB *.spec cdinsert.pl
dohtml *.html
+
+ doman cdlabelgen.1
}