summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2009-02-04 21:17:54 +0000
committerMarkus Meier <maekke@gentoo.org>2009-02-04 21:17:54 +0000
commitbb18e94691acb013584974dc581030cdf6cd4296 (patch)
tree7289600dde9d385158aad0ecaae52b783a0f5cf7 /media-gfx
parentarm/ia64/sparc stable wrt #254440 (diff)
downloadgentoo-2-bb18e94691acb013584974dc581030cdf6cd4296.tar.gz
gentoo-2-bb18e94691acb013584974dc581030cdf6cd4296.tar.bz2
gentoo-2-bb18e94691acb013584974dc581030cdf6cd4296.zip
version bump by Jean-Marc Hengen in bug #256525; install into /opt wrt bug #255867; old
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/nvidia-cg-toolkit/ChangeLog11
-rw-r--r--media-gfx/nvidia-cg-toolkit/files/80cgc-opt7
-rw-r--r--media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-2.1.0009.ebuild65
-rw-r--r--media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-2.1.0016.ebuild59
4 files changed, 75 insertions, 67 deletions
diff --git a/media-gfx/nvidia-cg-toolkit/ChangeLog b/media-gfx/nvidia-cg-toolkit/ChangeLog
index 5a770c6bddab..03162e421dfb 100644
--- a/media-gfx/nvidia-cg-toolkit/ChangeLog
+++ b/media-gfx/nvidia-cg-toolkit/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-gfx/nvidia-cg-toolkit
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/nvidia-cg-toolkit/ChangeLog,v 1.40 2008/12/22 20:45:48 maekke Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/nvidia-cg-toolkit/ChangeLog,v 1.41 2009/02/04 21:17:54 maekke Exp $
+
+*nvidia-cg-toolkit-2.1.0016 (04 Feb 2009)
+
+ 04 Feb 2009; Markus Meier <maekke@gentoo.org> +files/80cgc-opt,
+ -nvidia-cg-toolkit-2.1.0009.ebuild, +nvidia-cg-toolkit-2.1.0016.ebuild:
+ version bump by Jean-Marc Hengen in bug #256525; install into /opt wrt bug
+ #255867; old
22 Dec 2008; Markus Meier <maekke@gentoo.org>
nvidia-cg-toolkit-2.1.0012.ebuild:
diff --git a/media-gfx/nvidia-cg-toolkit/files/80cgc-opt b/media-gfx/nvidia-cg-toolkit/files/80cgc-opt
new file mode 100644
index 000000000000..f6efb106c771
--- /dev/null
+++ b/media-gfx/nvidia-cg-toolkit/files/80cgc-opt
@@ -0,0 +1,7 @@
+# /etc/env.d/80cgc :
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/nvidia-cg-toolkit/files/80cgc-opt,v 1.1 2009/02/04 21:17:54 maekke Exp $
+
+
+# Configures the CG Runtime environment for Bourne shell and compatible shells
+
+CG_COMPILER_EXE=/opt/bin/cgc
diff --git a/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-2.1.0009.ebuild b/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-2.1.0009.ebuild
deleted file mode 100644
index 224a99386054..000000000000
--- a/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-2.1.0009.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-2.1.0009.ebuild,v 1.2 2008/10/16 20:40:32 maekke Exp $
-
-inherit versionator
-
-MY_PV="$(get_version_component_range 1-2)"
-MY_DATE="August2008"
-DESCRIPTION="nvidia's c graphics compiler toolkit"
-HOMEPAGE="http://developer.nvidia.com/object/cg_toolkit.html"
-SRC_URI="x86? (
- http://developer.download.nvidia.com/cg/Cg_2.0/${PV}/Cg-${MY_PV}_${MY_DATE}_x86.tgz )
- amd64? (
- http://developer.download.nvidia.com/cg/Cg_2.0/${PV}/Cg-${MY_PV}_${MY_DATE}_x86_64.tgz )"
-
-LICENSE="NVIDIA"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND="virtual/glut"
-
-S="${WORKDIR}"
-
-src_compile() {
- einfo "Nothing to compile."
-}
-
-src_install() {
- dobin usr/bin/cgc
-
- if use x86; then
- dolib usr/lib/*
- elif use amd64; then
- dolib usr/lib64/*
- fi
-
- doenvd "${FILESDIR}"/80cgc
-
- insinto /usr/include/Cg
- doins usr/include/Cg/*
-
- doman usr/share/man/man3/*
-
- dodoc usr/local/Cg/MANIFEST usr/local/Cg/README \
- usr/local/Cg/docs/*.pdf usr/local/Cg/docs/CgReferenceManual.chm
-
- docinto html
- dohtml usr/local/Cg/docs/html/*
-
- docinto examples
- dodoc usr/local/Cg/examples/README
-
- docinto include/GL
- dodoc usr/local/Cg/include/GL/*
-
- # Copy all the example code.
- cd usr/local/Cg/examples
- insinto /usr/share/doc/${PF}/examples
- doins Makefile
- for dir in $(find * -type d) ; do
- insinto usr/share/doc/${PF}/examples/"${dir}"
- doins "${dir}"/*
- done
-}
diff --git a/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-2.1.0016.ebuild b/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-2.1.0016.ebuild
new file mode 100644
index 000000000000..58910c2dda23
--- /dev/null
+++ b/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-2.1.0016.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-2.1.0016.ebuild,v 1.1 2009/02/04 21:17:54 maekke Exp $
+
+inherit versionator
+
+MY_PV="$(get_version_component_range 1-2)"
+MY_DATE="November2008"
+DESCRIPTION="nvidia's c graphics compiler toolkit"
+HOMEPAGE="http://developer.nvidia.com/object/cg_toolkit.html"
+SRC_URI="x86? (
+ http://developer.download.nvidia.com/cg/Cg_2.0/${PV}/Cg-${MY_PV}_${MY_DATE}_x86.tgz )
+ amd64? (
+ http://developer.download.nvidia.com/cg/Cg_2.0/${PV}/Cg-${MY_PV}_${MY_DATE}_x86_64.tgz )"
+
+LICENSE="NVIDIA"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="strip"
+
+DEPEND="virtual/glut"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+src_compile() {
+ einfo "Nothing to compile."
+}
+
+src_install() {
+ local DEST=/opt/${PN}
+
+ into ${DEST}
+ dobin usr/bin/cgc || die
+ dosym ${DEST}/bin/cgc /opt/bin/cgc || die
+
+ if use x86; then
+ dolib usr/lib/* || die
+ elif use amd64; then
+ dolib usr/lib64/* || die
+ fi
+
+ doenvd "${FILESDIR}"/80cgc-opt
+
+ insinto ${DEST}/include/Cg
+ doins usr/include/Cg/*
+
+ insinto ${DEST}/man/man3
+ doins usr/share/man/man3/*
+
+ insinto ${DEST}/Cg
+ doins -r usr/local/Cg/*
+}
+
+pkg_postinst() {
+ einfo "Starting with ${CATEGORY}/${PN}-2.1.0016, nvidia-cg-toolkit"
+ einfo "is installed in /opt/nvidia-cg-toolkit."
+}