aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/sing/Makefile
blob: 09b7c444d8226ad62c1c48f08eb6d10c43b11130 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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`
MAN8=       sing.8
PLIST_FILES=    sbin/sing

LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config

post-extract:
    @${RM} -rf ${WRKSRC}/libpcap-* ;\
    ${RM} -rf ${WRKSRC}/Libnet-*

.include <bsd.port.mk>