diff options
author | Fabian Groffen <grobian@gentoo.org> | 2012-04-25 17:50:15 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2012-04-25 17:50:15 +0000 |
commit | 73d3f0f6e2f29be1659dd728e471763e67091685 (patch) | |
tree | 2c392955af5b7258a3b80fca6855b5b801750295 /app-text/noweb | |
parent | sci-libs/fftw: -v (diff) | |
download | historical-73d3f0f6e2f29be1659dd728e471763e67091685.tar.gz historical-73d3f0f6e2f29be1659dd728e471763e67091685.tar.bz2 historical-73d3f0f6e2f29be1659dd728e471763e67091685.zip |
Revbump for EAPI=3, fixed for Prefix, marked ~{ppc,x86,x64}-macos
Package-Manager: portage-2.2.01.20430-prefix/cvs/Darwin i386
Diffstat (limited to 'app-text/noweb')
-rw-r--r-- | app-text/noweb/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/noweb/Manifest | 11 | ||||
-rw-r--r-- | app-text/noweb/noweb-2.11b-r3.ebuild | 100 |
3 files changed, 112 insertions, 6 deletions
diff --git a/app-text/noweb/ChangeLog b/app-text/noweb/ChangeLog index f5a354f81682..eb020bd2c901 100644 --- a/app-text/noweb/ChangeLog +++ b/app-text/noweb/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/noweb # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/noweb/ChangeLog,v 1.56 2012/03/25 15:41:46 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/noweb/ChangeLog,v 1.57 2012/04/25 17:50:15 grobian Exp $ + +*noweb-2.11b-r3 (25 Apr 2012) + + 25 Apr 2012; Fabian Groffen <grobian@gentoo.org> +noweb-2.11b-r3.ebuild: + Revbump for EAPI=3, fixed for Prefix, marked ~{ppc,x86,x64}-macos 25 Mar 2012; Raúl Porcel <armin76@gentoo.org> noweb-2.11b-r2.ebuild: ia64/sparc stable wrt #396843 diff --git a/app-text/noweb/Manifest b/app-text/noweb/Manifest index c0e6bd4af0d5..0a67c2e9cf10 100644 --- a/app-text/noweb/Manifest +++ b/app-text/noweb/Manifest @@ -8,12 +8,13 @@ AUX noweb-2.9-security.patch 6558 RMD160 df2613a2278b13f032a74af62b553495e1b1178 DIST noweb-2.11b.tgz 738870 RMD160 01e4fbb636dfd0f6d117caa045cf105e49d25fca SHA1 3b391c42f46dcb8a002b863fb2e483560a7da51d SHA256 c913f26c1edb37e331c747619835b4cade000b54e459bb08f4d38899ab690d82 EBUILD noweb-2.11b-r1.ebuild 2637 RMD160 ac09757bf6212388768ac00dd0030a53c793a80f SHA1 fca75dcbee5af370dd9c124f6a376aaf1f220f13 SHA256 5511acf4d60d5d02d13c8189dfdd72ce9757b2aa2c85db80b1c16790be8c6263 EBUILD noweb-2.11b-r2.ebuild 2746 RMD160 a201f591c60bb66f337e55de5eb65839f7242b98 SHA1 041c013923178e11b73e451eb6094a02ff03ab67 SHA256 41ad7bb662c9aa5c716f3bbd1b633283821f1c22c646ecbce004cedaa547d994 -MISC ChangeLog 7089 RMD160 b338d190fd230b991c30121ca67971daa17ee3ee SHA1 e02e99f1cdd9181b4df531d1ed885392ebd8e4c8 SHA256 070ce15049a5cd5a7049a58e95e50834e64c1bcd36dc53f43500afa9484b33ee +EBUILD noweb-2.11b-r3.ebuild 2795 RMD160 3e5533156e10a63ccd7fb45d3fb9da9143e43de8 SHA1 f3e682d2b8a30d595dd56375492b1e4cd1177c7e SHA256 102417312f9b30cc5ca7340c526b80826916110939a69f8127e5441ff61862a6 +MISC ChangeLog 7264 RMD160 a211c282c8fa139208108dc8074e0e036f87d648 SHA1 e2a50edcb7cc320b05a48ea0ad2eeaa870662920 SHA256 cb6b13191142dc1def661f7edb2848df36192b7fb6df9f08e8140cb1c97936e1 MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.19 (Darwin) -iEYEARECAAYFAk9vPMAACgkQuQc30/atMkDf+QCdEWVjHymV+zpfGry/zjcrPhS4 -L7kAoKfTc0iLIya2S/OByMf0vUsafsq2 -=+7tP +iEYEARECAAYFAk+YOYEACgkQX3X2B8XHToll8gCcCbZ1fz9l2qqIyrQZCQeY39VR +Y60AoKQMF8nre35HfVPFA7mSyFQNnXKG +=LVQI -----END PGP SIGNATURE----- diff --git a/app-text/noweb/noweb-2.11b-r3.ebuild b/app-text/noweb/noweb-2.11b-r3.ebuild new file mode 100644 index 000000000000..6a8abe6c052c --- /dev/null +++ b/app-text/noweb/noweb-2.11b-r3.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/noweb/noweb-2.11b-r3.ebuild,v 1.1 2012/04/25 17:50:15 grobian 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/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/tex/inputs" \ + TEXINPUTS="${ED}/usr/share/texmf/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 +} |