summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-07-07 15:03:15 +0000
committerAlexis Ballier <aballier@gentoo.org>2013-07-07 15:03:15 +0000
commit7e459896a2b6e3ef637e5a4fff228fa4551991c8 (patch)
tree120507eeb7f441c8c50f879ee5db8c6ee7a893c7 /app-text/noweb
parentversion bump (diff)
downloadhistorical-7e459896a2b6e3ef637e5a4fff228fa4551991c8.tar.gz
historical-7e459896a2b6e3ef637e5a4fff228fa4551991c8.tar.bz2
historical-7e459896a2b6e3ef637e5a4fff228fa4551991c8.zip
install texmf files in texmf-site
Package-Manager: portage-2.2.0_alpha186/cvs/Linux x86_64 Manifest-Sign-Key: 0x160F534A
Diffstat (limited to 'app-text/noweb')
-rw-r--r--app-text/noweb/ChangeLog7
-rw-r--r--app-text/noweb/Manifest9
-rw-r--r--app-text/noweb/noweb-2.11b-r4.ebuild100
3 files changed, 111 insertions, 5 deletions
diff --git a/app-text/noweb/ChangeLog b/app-text/noweb/ChangeLog
index 3339c5105047..60586b60f616 100644
--- a/app-text/noweb/ChangeLog
+++ b/app-text/noweb/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/noweb
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/noweb/ChangeLog,v 1.64 2013/07/06 00:57:31 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/noweb/ChangeLog,v 1.65 2013/07/07 15:03:07 aballier Exp $
+
+*noweb-2.11b-r4 (07 Jul 2013)
+
+ 07 Jul 2013; Alexis Ballier <aballier@gentoo.org> +noweb-2.11b-r4.ebuild:
+ install texmf files in texmf-site
06 Jul 2013; Alexis Ballier <aballier@gentoo.org> -noweb-2.11b-r1.ebuild,
-noweb-2.11b-r2.ebuild:
diff --git a/app-text/noweb/Manifest b/app-text/noweb/Manifest
index a189d13cce3e..b5589d6f1b34 100644
--- a/app-text/noweb/Manifest
+++ b/app-text/noweb/Manifest
@@ -7,12 +7,13 @@ AUX noweb-2.11b-recmake.patch 5470 SHA256 2673b9719982285a6b1a4741160e702584854b
AUX noweb-2.9-security.patch 6558 SHA256 45492023f74919efbf32806fd891c68697a00526eac9c924af2ef26b43477746 SHA512 259612cbb57a0c13d0d6e53818c4da7adf8389fa6a826cc9966c5924d2da6582c89b6457c8c77c0067e4e3580c0fd4156138de67671d30c52e9c63e75d6f80a2 WHIRLPOOL a3b0ec18a2cd93fdc92a44491fbf5f9926914293841a1ea158afefccc2e0085dfbaed26e2dd355913e64930c429716ec78951c6f768170bd3d2bb503c3bef7ea
DIST noweb-2.11b.tgz 738870 SHA256 c913f26c1edb37e331c747619835b4cade000b54e459bb08f4d38899ab690d82 SHA512 0363c68aa31549fd806a575e6055b117db51fb5b5f28e7b30bdf3c108b3cf9546e1c6a4e64faf892b013c79665b14d436879800d4e970b0732fbd482b416d0f9 WHIRLPOOL b2f357e993d9e4af5b2d2d1f5a9c3bd720a8177b05d01fba501addecf884b739db0b17dd21e8a834a75ec6444d0b5c85679b8e868d3ed2a674010c3441b64f91
EBUILD noweb-2.11b-r3.ebuild 2787 SHA256 7337ba5b9e793cb0436fcd14cf165e9461cca537221e208c1950de21c513d7ba SHA512 555053958aa4fefc727e0673bff4bb62dc229d2616cc18891fd6b0a9dc87955511bf7409b574b996a51ba2bfb39c2e2edd4c4ed26a54f3fabf341523a4ed2945 WHIRLPOOL f622b22985f2c1ca3ae41d74c6e426226c94c8e67b033f176a75865a51d98cdb3ba572b5ceae214092a99b869329cf739a1ae3e778d8f2c7b470a83c3f11e627
-MISC ChangeLog 8043 SHA256 05a92b88f5c6ff76306ba4ef56e33019541bc025da8bcdc0de39d07f194d51f3 SHA512 28ca47da3aee4faadce9e968354a2ed38562ec6ecd1a2c3a1437a5d7c234e5bf7af98262870cb54179979fb12871fbee6980a57ca93d6b0a7ba095d0aae0749a WHIRLPOOL d3ac36061dc536dbe0ec9cfecb6dc6554efefa6595188f341682c33752a3b14eb9976a4e73c1e13082c5c62fefe854e8ab38f64a52179125d774e855f1808082
+EBUILD noweb-2.11b-r4.ebuild 2811 SHA256 5651b257b880cd2671f586d20c298de0f552b9d51d81c90fa8f69435a50031c9 SHA512 4b29bf01bccbf5225435e2c89d80310d935d6749c9a1f8a491b4031ef1a817bda5f79e068eb66ae185f59e24383f8bd58d0cb1812624f3af33d6956c1ddea35a WHIRLPOOL 6494664417a00a0ab6a8cdc26bd0718d82b0c0a236d311a46b2bb455649f9b2d2b2c731ad6a793e6f6ff30ed41f35ea927812b1b2bc767e6e7d09dc1819d3d29
+MISC ChangeLog 8187 SHA256 7a6707bc3517efa3a32c5510694e849bbce6cff85cd1e15b8192cc2c0a828199 SHA512 b5134434825ff4903b2fd3b07a716c88850f8b71137b58fc351520ecc44a95db557fb691c9ab8e789488dac716b37cfd51f827289c522c21724e80fad37022ca WHIRLPOOL f5c71d4ab61a47f0c35130c8b8ffeac4847c77bd51e9f1e56e0f14e6a5a5e973431b91f506739f08098eb1c4bbfd8b4452d00dba79b1cbfe8008ac5335f052fd
MISC metadata.xml 156 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6 SHA512 cecee760dd314c182191a282255f2415e479a8cc6cab9cb664e5b82d52b700a3444aa0d33b30a721a756e432819decc8c92588c769ea6fd33dabe9adc16d75c0 WHIRLPOOL 88a15092b616df72dd0ae91d89c80d852ad49ab9fee8a9688f3a1be59c365cc3dc77e90be68b5c4ec9cc1dc9885e06e723abc96830df4d0628df8c97f8b2a332
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
-iEYEAREIAAYFAlHXa3wACgkQvFcC4BYPU0oXfQCdHmyp/cFBQenmvPzfu8PZsPxF
-v8MAoKUFrFnnTyqv5wTzA69NuTg8Pn18
-=GvEa
+iEYEAREIAAYFAlHZgy0ACgkQvFcC4BYPU0pw3ACeJ33j1y/X/Y/rY0pi+F19q4Ox
+/mIAn2NtSeCYRtvW6MF5grc6gXrURKXw
+=ThWW
-----END PGP SIGNATURE-----
diff --git a/app-text/noweb/noweb-2.11b-r4.ebuild b/app-text/noweb/noweb-2.11b-r4.ebuild
new file mode 100644
index 000000000000..def83b5d9fc3
--- /dev/null
+++ b/app-text/noweb/noweb-2.11b-r4.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/noweb/noweb-2.11b-r4.ebuild,v 1.1 2013/07/07 15:03:07 aballier Exp $
+
+EAPI=3
+
+inherit eutils toolchain-funcs elisp-common
+
+DESCRIPTION="a literate programming tool, lighter than web"
+HOMEPAGE="http://www.eecs.harvard.edu/~nr/noweb/"
+SRC_URI="http://www.eecs.harvard.edu/~nr/noweb/dist/${P}.tgz"
+
+LICENSE="noweb emacs? ( GPL-2 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="emacs examples"
+
+DEPEND="virtual/tex-base
+ dev-lang/icon
+ sys-apps/debianutils
+ emacs? ( virtual/emacs )"
+RDEPEND=${DEPEND}
+
+S=${WORKDIR}/${P}/src
+
+SITEFILE=50${PN}-gentoo.el
+
+src_prepare() {
+ # glibc2.10 compat (bug 270757)
+# mkdir d && cp -r c/* d/
+ sed "s:getline (:getline_nonlibc (:" -i c/getline.{c,h} || die
+ sed "s:getline(:getline_nonlibc(:" -i c/{notangle.c,getline.c,finduses.c} || die
+# diff -u d/ c/
+
+ epatch "${FILESDIR}"/${PN}-2.9-security.patch
+ # dont run texhash...
+ sed -i -e "s/texhash/true/" Makefile
+ # dont strip...
+ sed -i -e "s/strip/true/" Makefile
+
+ cd "${WORKDIR}/${P}"
+ epatch "${FILESDIR}"/${P}-recmake.patch
+ epatch "${FILESDIR}"/${P}-ldflags.patch
+}
+
+src_compile() {
+ # noweb tries to use notangle and noweb; see bug #50429
+ ( cd c; emake ICONC="icont" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LIBSRC="icon" ) || die
+ export PATH="${PATH}:${T}"
+ emake ICONC="icont" CC="$(tc-getCC)" BIN="${T}" LIB="${T}" LIBSRC="icon" install-code \
+ || die "make temporal install failed."
+
+ emake ICONC="icont" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LIBSRC="icon" || die "make failed"
+ # Set awk to awk not nawk
+ ./awkname awk
+
+ if use emacs; then
+ elisp-compile elisp/noweb-mode.el || die "elisp-compile failed"
+ fi
+}
+
+src_install () {
+ # It needs the directories to exist first...
+ dodir /usr/bin
+ dodir /usr/libexec/${PN}
+ dodir /usr/share/man
+ dodir /usr/share/texmf-site/tex/inputs
+ emake ICONC="icont" \
+ BIN="${ED}/usr/bin" \
+ LIBSRC="icon" \
+ LIBNAME="${EPREFIX}/usr/libexec/${PN}" \
+ LIB="${ED}/usr/libexec/${PN}" \
+ MAN="${ED}/usr/share/man" \
+ TEXNAME="${EPREFIX}/usr/share/texmf-site/tex/inputs" \
+ TEXINPUTS="${ED}/usr/share/texmf-site/tex/inputs" \
+ install || die "make install failed"
+ cd "${WORKDIR}/${P}"
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*
+ fi
+ dodoc CHANGES README
+
+ if use emacs; then
+ elisp-install ${PN} src/elisp/noweb-mode.{el,elc} \
+ || die "elisp-install failed"
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
+ || die "elisp-site-file-install failed"
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+ einfo "Running texhash to complete installation.."
+ texhash
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}