1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/net-mgmt/sing/Makefile
2014-02-12 10:47:41 +00:00

34 lines
793 B
Makefile

# Created by: Roman Shterenzon <roman@xpert.com>
# $FreeBSD$
PORTNAME= sing
PORTVERSION= 1.1
PORTREVISION= 2
CATEGORIES= net-mgmt security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20sources/${PORTVERSION}
DISTNAME= SING-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool for sending customized ICMP packets
LICENSE= GPLv2
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-libpcap-prefix=/usr
CONFIGURE_ENV= LIBS="`${LIBNET_CONFIG} --libs`"
CPPFLAGS+= `${LIBNET_CONFIG} --defines` \
`${LIBNET_CONFIG} --cflags`
PLIST_FILES= sbin/sing \
man/man8/sing.8.gz
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
post-extract:
@${RM} -rf ${WRKSRC}/libpcap-* ;\
${RM} -rf ${WRKSRC}/Libnet-*
.include <bsd.port.mk>