You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
34b3070336
for pf in */*/Portfile
do
ed -s "$pf" <<-'EOF'
1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
1g/^[[:space:]]*$/d
w
q
EOF
done
31 lines
727 B
Plaintext
31 lines
727 B
Plaintext
PortSystem 1.0
|
|
|
|
name cdpr
|
|
version 2.4
|
|
categories net
|
|
maintainers nomaintainer
|
|
platforms darwin
|
|
|
|
description Cisco Discovery Protocol Reporter
|
|
long_description CDPR will show which switch and port the machine running \
|
|
it is connected to. It also supports sending cdp data \
|
|
back to a central server.
|
|
|
|
homepage http://www.monkeymental.com/
|
|
|
|
master_sites sourceforge
|
|
extract.suffix .tgz
|
|
checksums md5 ee0f112e1a914168d088e4e0291efbcb
|
|
|
|
depends_lib port:libpcap
|
|
|
|
use_configure no
|
|
|
|
build.target
|
|
build.args CFLAGS="-Wall -ggdb -lpcap -I. -I${prefix}/include" \
|
|
LDFLAGS="-L${prefix}/lib -lpcap"
|
|
|
|
destroot {
|
|
xinstall -m 755 ${worksrcpath}/cdpr ${destroot}${prefix}/bin
|
|
}
|