mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
3ac88e339a
PR: 192167 Approved by: coco@executive-computing.de (maintainer)
35 lines
769 B
Makefile
35 lines
769 B
Makefile
# Created by: joseph@randomnetworks.com
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sendip
|
|
PORTVERSION= 2.5
|
|
PORTREVISION= 4
|
|
CATEGORIES= net-mgmt ipv6
|
|
MASTER_SITES= http://www.earth.li/projectpurple/files/
|
|
|
|
MAINTAINER= coco@executive-computing.de
|
|
COMMENT= SendIP is a commandline tool to allow sending arbitrary IP packets
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= help2man:${PORTSDIR}/misc/help2man
|
|
|
|
USES= gmake perl5 compiler
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${COMPILER_TYPE} == clang
|
|
CFLAGS+= -Wno-empty-body -Wno-constant-conversion
|
|
.endif
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sendip
|
|
.for slib in ipv4.so ipv6.so icmp.so tcp.so udp.so rip.so ripng.so ntp.so \
|
|
bgp.so
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/sendip/${slib}
|
|
.endfor
|
|
|
|
.include <bsd.port.post.mk>
|