aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/sing/Makefile
blob: c4fcf58f8ebde0c546a83f8d302759e97562d08b (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
34
# Ports collection makefile for:  sing
# Date created:           Oct 6 2000
# Whom:               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

BUILD_DEPENDS=  ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10

GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=--with-libpcap-prefix=/usr
CONFIGURE_ENV=  CPPFLAGS="`${LIBNET_CONFIG} --defines` \
        `${LIBNET_CONFIG} --cflags`" LIBS="`${LIBNET_CONFIG} --libs`"
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>