/[gentoo-x86]/net-analyzer/nam/nam-1.11.ebuild
Gentoo

Diff of /net-analyzer/nam/nam-1.11.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.7 Revision 1.8
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nam/Attic/nam-1.11.ebuild,v 1.7 2007/07/22 07:54:23 pva Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nam/Attic/nam-1.11.ebuild,v 1.8 2009/03/20 19:42:29 zmedico Exp $
4 4
5inherit eutils 5inherit eutils
6 6
7DESCRIPTION="Network Simulator GUI for NS" 7DESCRIPTION="Network Simulator GUI for NS"
8HOMEPAGE="http://www.isi.edu/nsnam/${PN}/" 8HOMEPAGE="http://www.isi.edu/nsnam/${PN}/"
30 # input should always be in INCREASING order 30 # input should always be in INCREASING order
31 local ACCEPTVER="8.3 8.4" 31 local ACCEPTVER="8.3 8.4"
32 [ -n "$*" ] && ACCEPTVER="$*" 32 [ -n "$*" ] && ACCEPTVER="$*"
33 for i in ${ACCEPTVER}; do 33 for i in ${ACCEPTVER}; do
34 use debug && einfo "Testing TCL ${i}" 34 use debug && einfo "Testing TCL ${i}"
35 # we support being more specific
36 [ "$(#i)" = "3" ] && i="${i}*"
37 has_version ">=dev-lang/tcl-${i}" && mytclver=${i} 35 has_version ">=dev-lang/tcl-${i}" && mytclver=${i}
38 done 36 done
39 use debug && einfo "Using TCL ${mytclver}" 37 use debug && einfo "Using TCL ${mytclver}"
40 if [ -z "${mytclver}" ]; then 38 if [ -z "${mytclver}" ]; then
41 die "Unable to find a suitable version of TCL" 39 die "Unable to find a suitable version of TCL"

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20