* [gentoo-commits] gentoo-x86 commit in app-text/noweb: noweb-2.11b-r3.ebuild ChangeLog
@ 2012-04-25 17:50 Fabian Groffen (grobian)
0 siblings, 0 replies; only message in thread
From: Fabian Groffen (grobian) @ 2012-04-25 17:50 UTC (permalink / raw
To: gentoo-commits
grobian 12/04/25 17:50:15
Modified: ChangeLog
Added: noweb-2.11b-r3.ebuild
Log:
Revbump for EAPI=3, fixed for Prefix, marked ~{ppc,x86,x64}-macos
(Portage version: 2.2.01.20430-prefix/cvs/Darwin i386)
Revision Changes Path
1.57 app-text/noweb/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/noweb/ChangeLog?rev=1.57&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/noweb/ChangeLog?rev=1.57&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/noweb/ChangeLog?r1=1.56&r2=1.57
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/noweb/ChangeLog,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- ChangeLog 25 Mar 2012 15:41:46 -0000 1.56
+++ ChangeLog 25 Apr 2012 17:50:15 -0000 1.57
@@ -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
1.1 app-text/noweb/noweb-2.11b-r3.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/noweb/noweb-2.11b-r3.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/noweb/noweb-2.11b-r3.ebuild?rev=1.1&content-type=text/plain
Index: noweb-2.11b-r3.ebuild
===================================================================
# 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
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-04-25 17:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-25 17:50 [gentoo-commits] gentoo-x86 commit in app-text/noweb: noweb-2.11b-r3.ebuild ChangeLog Fabian Groffen (grobian)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox