diff options
author | Mart Raudsepp <leio@gentoo.org> | 2008-02-01 18:26:30 +0000 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2008-02-01 18:26:30 +0000 |
commit | 0f594c6a999e44291a6611b38e722b414ab15929 (patch) | |
tree | aeb381a7ec0ea17a925513081eb87a6107615c31 /app-text/scrollkeeper | |
parent | Remove Gnome 2.16 and lower versions (diff) | |
download | gentoo-2-0f594c6a999e44291a6611b38e722b414ab15929.tar.gz gentoo-2-0f594c6a999e44291a6611b38e722b414ab15929.tar.bz2 gentoo-2-0f594c6a999e44291a6611b38e722b414ab15929.zip |
Remove old
(Portage version: 2.1.4)
Diffstat (limited to 'app-text/scrollkeeper')
-rw-r--r-- | app-text/scrollkeeper/scrollkeeper-0.3.14-r1.ebuild | 94 |
1 files changed, 0 insertions, 94 deletions
diff --git a/app-text/scrollkeeper/scrollkeeper-0.3.14-r1.ebuild b/app-text/scrollkeeper/scrollkeeper-0.3.14-r1.ebuild deleted file mode 100644 index e3cd9ec28b6e..000000000000 --- a/app-text/scrollkeeper/scrollkeeper-0.3.14-r1.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper/scrollkeeper-0.3.14-r1.ebuild,v 1.15 2007/07/12 04:37:47 mr_bones_ Exp $ - -inherit libtool eutils - -DESCRIPTION="cataloging system for documentation on open systems" -HOMEPAGE="http://scrollkeeper.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="FDL-1.1 LGPL-2.1" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sparc x86" -IUSE="nls" - -RDEPEND=">=dev-libs/libxml2-2.4.19 - >=dev-libs/libxslt-1.0.14 - >=sys-libs/zlib-1.1.3 - ~app-text/docbook-xml-dtd-4.1.2 - app-text/docbook-xsl-stylesheets" -DEPEND="${RDEPEND} - >=dev-util/intltool-0.29 - nls? ( sys-devel/gettext )" - -src_unpack() { - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${P}-gentoo.patch - epatch ${FILESDIR}/${P}-gcc2_fix.patch -} - -src_compile() { - elibtoolize - - local myconf="" - - use nls || { - myconf="${myconf} --disable-nls" - # Not existing can cause ./configure to fail in some cases. - touch ${S}/intl/libintl.h - } - - econf \ - --localstatedir=/var \ - ${myconf} || die - emake || die -} - -src_install() { - make DESTDIR=${D} install || die - - insinto /etc/logrotate.d - newins ${FILESDIR}/scrollkeeper-logrotate scrollkeeper - - dodoc ABOUT-NLS AUTHORS ChangeLog NEWS README TODO scrollkeeper-spec.txt -} - -pkg_preinst() { - if [ -d ${ROOT}/usr/share/scrollkeeper/Templates ] - then - rm -rf ${ROOT}/usr/share/scrollkeeper/Templates - fi -} - -pkg_postinst() { - einfo "Installing catalog..." - ${ROOT}/usr/bin/xmlcatalog --noout --add "public" \ - "-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN" \ - "`echo "${ROOT}/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd" |sed -e "s://:/:g"`" \ - ${ROOT}/etc/xml/catalog - einfo "Rebuilding Scrollkeeper database..." - scrollkeeper-rebuilddb -q -p ${ROOT}/var/lib/scrollkeeper - einfo "Updating Scrollkeeper database..." - scrollkeeper-update -v &>${T}/foo -} - -pkg_postrm() { - if [ ! -x ${ROOT}/usr/bin/scrollkeeper-config ] - then - # SK is being removed, not upgraded. - # Remove all generated files - einfo "Cleaning up ${ROOT}/var/lib/scrollkeeper..." - rm -rf ${ROOT}/var/lib/scrollkeeper - rm -rf ${ROOT}/var/log/scrollkeeper.log - rm -rf ${ROOT}/var/log/scrollkeeper.log.1 - ${ROOT}/usr/bin/xmlcatalog --noout --del \ - "${ROOT}/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd" \ - ${ROOT}/etc/xml/catalog - - elog "Scrollkeeper ${PV} unmerged, if you removed the package" - elog "you might want to clean up /var/lib/scrollkeeper." - fi -} |