summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-07-05 06:49:45 +0000
committerMike Frysinger <vapier@gentoo.org>2006-07-05 06:49:45 +0000
commit143e3a56eb2b6a3e506378fea0762f2f4f53af97 (patch)
treeb67b97af3469c32eca709bdde4635b1b504cb1d7 /dev-util/pccts
parentx86 stable, front end blah blah (diff)
downloadgentoo-2-143e3a56eb2b6a3e506378fea0762f2f4f53af97.tar.gz
gentoo-2-143e3a56eb2b6a3e506378fea0762f2f4f53af97.tar.bz2
gentoo-2-143e3a56eb2b6a3e506378fea0762f2f4f53af97.zip
sh love
(Portage version: 2.1.1_pre2-r2)
Diffstat (limited to 'dev-util/pccts')
-rw-r--r--dev-util/pccts/files/digest-pccts-1.33.332
-rw-r--r--dev-util/pccts/pccts-1.33.33.ebuild26
2 files changed, 15 insertions, 13 deletions
diff --git a/dev-util/pccts/files/digest-pccts-1.33.33 b/dev-util/pccts/files/digest-pccts-1.33.33
index f8f84b81c908..8e2a45e30189 100644
--- a/dev-util/pccts/files/digest-pccts-1.33.33
+++ b/dev-util/pccts/files/digest-pccts-1.33.33
@@ -1 +1,3 @@
MD5 fd70972b0a6aa2d3cf8b5c66d26d229d pccts133mr33.zip 738635
+RMD160 46a0955aedb263d196dae0054f6249d42b2ac835 pccts133mr33.zip 738635
+SHA256 d5aaf0b53999f43a9ff97c4993ba9f9682ed1864603c34f5e2728ae6a40f30a4 pccts133mr33.zip 738635
diff --git a/dev-util/pccts/pccts-1.33.33.ebuild b/dev-util/pccts/pccts-1.33.33.ebuild
index dcbc7e4cee39..97164baefe82 100644
--- a/dev-util/pccts/pccts-1.33.33.ebuild
+++ b/dev-util/pccts/pccts-1.33.33.ebuild
@@ -1,25 +1,26 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# 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.16 2005/07/29 23:44:11 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pccts/pccts-1.33.33.ebuild,v 1.17 2006/07/05 06:49:45 vapier Exp $
inherit eutils
-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/"
+SRC_URI="http://www.polhode.com/pccts133mr33.zip"
-SLOT="0"
LICENSE="BSD"
-KEYWORDS="x86 ppc sparc alpha hppa amd64 ia64 ~ppc-macos ppc64"
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ia64 ppc ~ppc-macos ppc64 sh sparc x86"
IUSE=""
DEPEND="app-arch/unzip"
+S=${WORKDIR}/${PN}
+
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${PF}-gentoo.diff
+ cd "${S}"
+ epatch "${FILESDIR}"/${PF}-gentoo.diff
}
src_compile() {
@@ -27,9 +28,8 @@ src_compile() {
}
src_install() {
-
# main binaries
- dobin bin/{antlr,dlg,genmk,sor}
+ dobin bin/{antlr,dlg,genmk,sor} || die
# .c and .cpp files go into /usr/include/pccts also,
# because genmk looks for them for being included in output-files
@@ -44,15 +44,15 @@ src_install() {
#
# main includes
insinto /usr/include/pccts
- doins h/*.{h,c,cpp}
+ doins h/*.{h,c,cpp} || die
# sorcerer includes
insinto /usr/include/pccts/sorcerer
- doins sorcerer/h/*.{h,c,cpp}
+ doins sorcerer/h/*.{h,c,cpp} || die
# sorcerer libraries
insinto /usr/include/pccts/sorcerer/lib
- doins sorcerer/lib/*.{h,c,cpp}
+ doins sorcerer/lib/*.{h,c,cpp} || die
# documentation
# leaving out the M$ and MAC stuff