From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MsaD0-0006bc-8f for garchives@archives.gentoo.org; Tue, 29 Sep 2009 10:45:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5DE78E07B7; Tue, 29 Sep 2009 10:45:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1EF52E07B7 for ; Tue, 29 Sep 2009 10:45:25 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id BA0516750C for ; Tue, 29 Sep 2009 10:45:24 +0000 (UTC) Received: from flameeyes by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1MsaCy-0002hZ-7g for gentoo-commits@lists.gentoo.org; Tue, 29 Sep 2009 10:45:24 +0000 From: "Diego Petteno (flameeyes)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, flameeyes@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in app-doc/heirloom-doctools: metadata.xml ChangeLog heirloom-doctools-080407.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: metadata.xml ChangeLog heirloom-doctools-080407.ebuild X-VCS-Directories: app-doc/heirloom-doctools X-VCS-Committer: flameeyes X-VCS-Committer-Name: Diego Petteno Content-Type: text/plain; charset=utf8 Message-Id: Sender: Diego Petteno Date: Tue, 29 Sep 2009 10:45:24 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 08377ef1-c2d0-4b33-89e1-a685613b4e72 X-Archives-Hash: 8b24d33ca087ef8a7e55243afb821b73 flameeyes 09/09/29 10:45:24 Added: metadata.xml ChangeLog heirloom-doctools-080407.ebuild Log: Initial import of the heirloom-doctools package (alternative to sys-app= s/groff derived from OpenSolaris, mostly in C). (Portage version: 2.2_rc42/cvs/Linux x86_64) Revision Changes Path 1.1 app-doc/heirloom-doctools/metadata.xml file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/heirloom-d= octools/metadata.xml?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/heirloom-d= octools/metadata.xml?rev=3D1.1&content-type=3Dtext/plain Index: metadata.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D no-herd flameeyes@gentoo.org Build the mpm utility; this is disabled by default because it's rarely used and the only C++ tool in the suite. 1.1 app-doc/heirloom-doctools/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/heirloom-d= octools/ChangeLog?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/heirloom-d= octools/ChangeLog?rev=3D1.1&content-type=3Dtext/plain Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # ChangeLog for app-doc/heirloom-doctools # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/app-doc/heirloom-doctools/ChangeLog,v = 1.1 2009/09/29 10:45:23 flameeyes Exp $ *heirloom-doctools-080407 (29 Sep 2009) 29 Sep 2009; Diego E. Petten=C3=B2 +files/080407.config, +heirloom-doctools-080407.ebuild, +metadata.xml: Initial import of the heirloom-doctools package (alternative to sys-apps/groff derived from OpenSolaris, mostly in C). 1.1 app-doc/heirloom-doctools/heirloom-doctools-080407.e= build file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/heirloom-d= octools/heirloom-doctools-080407.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/heirloom-d= octools/heirloom-doctools-080407.ebuild?rev=3D1.1&content-type=3Dtext/pla= in Index: heirloom-doctools-080407.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-doc/heirloom-doctools/heirloom-doc= tools-080407.ebuild,v 1.1 2009/09/29 10:45:23 flameeyes Exp $ EAPI=3D2 inherit flag-o-matic toolchain-funcs multilib DESCRIPTION=3D"Classic Unix documentation tools ported from OpenSolaris" HOMEPAGE=3D"http://heirloom.sourceforge.net/doctools.html" SRC_URI=3D"mirror://sourceforge/heirloom/${P}.tar.bz2" LICENSE=3D"CDDL" SLOT=3D"0" KEYWORDS=3D"~amd64" IUSE=3D"cxx" RDEPEND=3D"!sys-apps/groff" DEPEND=3D"sys-devel/flex sys-devel/bison" src_prepare() { # Make sure that C++ code is built with CXXFLAGS and not CFLAGS. find . -name Makefile.mk -exec \ sed -i \ -e '/(CCC)/s:CFLAGS:CXXFLAGS:' \ {} + # mpm uses C++, we'll build it explicitly if we really want to sed -i -e 's:mpm:$(MPM):' makefile # Monkeypatching dependencies to avoid parallel make failure echo "picl.o: picl.c y.tab.h" >> pic/Makefile.mk } src_configure() { append-cppflags -D_GNU_SOURCE sed \ -e "s:@CFLAGS@:${CFLAGS}:" \ -e "s:@CXXFLAGS@:${CXXFLAGS}:" \ -e "s:@CPPFLAGS@:${CPPFLAGS}:" \ -e "s:@LDFLAGS@:${LDFLAGS}:" \ -e "s:@CC@:$(tc-getCC):" \ -e "s:@CXX@:$(tc-getCXX):" \ -e "s:@RANLIB@:$(tc-getRANLIB):" \ -e "s:@libdir@:$(get_libdir):" \ "${FILESDIR}"/${PV}.config \ > "${S}"/mk.config } src_compile() { emake $(use cxx && echo MPM=3Dmpm) || die } src_install() { # The build system uses the ROOT variable in place of DESTIDR. emake $(use cxx && echo MPM=3Dmpm) ROOT=3D"${D}" install || die dodoc README CHANGES || die # Rename ptx to avoid a collision with coreutils=E2=80=A6 maybe this # should be made conditional to userland_GNU (somebody got to # check on FreeBSD). mv "${D}"/usr/bin/{,hl-}ptx || die mv "${D}"/usr/share/man/man1/{,hl-}ptx.1* || die # Not sure why they install in man1b, but we don't list that in by # default, so move all of them to man1. We don't do that in the # Makefiles, because it's definitely more complex (even though # faster). pushd "${D}"/usr/share/man for man in man1b/*.1b*; do mv $man ${man//1b/1} || die "failed moving $man" done rmdir man1b popd } pkg_postinst() { elog "To make proper use of heirloom-doctools with sys-apps/man you" elog "need to make sure that /etc/man.conf is configured properly with" elog "the following settings:" elog "" elog "TROFF /usr/bin/troff -Tlocale -mg -msafe -mpadj -mandoc" elog "NROFF /usr/bin/nroff -mg -msafe -mpadj -mandoc" elog "EQN /usr/bin/eqn -Tps" elog "NEQN /usr/bin/neqn -Tlatin1" elog "TBL /usr/bin/tbl" elog "COL /usr/bin/col" elog "REFER /usr/bin/refer" elog "PIC /usr/bin/pic" elog "VGRIND /usr/bin/vgrind" elog "GRAP /usr/bin/grap" }