summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2002-07-22 15:42:42 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2002-07-22 15:42:42 +0000
commit028340ed541535b2db53c51b91ff85aa5f54488f (patch)
treeafae7eb860a1e4f3b57a7777124fcc5f5e3ebe1c /app-text/pinfo
parentrepoman'd (diff)
downloadgentoo-2-028340ed541535b2db53c51b91ff85aa5f54488f.tar.gz
gentoo-2-028340ed541535b2db53c51b91ff85aa5f54488f.tar.bz2
gentoo-2-028340ed541535b2db53c51b91ff85aa5f54488f.zip
Fixed #5359 for this package; should now be FHS compliant.
Diffstat (limited to 'app-text/pinfo')
-rw-r--r--app-text/pinfo/ChangeLog10
-rw-r--r--app-text/pinfo/files/digest-pinfo-0.6.5_p2-r1 (renamed from app-text/pinfo/files/digest-pinfo-0.6.5_p2)0
-rw-r--r--app-text/pinfo/pinfo-0.6.5_p2-r1.ebuild (renamed from app-text/pinfo/pinfo-0.6.5_p2.ebuild)29
3 files changed, 20 insertions, 19 deletions
diff --git a/app-text/pinfo/ChangeLog b/app-text/pinfo/ChangeLog
index 08c45e475a48..9a5abb3c99ba 100644
--- a/app-text/pinfo/ChangeLog
+++ b/app-text/pinfo/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-text/pinfo
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-text/pinfo/ChangeLog,v 1.2 2002/03/15 11:53:21 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/pinfo/ChangeLog,v 1.3 2002/07/22 15:42:41 karltk Exp $
+
+*pinfo-0.6.5_p2-r1 (22 Jul 2002)
+
+ 22 Jul 2002; Karl Trygve Kalleberg <karltk@gentoo.org> pinfo-0.6.5_p2-r1.ebuild files/digest-pinfo-0.6.5_p2-r1:
+
+ Configuration files are now installed in /etc/pinfo instead of /usr/etc.
+
+ Removed pinfo-0.6.5_p2.ebuild files/digest-pinfo-0.6.5_p2
*pinfo-0.6.5_p2 (15 Mar 2002)
diff --git a/app-text/pinfo/files/digest-pinfo-0.6.5_p2 b/app-text/pinfo/files/digest-pinfo-0.6.5_p2-r1
index b065870e4b76..b065870e4b76 100644
--- a/app-text/pinfo/files/digest-pinfo-0.6.5_p2
+++ b/app-text/pinfo/files/digest-pinfo-0.6.5_p2-r1
diff --git a/app-text/pinfo/pinfo-0.6.5_p2.ebuild b/app-text/pinfo/pinfo-0.6.5_p2-r1.ebuild
index 8cc03e1db558..8981886f4ecd 100644
--- a/app-text/pinfo/pinfo-0.6.5_p2.ebuild
+++ b/app-text/pinfo/pinfo-0.6.5_p2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/app-text/pinfo/pinfo-0.6.5_p2.ebuild,v 1.2 2002/07/11 06:30:19 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/pinfo/pinfo-0.6.5_p2-r1.ebuild,v 1.1 2002/07/22 15:42:41 karltk Exp $
MY_P=${PN}-0.6.5p2
S=${WORKDIR}/${MY_P}
@@ -11,29 +11,22 @@ DEPEND="virtual/glibc
>=sys-libs/ncurses-5.2
nls? ( >=sys-devel/gettext-0.10.39 )
>=sys-devel/bison-1.28"
+RDEPEND="virtual/glibc
+ >=sys-libs/ncurses-5.2
+ nls? ( >=sys-devel/gettext-0.10.39 )"
+SLOT="0"
+LICENSE="GPL-2"
src_compile() {
- local myconf
- if [ "`use readline`" ] ; then
- myconf="${myconf} --with-readline"
- fi
+ local myc
- if [ -z "`use nls`" ] ; then
- myconf="${myconf} --disable-nls"
- else
- myconf="${myconf} --enable-nls"
- fi
-
- ./configure \
- --host=${CHOST} \
- --prefix=/usr \
- --infodir=/usr/share/info \
- --mandir=/usr/share/man \
- $myconf || die "./configure failed"
+ use readline && myc="${myc} --with-readline" || myc="${myc} --without-readline"
+ use nls && myc="${myc} --enable-nls" || myc="${myc} --disable-nls"
+ econf ${myc} || die
emake || die
}
src_install () {
- make DESTDIR=${D} install || die
+ make DESTDIR=${D} sysconfdir=/etc install || die
}