diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2003-06-11 08:14:56 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2003-06-11 08:14:56 +0000 |
commit | be9e9ad02ac850cd923d3ce3bfa19e34850464ef (patch) | |
tree | dcc13a27530340c9cffcb5846d194fbe0b3ce8cb /dev-util/pccts/pccts-1.33.33.ebuild | |
parent | Version bump (diff) | |
download | gentoo-2-be9e9ad02ac850cd923d3ce3bfa19e34850464ef.tar.gz gentoo-2-be9e9ad02ac850cd923d3ce3bfa19e34850464ef.tar.bz2 gentoo-2-be9e9ad02ac850cd923d3ce3bfa19e34850464ef.zip |
Version bump
Diffstat (limited to 'dev-util/pccts/pccts-1.33.33.ebuild')
-rw-r--r-- | dev-util/pccts/pccts-1.33.33.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/dev-util/pccts/pccts-1.33.33.ebuild b/dev-util/pccts/pccts-1.33.33.ebuild new file mode 100644 index 000000000000..ee7572a2331c --- /dev/null +++ b/dev-util/pccts/pccts-1.33.33.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/pccts/pccts-1.33.33.ebuild,v 1.1 2003/06/11 08:14:47 phosphan Exp $ + +S=${WORKDIR}/${PN} +DESCRIPTION="Purdue Compiler Construction Tool Set is an embedded C/C++ parser generator" +SRC_URI="http://www.polhode.com/pccts133mr33.zip" +HOMEPAGE="http://www.polhode.com/" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~x86 ~ppc ~sparc ~alpha" + +DEPEND="app-arch/unzip" + +src_unpack() { + unpack ${A} + + patch -p0 <${FILESDIR}/${PF}-gentoo.diff || die +} + +src_compile() { + emake COPT="${CFLAGS}" || die "compilation failed" +} + +src_install() { + + # main binaries + dobin bin/{antlr,dlg,genmk,sor} + + # .c and .cpp files go into /usr/include/pccts also, + # because genmk looks for them for being included in output-files + # (which are c/c++) generated from grammar-files + # right now i include _everything_ just to make sure + # it doesn't break pccts-based projects + # + # if i dive further into the details of genmk.c + # it should be possible to put that stuff into /usr/share/pccts + # + # the M$ and MAC specific stuff gets _not_ included + # + # main includes + insinto /usr/include/pccts + doins h/*.{h,c,cpp} + + # sorcerer includes + insinto /usr/include/pccts/sorcerer + doins sorcerer/h/*.{h,c,cpp} + + # sorcerer libraries + insinto /usr/include/pccts/sorcerer/lib + doins sorcerer/lib/*.{h,c,cpp} + + # documentation + # leaving out the M$ and MAC stuff + dodoc CHANGES* KNOWN_PROBLEMS* README RIGHTS history.txt history.ps + dodoc sorcerer/README sorcerer/UPDATES + + # manual pages + doman dlg/dlg.1 antlr/antlr.1 +} |