source: trunk/dports/net/libpcap/Portfile

Last change on this file was 152274, checked in by mps@…, 11 months ago

libpcap: require MacPorts flex to build.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 152274 2016-09-02 11:03:02Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                libpcap
7version             1.8.0
8categories          net
9maintainers         mps openmaintainer
10license             BSD
11description         Packet Capture library
12long_description    The Packet Capture library provides a high level \
13                    interface to packet capture systems.  All packets \
14                    on the network, even those destined for other hosts, \
15                    are accessible through this mechanism.
16homepage            http://www.tcpdump.org/
17platforms           darwin
18master_sites        ${homepage}release/
19
20checksums           rmd160  4cfef07ac9f008b329c00bf0ebbe547f6738f2eb \
21                    sha256  f47b51533f9f060afb304010ea5cbf51d032707333bca70c36351d255754659c
22
23configure.args      --disable-bluetooth \
24                    --disable-canusb \
25                    --disable-can \
26                    --disable-universal \
27                    --disable-dbus \
28                    --enable-ipv6
29
30depends_build       port:flex
31
32post-destroot {
33    set docdir ${destroot}${prefix}/share/doc/${name}
34    xinstall -d ${docdir}
35    xinstall -m 644 -W ${worksrcpath} \
36        CHANGES \
37        CREDITS \
38        LICENSE \
39        README \
40        README.macosx \
41        TODO \
42        ${docdir}
43}
44
45livecheck.type      regex
46livecheck.url       [lindex ${master_sites} 0]
47livecheck.regex     ${name}-(\[0-9.\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.