diff options
author | Jonathan Callen <abcd@gentoo.org> | 2010-04-06 01:07:37 +0000 |
---|---|---|
committer | Jonathan Callen <abcd@gentoo.org> | 2010-04-06 01:07:37 +0000 |
commit | ebf4b4e968cbe5a2b61e8d8c080186722eea1088 (patch) | |
tree | 7d4142e26386e0bfbb7b41690b967a3c8b0e919b /app-text/scrollkeeper-dtd/scrollkeeper-dtd-1.0.ebuild | |
parent | Version bump (diff) | |
download | gentoo-2-ebf4b4e968cbe5a2b61e8d8c080186722eea1088.tar.gz gentoo-2-ebf4b4e968cbe5a2b61e8d8c080186722eea1088.tar.bz2 gentoo-2-ebf4b4e968cbe5a2b61e8d8c080186722eea1088.zip |
Bump to EAPI=3, add prefix keywords
(Portage version: -svn/cvs/Linux i686)
Diffstat (limited to 'app-text/scrollkeeper-dtd/scrollkeeper-dtd-1.0.ebuild')
-rw-r--r-- | app-text/scrollkeeper-dtd/scrollkeeper-dtd-1.0.ebuild | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/app-text/scrollkeeper-dtd/scrollkeeper-dtd-1.0.ebuild b/app-text/scrollkeeper-dtd/scrollkeeper-dtd-1.0.ebuild index 95463a207108..4f513f0f8cf8 100644 --- a/app-text/scrollkeeper-dtd/scrollkeeper-dtd-1.0.ebuild +++ b/app-text/scrollkeeper-dtd/scrollkeeper-dtd-1.0.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper-dtd/scrollkeeper-dtd-1.0.ebuild,v 1.2 2009/02/18 23:53:36 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper-dtd/scrollkeeper-dtd-1.0.ebuild,v 1.3 2010/04/06 01:07:37 abcd Exp $ + +EAPI="3" DTD_FILE="scrollkeeper-omf.dtd" @@ -10,7 +12,7 @@ SRC_URI="http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/${DTD_FIL LICENSE="FDL-1.1" SLOT="1.0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" +KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="" RDEPEND=">=dev-libs/libxml2-2.4.19" @@ -19,10 +21,12 @@ DEPEND="${RDEPEND} src_unpack() { :; } +src_configure() { :; } + src_compile() { :; } src_install() { - insinto "/usr/share/xml/scrollkeeper/dtds" + insinto /usr/share/xml/scrollkeeper/dtds doins "${DISTDIR}/${DTD_FILE}" } @@ -30,23 +34,23 @@ pkg_postinst() { einfo "Installing catalog..." # Install regular DOCTYPE catalog entry - "${ROOT}"/usr/bin/xmlcatalog --noout --add "public" \ + "${EROOT}"usr/bin/xmlcatalog --noout --add "public" \ "-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN" \ - "`echo "${ROOT}/usr/share/xml/scrollkeeper/dtds/${DTD_FILE}" | sed -e "s://:/:g"`" \ - "${ROOT}"/etc/xml/catalog + "${EROOT}"usr/share/xml/scrollkeeper/dtds/${DTD_FILE} \ + "${EROOT}"etc/xml/catalog # Install catalog entry for calls like: xmllint --dtdvalid URL ... - "${ROOT}"/usr/bin/xmlcatalog --noout --add "system" \ + "${EROOT}"usr/bin/xmlcatalog --noout --add "system" \ "${SRC_URI}" \ - "`echo "${ROOT}/usr/share/xml/scrollkeeper/dtds/${DTD_FILE}" | sed -e "s://:/:g"`" \ - "${ROOT}"/etc/xml/catalog + "${EROOT}"usr/share/xml/scrollkeeper/dtds/${DTD_FILE} \ + "${EROOT}"etc/xml/catalog } pkg_postrm() { # Remove all sk-dtd from the cache einfo "Cleaning catalog..." - "${ROOT}"/usr/bin/xmlcatalog --noout --del \ - "`echo "${ROOT}/usr/share/xml/scrollkeeper/dtds/${DTD_FILE}" | sed -e "s://:/:g"`" \ - "${ROOT}"/etc/xml/catalog + "${EROOT}"usr/bin/xmlcatalog --noout --del \ + "${EROOT}"usr/share/xml/scrollkeeper/dtds/${DTD_FILE} \ + "${EROOT}"etc/xml/catalog } |