source: trunk/dports/net/dynamips-devel/Portfile

Last change on this file was 130247, checked in by mf2k@…, 3 years ago

asterisk dtach dynamips-devel libdmtx mtr rb-rubygems: Ports abandoned. (#44845)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 130247 2014-12-29 20:23:19Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            dynamips-devel
6version         0.2.8-RC2
7revision        1
8categories      net
9license         GPL-2
10maintainers     nomaintainer
11description     Cisco router emulator
12homepage        http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator
13platforms       darwin
14
15long_description \
16                Dynamips emulates a variety of Cisco routers on a \
17                traditional PC.  It supports the emulation of select 7200, \
18                3600, 3700, and 2600 series routers.  It uses real Cisco \
19                IOS images (which are not part of this package).  Of \
20                course, this emulator cannot replace a real router. It is \
21                simply a complementary tool to real labs for administrators \
22                of Cisco networks or people wanting to pass their \
23                CCNA/CCNP/CCIE exams.
24
25master_sites    http://www.ipflow.utc.fr/dynamips
26distname        dynamips-${version}
27checksums       md5 8d12d28684d164fe3312a3fe43c84d2e \
28                sha1 349270690996a1e260b3eceb51ea90f94c25a59e
29
30depends_lib     port:libelf \
31                        port:libpcap
32
33patchfiles      patch-Makefile
34use_configure no
35
36build.pre_args-append           PREFIX=${prefix}
37destroot.pre_args-append        PREFIX=${prefix}
38
39# compile using nojit if on non-i386 platform
40# is meant to work on x86_64 too but apparently crashes; ticket #22285
41if {${build_arch} ne "i386"} {
42        build.pre_args-append           DYNAMIPS_ARCH=nojit
43        destroot.pre_args-append        DYNAMIPS_ARCH=nojit
44}
45
46#default_variants       +idle_pcs
47
48variant no_pcap \
49        description {Without support to send/receive external traffic} {
50
51        depends_lib-delete              port:libpcap
52        build.pre_args-append           HAS_PCAP=0
53        destroot.pre_args-append        HAS_PCAP=0
54}
Note: See TracBrowser for help on using the repository browser.