summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2008-07-01 21:27:15 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2008-07-01 21:27:15 +0000
commitf6e2f873b3c6879e003eac2de1b890282daf2bc5 (patch)
treeae5056226842cb1a4179b2ed0bff98154f6751a5 /app-text/scrollkeeper-dtd
parentVersion bump, bug #206600 (diff)
downloadhistorical-f6e2f873b3c6879e003eac2de1b890282daf2bc5.tar.gz
historical-f6e2f873b3c6879e003eac2de1b890282daf2bc5.tar.bz2
historical-f6e2f873b3c6879e003eac2de1b890282daf2bc5.zip
Initial ebuild, thanks to Ford_Prefect. Commited directly to stable to match scrollkeeper-9999 visibility, see bug #229123 for details.
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.24-gentoo-r8 i686 RepoMan-Options: --force
Diffstat (limited to 'app-text/scrollkeeper-dtd')
-rw-r--r--app-text/scrollkeeper-dtd/ChangeLog11
-rw-r--r--app-text/scrollkeeper-dtd/Manifest14
-rw-r--r--app-text/scrollkeeper-dtd/metadata.xml7
-rw-r--r--app-text/scrollkeeper-dtd/scrollkeeper-dtd-1.0.ebuild51
4 files changed, 83 insertions, 0 deletions
diff --git a/app-text/scrollkeeper-dtd/ChangeLog b/app-text/scrollkeeper-dtd/ChangeLog
new file mode 100644
index 000000000000..3989b865ac69
--- /dev/null
+++ b/app-text/scrollkeeper-dtd/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-text/scrollkeeper-dtd
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper-dtd/ChangeLog,v 1.1 2008/07/01 21:27:15 eva Exp $
+
+*scrollkeeper-dtd-1.0 (01 Jul 2008)
+
+ 01 Jul 2008; Gilles Dartiguelongue <eva@gentoo.org>
+ +scrollkeeper-dtd-1.0.ebuild:
+ Initial ebuild, thanks to Ford_Prefect. Commited directly to stable to
+ match scrollkeeper-9999 visibility, see bug #229123 for details.
+
diff --git a/app-text/scrollkeeper-dtd/Manifest b/app-text/scrollkeeper-dtd/Manifest
new file mode 100644
index 000000000000..3d579ad521a5
--- /dev/null
+++ b/app-text/scrollkeeper-dtd/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST scrollkeeper-omf.dtd 11031 RMD160 520e04cd1cdc055a523d7a6615b1079369a956c2 SHA1 b035cd72bf61354fdccbc90e5a6b76d44e2cfd2c SHA256 43df758009b17f8487419ef1fe3039379370417385885a2578e1789ab092ae26
+EBUILD scrollkeeper-dtd-1.0.ebuild 1592 RMD160 d6f9687616f4d1fd0412e645582242dfcdda1224 SHA1 b279e45213ef539499cb65cfda26b76fc23aa31b SHA256 b755eb00ac70094bb08591962ca35cb97312c5a656b4a08c3ea1b3387b0cac8f
+MISC ChangeLog 484 RMD160 bd22ed6678ab340f0b7ec94a502053b569f2f032 SHA1 77bcf91a1f207bc1cc013ebd11ec1ba5f7de73f5 SHA256 a26951c30910b8ba764c60b8d03777dab6b5562a490ce06849ac5770cca753df
+MISC metadata.xml 179 RMD160 8f35849246f14718656e253510e175eec28bd29e SHA1 1c7013c99b5c08b5ff8a6ca27d00b2cff946dcd5 SHA256 065e58b1bbbc42df2691c328651c08a1f4377507378d0887ec65e23b114562cd
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkhqoTsACgkQ1fmVwcYIWAbbnACgyJ0lqEzWjmOwPHqMmfn/hAbq
+/UUAn2pGM+vGKjhbXxdNi2DL7pczvuP7
+=DxtH
+-----END PGP SIGNATURE-----
diff --git a/app-text/scrollkeeper-dtd/metadata.xml b/app-text/scrollkeeper-dtd/metadata.xml
new file mode 100644
index 000000000000..1e42300c6434
--- /dev/null
+++ b/app-text/scrollkeeper-dtd/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>gnome</herd>
+ <herd>sgml</herd>
+</pkgmetadata>
+
diff --git a/app-text/scrollkeeper-dtd/scrollkeeper-dtd-1.0.ebuild b/app-text/scrollkeeper-dtd/scrollkeeper-dtd-1.0.ebuild
new file mode 100644
index 000000000000..f967048e6dc1
--- /dev/null
+++ b/app-text/scrollkeeper-dtd/scrollkeeper-dtd-1.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2008 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.1 2008/07/01 21:27:15 eva Exp $
+
+DTD_FILE="scrollkeeper-omf.dtd"
+
+DESCRIPTION="DTD from the Scrollkeeper package"
+HOMEPAGE="http://scrollkeeper.sourceforge.net/"
+SRC_URI="http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/${DTD_FILE}"
+
+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"
+IUSE=""
+
+RDEPEND=">=dev-libs/libxml2-2.4.19"
+DEPEND="${RDEPEND}"
+
+src_unpack() { :; }
+
+src_compile() { :; }
+
+src_install() {
+ insinto "/usr/share/xml/scrollkeeper/dtds"
+ doins "${DISTDIR}/${DTD_FILE}"
+}
+
+pkg_postinst() {
+ einfo "Installing catalog..."
+
+ # Install regular DOCTYPE catalog entry
+ "${ROOT}"/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
+
+ # Install catalog entry for calls like: xmllint --dtdvalid URL ...
+ "${ROOT}"/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
+}
+
+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
+}