summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2012-05-10 15:47:47 +0000
committerAgostino Sarubbo <ago@gentoo.org>2012-05-10 15:47:47 +0000
commitaa1a00eb0112e8f6e53539a5c856f987bebdf0db (patch)
tree097c2de1378917b91e50e964dabbe1fb3e209e4a /dev-lang
parentremove now old warning (diff)
downloadhistorical-aa1a00eb0112e8f6e53539a5c856f987bebdf0db.tar.gz
historical-aa1a00eb0112e8f6e53539a5c856f987bebdf0db.tar.bz2
historical-aa1a00eb0112e8f6e53539a5c856f987bebdf0db.zip
Remove old
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/bashforth/ChangeLog7
-rw-r--r--dev-lang/bashforth/bashforth-0.54a.ebuild19
-rw-r--r--dev-lang/gforth/ChangeLog6
-rw-r--r--dev-lang/gforth/gforth-0.6.2-r1.ebuild84
-rw-r--r--dev-lang/gforth/gforth-0.6.2.ebuild54
-rw-r--r--dev-lang/lisaac/ChangeLog5
-rw-r--r--dev-lang/lisaac/lisaac-0.13.1.ebuild68
-rw-r--r--dev-lang/mmix/ChangeLog6
-rw-r--r--dev-lang/mmix/mmix-20060324-r1.ebuild47
-rw-r--r--dev-lang/mmix/mmix-20060324.ebuild33
-rw-r--r--dev-lang/mmix/mmix-20100311.ebuild46
-rw-r--r--dev-lang/mmix/mmix-20110420.ebuild44
-rw-r--r--dev-lang/nqc/ChangeLog7
-rw-r--r--dev-lang/nqc/nqc-3.1_p4.ebuild52
14 files changed, 24 insertions, 454 deletions
diff --git a/dev-lang/bashforth/ChangeLog b/dev-lang/bashforth/ChangeLog
index cbee79e0bb57..135a244719bb 100644
--- a/dev-lang/bashforth/ChangeLog
+++ b/dev-lang/bashforth/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/bashforth
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/bashforth/ChangeLog,v 1.4 2007/03/19 11:47:10 kloeri Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/bashforth/ChangeLog,v 1.5 2012/05/10 15:43:19 ago Exp $
+
+ 10 May 2012; Agostino Sarubbo <ago@gentoo.org> -bashforth-0.54a.ebuild:
+ Remove old
19 Mar 2007; Bryan Østergaard <kloeri@gentoo.org> metadata.xml:
Remove mkennedy from metadata.xml due to retirement.
diff --git a/dev-lang/bashforth/bashforth-0.54a.ebuild b/dev-lang/bashforth/bashforth-0.54a.ebuild
deleted file mode 100644
index f66f3379c3eb..000000000000
--- a/dev-lang/bashforth/bashforth-0.54a.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/bashforth/bashforth-0.54a.ebuild,v 1.1 2006/02/17 21:19:50 mkennedy Exp $
-
-DESCRIPTION="BashForth is a string-threaded Forth interpreter in Bash."
-HOMEPAGE="http://www.forthfreak.net/index.cgi?BashForth"
-SRC_URI="mirror://gentoo/bashforth_v${PV}.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE=""
-
-DEPEND=">app-shells/bash-2.04"
-
-S=${WORKDIR}
-
-src_install() {
- newbin bashforth_v${PV} bashforth
-}
diff --git a/dev-lang/gforth/ChangeLog b/dev-lang/gforth/ChangeLog
index 195539ee9b1b..25f324a18289 100644
--- a/dev-lang/gforth/ChangeLog
+++ b/dev-lang/gforth/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/gforth
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gforth/ChangeLog,v 1.35 2012/04/24 09:55:47 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gforth/ChangeLog,v 1.36 2012/05/10 15:44:31 ago Exp $
+
+ 10 May 2012; Agostino Sarubbo <ago@gentoo.org> -gforth-0.6.2-r1.ebuild,
+ -gforth-0.6.2.ebuild:
+ Remove old
24 Apr 2012; Michał Górny <mgorny@gentoo.org> gforth-0.7.0.ebuild:
Update to use mirror://.
diff --git a/dev-lang/gforth/gforth-0.6.2-r1.ebuild b/dev-lang/gforth/gforth-0.6.2-r1.ebuild
deleted file mode 100644
index 8b58e4fd2f3c..000000000000
--- a/dev-lang/gforth/gforth-0.6.2-r1.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gforth/gforth-0.6.2-r1.ebuild,v 1.7 2009/09/23 16:50:40 patrick Exp $
-
-inherit elisp-common eutils toolchain-funcs flag-o-matic
-
-DESCRIPTION="GNU Forth is a fast and portable implementation of the ANSI Forth language"
-HOMEPAGE="http://www.gnu.org/software/gforth"
-SRC_URI="http://www.complang.tuwien.ac.at/forth/gforth/${P}.tar.gz
- http://www.complang.tuwien.ac.at/forth/gforth/Patches/${PV}-debug.diff"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~ppc ~x86 ~x86-fbsd"
-IUSE="emacs force-reg"
-
-DEPEND="dev-libs/ffcall
- emacs? ( virtual/emacs )"
-
-SITEFILE=50gforth-gentoo.el
-
-pkg_setup() {
- if use force-reg; then
- while read line; do ewarn "${line}"; done <<'EOF'
-
-You have chosen to enable "force-reg" in USE. From the GForth manual
-(http://www.public.iastate.edu/~forth/gforth_141.html):
-
- "This feature not only depends on the machine, but also on the
- compiler version: On some machines some compiler versions produce
- incorrect code when certain explicit register declarations are
- used. So by default -DFORCE_REG is not used."
-
-EOF
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${PV}-ppc-configure-gentoo.patch # Bug #131931
- epatch "${FILESDIR}"/gforth.el-gentoo.patch
- epatch "${FILESDIR}"/${PV}-c-to-forth-to-c.patch
- epatch "${DISTDIR}"/${PV}-debug.diff
-
-}
-
-src_compile() {
- filter-flags -Os -O0 -O1 -DFORCE_REG # Bug #120159
- append-flags -O2 # Bug #120159
-
- econf CC="$(tc-getCC) -fno-reorder-blocks -fno-inline" \
- `use_enable force-reg force-reg` \
- || die "econf failed"
- make || die
- if use emacs; then
- elisp-compile *.el || die
- fi
-}
-
-src_install() {
- make \
- libdir="${D}"/usr/lib \
- infodir="${D}"/usr/share/info \
- mandir="${D}"/usr/share/man \
- datadir="${D}"/usr/share \
- bindir="${D}"/usr/bin \
- install || die
-
- dodoc AUTHORS BUGS ChangeLog NEWS* README* ToDo doc/glossaries.doc doc/*.ps
-
- if use emacs; then
- elisp-install ${PN} *.el *.elc || die
- elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die
- fi
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/dev-lang/gforth/gforth-0.6.2.ebuild b/dev-lang/gforth/gforth-0.6.2.ebuild
deleted file mode 100644
index f696fda06fe6..000000000000
--- a/dev-lang/gforth/gforth-0.6.2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gforth/gforth-0.6.2.ebuild,v 1.14 2009/09/23 16:50:41 patrick Exp $
-
-inherit elisp-common eutils toolchain-funcs
-
-DESCRIPTION="GNU Forth is a fast and portable implementation of the ANSI Forth language"
-HOMEPAGE="http://www.gnu.org/software/gforth"
-SRC_URI="http://www.complang.tuwien.ac.at/forth/gforth//${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="emacs"
-
-DEPEND="emacs? ( virtual/emacs )"
-
-SITEFILE=50gforth-gentoo.el
-
-src_unpack() {
- unpack ${A}
- epatch ${FILESDIR}/gforth.el-gentoo.patch || die
-}
-
-src_compile() {
- econf CC="$(tc-getCC) -fno-reorder-blocks -fno-inline" --enable-force-reg || die "econf failed"
- make || die
- use emacs && emacs --batch -f batch-byte-compile --no-site-file --no-init-file *.el
-}
-
-src_install() {
- make \
- libdir=${D}/usr/lib \
- infodir=${D}/usr/share/info \
- mandir=${D}/usr/share/man \
- datadir=${D}/usr/share \
- bindir=${D}/usr/bin \
- install || die
-
- dodoc AUTHORS BUGS ChangeLog NEWS* README* ToDo doc/glossaries.doc doc/*.ps
-
- if use emacs; then
- elisp-install ${PN} *.el *.elc
- elisp-site-file-install ${FILESDIR}/${SITEFILE}
- fi
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/dev-lang/lisaac/ChangeLog b/dev-lang/lisaac/ChangeLog
index 3662c6f610fb..621c4bbbdb93 100644
--- a/dev-lang/lisaac/ChangeLog
+++ b/dev-lang/lisaac/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/lisaac
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lisaac/ChangeLog,v 1.7 2012/02/12 11:54:36 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lisaac/ChangeLog,v 1.8 2012/05/10 15:44:53 ago Exp $
+
+ 10 May 2012; Agostino Sarubbo <ago@gentoo.org> -lisaac-0.13.1.ebuild:
+ Remove old
*lisaac-0.13.1-r1 (12 Feb 2012)
diff --git a/dev-lang/lisaac/lisaac-0.13.1.ebuild b/dev-lang/lisaac/lisaac-0.13.1.ebuild
deleted file mode 100644
index 5439a1348d26..000000000000
--- a/dev-lang/lisaac/lisaac-0.13.1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lisaac/lisaac-0.13.1.ebuild,v 1.3 2011/11/06 16:38:23 phajdan.jr Exp $
-
-inherit versionator elisp-common
-
-DESCRIPTION="Lisaac is an object prototype based language"
-HOMEPAGE="http://isaacproject.u-strasbg.fr/li.html"
-SRC_URI="http://isaacproject.u-strasbg.fr/download/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="vim-syntax emacs examples"
-
-DEPEND="vim-syntax? ( app-editors/vim )
- emacs? ( virtual/emacs )"
-
-RDEPEND="${DEPEND}"
-
-SITEFILE=50${PN}-gentoo.el
-
-src_compile(){
- emake || die "emake failed"
-
- if use emacs; then
- elisp-compile editor/emacs/lisaac-mode.el \
- || die "compiling emacs component failed."
- fi
-}
-
-src_install(){
- emake DESTDIR="${D}" install || die "install failed"
-
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax/
- doins editor/vim/syntax/lisaac.vim
- insinto /usr/share/vim/vimfiles/indent/
- doins editor/vim/indent/lisaac.vim
- fi
-
- if use emacs; then
- elisp-install ${PN} editor/emacs/*.{el,elc} \
- || die "installing emacs coponent failed."
- elisp-site-file-install "${FILESDIR}"/${SITEFILE} \
- || die "installing emacs site file failed"
- fi
-
- if use examples; then
- dodir /usr/share/${PN}/
- cp -r example "${D}"/usr/share/${PN}/examples
- fi
-}
-
-pkg_postinst(){
- if use vim-syntax; then
- elog "Add the following line to your vimrc if you want"
- elog "to enable the lisaac support :"
- elog
- elog "au BufNewFile,BufRead *.li setf lisaac"
- fi
-
- use emacs && elisp-site-regen
-}
-
-pkg_postrm(){
- use emacs && elisp-site-regen
-}
diff --git a/dev-lang/mmix/ChangeLog b/dev-lang/mmix/ChangeLog
index e5db7c1f4b02..2d1f56419928 100644
--- a/dev-lang/mmix/ChangeLog
+++ b/dev-lang/mmix/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/mmix
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mmix/ChangeLog,v 1.21 2012/03/10 17:09:35 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mmix/ChangeLog,v 1.22 2012/05/10 15:47:03 ago Exp $
+
+ 10 May 2012; Agostino Sarubbo <ago@gentoo.org> -mmix-20060324-r1.ebuild,
+ -mmix-20060324.ebuild, -mmix-20100311.ebuild, -mmix-20110420.ebuild:
+ Remove old
10 Mar 2012; Brent Baude <ranger@gentoo.org> mmix-20110605.ebuild:
Marking mmix-20110605 ppc for bug 400003
diff --git a/dev-lang/mmix/mmix-20060324-r1.ebuild b/dev-lang/mmix/mmix-20060324-r1.ebuild
deleted file mode 100644
index cb0e34da0b0a..000000000000
--- a/dev-lang/mmix/mmix-20060324-r1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mmix/mmix-20060324-r1.ebuild,v 1.1 2010/09/18 01:38:42 jer Exp $
-
-EAPI="2"
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Donald Knuth's MMIX Assembler and Simulator."
-HOMEPAGE="http://www-cs-faculty.stanford.edu/~knuth/mmix.html"
-SRC_URI="http://www-cs-faculty.stanford.edu/~knuth/programs/${P}.tar.gz"
-
-DEPEND="|| ( >=dev-util/cweb-3.63 virtual/tex-base )"
-RDEPEND=""
-
-SLOT="0"
-LICENSE="mmix"
-KEYWORDS="~ppc ~x86"
-IUSE="doc"
-
-S="${WORKDIR}"
-
-src_prepare() {
-cp -av Makefile{,.orig}
- epatch \
- "${FILESDIR}"/${P}-makefile.patch \
- "${FILESDIR}"/${P}-includes.patch
-}
-
-src_compile() {
- emake all \
- CFLAGS="${CFLAGS}" \
- CC=$(tc-getCC) \
- || die
- if use doc ; then
- emake doc || die
- fi
-}
-
-src_install () {
- dobin mmix mmixal mmmix mmotype abstime
- dodoc README mmix.1
- if use doc ; then
- insinto /usr/share/doc/${PF}
- doins *.ps
- fi
-}
diff --git a/dev-lang/mmix/mmix-20060324.ebuild b/dev-lang/mmix/mmix-20060324.ebuild
deleted file mode 100644
index c22b12a36b25..000000000000
--- a/dev-lang/mmix/mmix-20060324.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mmix/mmix-20060324.ebuild,v 1.6 2008/09/03 09:41:10 opfer Exp $
-
-S=${WORKDIR}
-
-DESCRIPTION="Donald Knuth's MMIX Assembler and Simulator."
-HOMEPAGE="http://www-cs-faculty.stanford.edu/~knuth/mmix.html"
-SRC_URI="http://www-cs-faculty.stanford.edu/~knuth/programs/${P}.tar.gz"
-
-DEPEND="|| ( >=dev-util/cweb-3.63 virtual/tex-base )"
-RDEPEND=""
-
-SLOT="0"
-LICENSE="mmix"
-KEYWORDS="ppc x86"
-IUSE="doc"
-
-src_compile() {
- emake -j1 all CFLAGS="${CFLAGS}" || die
- if use doc ; then
- emake doc || die
- fi
-}
-
-src_install () {
- dobin mmix mmixal mmmix mmotype abstime
- dodoc README mmix.1
- if use doc ; then
- insinto /usr/share/doc/${PF}
- doins *.ps
- fi
-}
diff --git a/dev-lang/mmix/mmix-20100311.ebuild b/dev-lang/mmix/mmix-20100311.ebuild
deleted file mode 100644
index 73ec8b08c00b..000000000000
--- a/dev-lang/mmix/mmix-20100311.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mmix/mmix-20100311.ebuild,v 1.2 2011/05/10 10:20:54 xmw Exp $
-
-EAPI="2"
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Donald Knuth's MMIX Assembler and Simulator."
-HOMEPAGE="http://www-cs-faculty.stanford.edu/~knuth/mmix.html"
-SRC_URI="http://www-cs-faculty.stanford.edu/~knuth/programs/${P}.tar.gz"
-
-DEPEND="|| ( >=dev-util/cweb-3.63 virtual/tex-base )"
-RDEPEND=""
-
-SLOT="0"
-LICENSE="mmix"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc"
-
-S="${WORKDIR}"
-
-src_prepare() {
-cp -av Makefile{,.orig}
- epatch \
- "${FILESDIR}"/${PN}-20060324-makefile.patch
-}
-
-src_compile() {
- emake all \
- CFLAGS="${CFLAGS}" \
- CC=$(tc-getCC) \
- || die
- if use doc ; then
- emake doc || die
- fi
-}
-
-src_install () {
- dobin mmix mmixal mmmix mmotype abstime
- dodoc README mmix.1
- if use doc ; then
- insinto /usr/share/doc/${PF}
- doins *.ps
- fi
-}
diff --git a/dev-lang/mmix/mmix-20110420.ebuild b/dev-lang/mmix/mmix-20110420.ebuild
deleted file mode 100644
index bcff3b22baf6..000000000000
--- a/dev-lang/mmix/mmix-20110420.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mmix/mmix-20110420.ebuild,v 1.1 2011/05/10 10:20:54 xmw Exp $
-
-EAPI="2"
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Donald Knuth's MMIX Assembler and Simulator."
-HOMEPAGE="http://www-cs-faculty.stanford.edu/~knuth/mmix.html"
-SRC_URI="http://www-cs-faculty.stanford.edu/~knuth/programs/${P}.tar.gz"
-
-DEPEND="|| ( >=dev-util/cweb-3.63 virtual/tex-base )"
-RDEPEND=""
-
-SLOT="0"
-LICENSE="mmix"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc"
-
-S="${WORKDIR}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-makefile.patch
-}
-
-src_compile() {
- emake all \
- CFLAGS="${CFLAGS}" \
- CC=$(tc-getCC) \
- || die
- if use doc ; then
- emake doc || die
- fi
-}
-
-src_install () {
- dobin mmix mmixal mmmix mmotype abstime || die
- dodoc README mmix.1 || die
- if use doc ; then
- insinto /usr/share/doc/${PF}
- doins *.ps || die
- fi
-}
diff --git a/dev-lang/nqc/ChangeLog b/dev-lang/nqc/ChangeLog
index 574d2a297f50..5c51906f9f0b 100644
--- a/dev-lang/nqc/ChangeLog
+++ b/dev-lang/nqc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/nqc
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/nqc/ChangeLog,v 1.18 2011/01/10 15:59:24 jer Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/nqc/ChangeLog,v 1.19 2012/05/10 15:47:47 ago Exp $
+
+ 10 May 2012; Agostino Sarubbo <ago@gentoo.org> -nqc-3.1_p4.ebuild:
+ Remove old
10 Jan 2011; Jeroen Roovers <jer@gentoo.org> nqc-3.1_p6.ebuild:
Fix a && b || die error (bug #351028).
diff --git a/dev-lang/nqc/nqc-3.1_p4.ebuild b/dev-lang/nqc/nqc-3.1_p4.ebuild
deleted file mode 100644
index d30e96d37ac2..000000000000
--- a/dev-lang/nqc/nqc-3.1_p4.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/nqc/nqc-3.1_p4.ebuild,v 1.5 2010/12/30 18:42:58 jer Exp $
-
-inherit eutils
-
-DESCRIPTION="Not Quite C - C-like compiler for Lego Mindstorms"
-SRC_URI="http://bricxcc.sourceforge.net/nqc/release/${P/_p/.r}.tgz"
-HOMEPAGE="http://bricxcc.sourceforge.net/nqc/"
-
-S=${WORKDIR}/${P/_p/.r}
-
-SLOT="0"
-LICENSE="MPL-1.0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="usb"
-
-DEPEND="usb? ( dev-libs/legousbtower )"
-
-src_compile()
-{
- if use usb; then
- epatch "${FILESDIR}"/${P}-usb.patch
- fi
- if use amd64; then
- epatch "${FILESDIR}"/${P}-amd64.patch
- fi
- sed -i -e 's/PREFIX?\=\/usr\/local/PREFIX?\=\/usr/' Makefile
- emake || die
-}
-
-src_install() {
- dobin bin/*
- mv nqc-man-2.1r1-0.man nqc.1
- doman nqc.1
- dodoc history.txt readme.txt scout.txt test.nqc
-}
-
-pkg_postinst() {
- elog "To change the default serial name for nqc (/dev/ttyS0) set"
- elog "the environment variable RCX_PORT or use the nqc command line"
- elog "option -S to specify your serial port."
- if use usb; then
- elog
- elog "You have enabled USB support. To use usb on the"
- elog "command line use the -Susb command line option"
- else
- elog
- elog "You have not enabled usb support and will be unable"
- elog "to use the usb IR tower. To enable USB use the usb use flag"
- fi
-}