source: trunk/dports/net/dynamips/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4
5name            dynamips
6version         0.2.7
7revision        1
8categories      net
9maintainers     vexate.net:jstrine
10description     Cisco router emulator
11homepage        http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator
12platforms       darwin
13
14long_description \
15                Dynamips emulates a variety of Cisco routers on a \
16                traditional PC.  It supports the emulation of select 7200, \
17                3600, 3700, and 2600 series routers.  It uses real Cisco \
18                IOS images (which are not part of this package).  Of \
19                course, this emulator cannot replace a real router. It is \
20                simply a complementary tool to real labs for administrators \
21                of Cisco networks or people wanting to pass their \
22                CCNA/CCNP/CCIE exams.
23
24master_sites    http://www.ipflow.utc.fr/dynamips
25distname        dynamips-${version}
26checksums       md5 0fe1875bb4e7e3624ca420dd75c85279 \
27                sha1 6f65a2e92f5d27aca9d8608369cb20c9539a8121
28
29depends_lib     port:libelf \
30                port:libpcap
31
32patchfiles      Makefile.diff
33configure {}
34
35# patch.pre_args set to allow use of unmodified idle_pcs patch from developer
36patch.pre_args  -p1
37
38build.pre_args-append           PREFIX=${prefix}
39destroot.pre_args-append        PREFIX=${prefix}
40
41# compile using nojit if on PowerPC platform
42if {${os.arch} == "powerpc"} {
43        build.pre_args-append           DYNAMIPS_ARCH=nojit
44        destroot.pre_args-append        DYNAMIPS_ARCH=nojit
45}
46
47default_variants        +idle_pcs
48
49variant no_pcap \
50        description {Without support to send/receive external traffic} {
51
52        depends_lib-delete              port:libpcap
53        build.pre_args-append           HAS_PCAP=0
54        destroot.pre_args-append        HAS_PCAP=0
55}
56
57variant idle_pcs \
58        description {With support for multiple idle-pcs. Uses patch \
59                     written by Yannick Le Teigner available at \
60                     http://dynagui.sourceforge.net.} {
61       
62        patchfiles-append       idle_pcs.diff
63}
Note: See TracBrowser for help on using the repository browser.