diff options
Diffstat (limited to 'app-text/sgml-common')
-rw-r--r-- | app-text/sgml-common/ChangeLog | 12 | ||||
-rw-r--r-- | app-text/sgml-common/Manifest | 40 | ||||
-rw-r--r-- | app-text/sgml-common/files/digest-sgml-common-0.6.3-r4 | 2 | ||||
-rw-r--r-- | app-text/sgml-common/files/digest-sgml-common-0.6.3-r5 | 3 | ||||
-rw-r--r-- | app-text/sgml-common/files/sgml-common-0.6.3-configure.in.patch | 13 | ||||
-rw-r--r-- | app-text/sgml-common/files/sgml-common-0.6.3-install-catalog.in (renamed from app-text/sgml-common/files/sgml-common-0.6.3-r4-install-catalog.in) | 0 | ||||
-rw-r--r-- | app-text/sgml-common/sgml-common-0.6.3-r4.ebuild | 4 | ||||
-rw-r--r-- | app-text/sgml-common/sgml-common-0.6.3-r5.ebuild | 80 |
8 files changed, 132 insertions, 22 deletions
diff --git a/app-text/sgml-common/ChangeLog b/app-text/sgml-common/ChangeLog index fe3bee9066f2..d092dcc23096 100644 --- a/app-text/sgml-common/ChangeLog +++ b/app-text/sgml-common/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for app-text/sgml-common # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/sgml-common/ChangeLog,v 1.32 2006/01/14 14:02:33 leonardop Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/sgml-common/ChangeLog,v 1.33 2006/03/26 13:56:30 nattfodd Exp $ + +*sgml-common-0.6.3-r5 (26 Mar 2006) + + 26 Mar 2006; Alexandre Buisse <nattfodd@gentoo.org> + +files/sgml-common-0.6.3-configure.in.patch, + +files/sgml-common-0.6.3-install-catalog.in, + -files/sgml-common-0.6.3-r4-install-catalog.in, + sgml-common-0.6.3-r4.ebuild, +sgml-common-0.6.3-r5.ebuild: + Install doc in /usr/share/doc instead of /usr/doc. Thanks to Andrew + Kirilenko for the report and Christan Heim for the patch. 14 Jan 2006; Leonardo Boshell <leonardop@gentoo.org> files/sgml-common-0.6.3-r4-install-catalog.in, diff --git a/app-text/sgml-common/Manifest b/app-text/sgml-common/Manifest index bd1f120012fe..2804ec170cb3 100644 --- a/app-text/sgml-common/Manifest +++ b/app-text/sgml-common/Manifest @@ -1,25 +1,27 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 2bd03283da58b3dba8109de1ce946ef4 ChangeLog 4588 RMD160 41500bb71a0ef524a274959f8acb3efde4ca46b8 ChangeLog 4588 SHA256 336185fc1195e02b634b88c91a4cc4c188c5fb737a77aeb25c1a62060421d5c7 ChangeLog 4588 -MD5 80a892383a2ec3e9e4b4efe8868b6db0 files/digest-sgml-common-0.6.3-r4 65 -RMD160 a2d24506806f0cc98aaf012a965224e57cc461eb files/digest-sgml-common-0.6.3-r4 65 -SHA256 0f9202c362d354b643a5a46d39a471ca5021c96d3aa3fc5d7f9b69970d91081f files/digest-sgml-common-0.6.3-r4 65 -MD5 d54c8e50cf0f9e8fc72433ca67cd848a files/sgml-common-0.6.3-r4-install-catalog.in 4917 -RMD160 f4c330fbea31c09201f5c75cbf6e85e894327ebd files/sgml-common-0.6.3-r4-install-catalog.in 4917 -SHA256 71db2836b286741b853897d040c22b9e632097c0039be32dc98fd0a83297b654 files/sgml-common-0.6.3-r4-install-catalog.in 4917 +MD5 ed80d3150b7151b2db464cac2220e87b files/digest-sgml-common-0.6.3-r4 241 +RMD160 31bebdffb57759155f94d90653e17956f8e30654 files/digest-sgml-common-0.6.3-r4 241 +SHA256 32c78d10e852b45bba816c390d7ed87d87754ca91cad13a2946f717a6c22daca files/digest-sgml-common-0.6.3-r4 241 +MD5 ed80d3150b7151b2db464cac2220e87b files/digest-sgml-common-0.6.3-r5 241 +RMD160 31bebdffb57759155f94d90653e17956f8e30654 files/digest-sgml-common-0.6.3-r5 241 +SHA256 32c78d10e852b45bba816c390d7ed87d87754ca91cad13a2946f717a6c22daca files/digest-sgml-common-0.6.3-r5 241 +MD5 9518ad388371b562c9376c868e64a44f files/sgml-common-0.6.3-configure.in.patch 360 +RMD160 03454741e40ff5436d58e2379ee9b8a8da8b5986 files/sgml-common-0.6.3-configure.in.patch 360 +SHA256 c1377215a0a92526cfa476dff941d00a713d156667ce37c39bf3f0fa02b71ad4 files/sgml-common-0.6.3-configure.in.patch 360 +MD5 d54c8e50cf0f9e8fc72433ca67cd848a files/sgml-common-0.6.3-install-catalog.in 4917 +RMD160 f4c330fbea31c09201f5c75cbf6e85e894327ebd files/sgml-common-0.6.3-install-catalog.in 4917 +SHA256 71db2836b286741b853897d040c22b9e632097c0039be32dc98fd0a83297b654 files/sgml-common-0.6.3-install-catalog.in 4917 MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164 RMD160 698422e821458386b8da17baa6014296f8284e0b metadata.xml 164 SHA256 7bd4d93c657a26aa9af1dea4232520c0d388cc92115dd9ca0eb04259228e044f metadata.xml 164 -MD5 85fd418ceb1e460cb17a5d2ebfd86795 sgml-common-0.6.3-r4.ebuild 1996 -RMD160 d8971caaa61ae91791790af0ba32b61e50b09b5b sgml-common-0.6.3-r4.ebuild 1996 -SHA256 b8d5d214bc61a5e9c5879b775478f686852401914ef7983b092b8aa487d1efc8 sgml-common-0.6.3-r4.ebuild 1996 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2.2 (GNU/Linux) - -iD8DBQFEH2pt2+ySkm8kpY0RAqCcAJ9D92cOhtdsG5Tq2wuVLNlPUlQrqgCfaFFR -xVcVApFdEpGUEwIboZ7KDVo= -=ELDL ------END PGP SIGNATURE----- +MD5 c80973d8c3b4e06ead6c6a8a58535c81 sgml-common-0.6.3-r4.ebuild 1995 +RMD160 3a703a06092f21edf0d95db6401463a2b08d2f31 sgml-common-0.6.3-r4.ebuild 1995 +SHA256 54290e28651217d368270554b5381cb6680eeb94583e408535a41fdddbff9320 sgml-common-0.6.3-r4.ebuild 1995 +MD5 c2a6d21ffde0daf2f11b19132d50bebf sgml-common-0.6.3-r4.ebuild.diff 1238 +RMD160 417657144c2bc0fc14905ac171acb44dacb9db6a sgml-common-0.6.3-r4.ebuild.diff 1238 +SHA256 f83ce9e86f1473a0a3ab83ebd0f71749bf0c37cab17c3c7cf220d864d96f7898 sgml-common-0.6.3-r4.ebuild.diff 1238 +MD5 5578a77c9f70073621846dcbea0112bf sgml-common-0.6.3-r5.ebuild 2053 +RMD160 0919c682ef88af564ad3a29b6141b4b5e3c70c5b sgml-common-0.6.3-r5.ebuild 2053 +SHA256 e0ba2e8c5b6390d8239790c6f69409b3d98c5cefd18a6491016da40fb8d11157 sgml-common-0.6.3-r5.ebuild 2053 diff --git a/app-text/sgml-common/files/digest-sgml-common-0.6.3-r4 b/app-text/sgml-common/files/digest-sgml-common-0.6.3-r4 index 876e0934660f..f6b0f1dc9234 100644 --- a/app-text/sgml-common/files/digest-sgml-common-0.6.3-r4 +++ b/app-text/sgml-common/files/digest-sgml-common-0.6.3-r4 @@ -1 +1,3 @@ MD5 103c9828f24820df86e55e7862e28974 sgml-common-0.6.3.tgz 76783 +RMD160 246d01272f70cd8382a7d596392e61d7dc0eec78 sgml-common-0.6.3.tgz 76783 +SHA256 7dc418c1d361123ffc5e45d61f1b97257940a8eb35d0bfbbc493381cc5b1f959 sgml-common-0.6.3.tgz 76783 diff --git a/app-text/sgml-common/files/digest-sgml-common-0.6.3-r5 b/app-text/sgml-common/files/digest-sgml-common-0.6.3-r5 new file mode 100644 index 000000000000..f6b0f1dc9234 --- /dev/null +++ b/app-text/sgml-common/files/digest-sgml-common-0.6.3-r5 @@ -0,0 +1,3 @@ +MD5 103c9828f24820df86e55e7862e28974 sgml-common-0.6.3.tgz 76783 +RMD160 246d01272f70cd8382a7d596392e61d7dc0eec78 sgml-common-0.6.3.tgz 76783 +SHA256 7dc418c1d361123ffc5e45d61f1b97257940a8eb35d0bfbbc493381cc5b1f959 sgml-common-0.6.3.tgz 76783 diff --git a/app-text/sgml-common/files/sgml-common-0.6.3-configure.in.patch b/app-text/sgml-common/files/sgml-common-0.6.3-configure.in.patch new file mode 100644 index 000000000000..85e25031b524 --- /dev/null +++ b/app-text/sgml-common/files/sgml-common-0.6.3-configure.in.patch @@ -0,0 +1,13 @@ +Index: sgml-common-0.6.3/configure.in +=================================================================== +--- sgml-common-0.6.3.orig/configure.in ++++ sgml-common-0.6.3/configure.in +@@ -3,7 +3,7 @@ AC_INIT(Makefile.am) + + AM_INIT_AUTOMAKE(sgml-common, 0.6.3) + +-docdir='$(prefix)/doc' ++docdir='$(prefix)/share/doc' + AC_SUBST(docdir) + + dnl Checks for programs. diff --git a/app-text/sgml-common/files/sgml-common-0.6.3-r4-install-catalog.in b/app-text/sgml-common/files/sgml-common-0.6.3-install-catalog.in index 9014d0ebb232..9014d0ebb232 100644 --- a/app-text/sgml-common/files/sgml-common-0.6.3-r4-install-catalog.in +++ b/app-text/sgml-common/files/sgml-common-0.6.3-install-catalog.in diff --git a/app-text/sgml-common/sgml-common-0.6.3-r4.ebuild b/app-text/sgml-common/sgml-common-0.6.3-r4.ebuild index 0dbd53bb7786..af3987766bdc 100644 --- a/app-text/sgml-common/sgml-common-0.6.3-r4.ebuild +++ b/app-text/sgml-common/sgml-common-0.6.3-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/sgml-common/sgml-common-0.6.3-r4.ebuild,v 1.31 2006/03/21 02:51:45 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/sgml-common/sgml-common-0.6.3-r4.ebuild,v 1.32 2006/03/26 13:56:30 nattfodd Exp $ DESCRIPTION="Base ISO character entities and utilities for SGML" HOMEPAGE="http://www.iso.ch/cate/3524030.html" @@ -18,7 +18,7 @@ src_unpack() { unpack ${A} # We use a hacked version of install-catalog that supports the ROOT # variable, and puts quotes around the CATALOG files. - cp "${FILESDIR}/${PF}-install-catalog.in" "${S}/bin/install-catalog.in" + cp "${FILESDIR}/${P}-install-catalog.in" "${S}/bin/install-catalog.in" cd "${S}" automake -a } diff --git a/app-text/sgml-common/sgml-common-0.6.3-r5.ebuild b/app-text/sgml-common/sgml-common-0.6.3-r5.ebuild new file mode 100644 index 000000000000..485bac4144ab --- /dev/null +++ b/app-text/sgml-common/sgml-common-0.6.3-r5.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/sgml-common/sgml-common-0.6.3-r5.ebuild,v 1.1 2006/03/26 13:56:30 nattfodd Exp $ + +inherit autotools eutils + +DESCRIPTION="Base ISO character entities and utilities for SGML" +HOMEPAGE="http://www.iso.ch/cate/3524030.html" +SRC_URI="mirror://kde/devel/docbook/SOURCES/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc-macos ~ppc64 +~s390 ~sh ~sparc ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_unpack() { + unpack ${A} + # We use a hacked version of install-catalog that supports the ROOT + # variable, and puts quotes around the CATALOG files. + cp "${FILESDIR}/${P}-install-catalog.in" "${S}/bin/install-catalog.in" + cd ${S} + epatch ${FILESDIR}/${P}-configure.in.patch + eautoreconf +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" +} + +pkg_postinst() { + local installer="${ROOT}usr/bin/install-catalog" + if [ ! -x "${installer}" ]; then + eerror "install-catalog not found! Something went wrong!" + die + fi + + einfo "Installing Catalogs..." + $installer --add \ + /etc/sgml/sgml-ent.cat \ + /usr/share/sgml/sgml-iso-entities-8879.1986/catalog + $installer --add \ + /etc/sgml/sgml-docbook.cat \ + /etc/sgml/sgml-ent.cat + + local file + for file in `find ${ROOT}etc/sgml/ -name "*.cat"` ${ROOT}etc/sgml/catalog + do + einfo "Fixing ${file}" + awk '/"$/ { print $1 " " $2 } + ! /"$/ { print $1 " \"" $2 "\"" }' ${file} > ${file}.new + mv ${file}.new ${file} + done +} + +pkg_prerm() { + cp ${ROOT}usr/bin/install-catalog ${T} +} + +pkg_postrm() { + if [ ! -x "${T}/install-catalog" ]; then + return + fi + + einfo "Removing Catalogs..." + if [ -e "${ROOT}etc/sgml/sgml-ent.cat" ]; then + ${T}/install-catalog --remove \ + /etc/sgml/sgml-ent.cat \ + /usr/share/sgml/sgml-iso-entities-8879.1986/catalog + fi + + if [ -e "${ROOT}etc/sgml/sgml-docbook.cat" ]; then + ${T}/install-catalog --remove \ + /etc/sgml/sgml-docbook.cat \ + /etc/sgml/sgml-ent.cat + fi +} |