aboutsummaryrefslogtreecommitdiffstats
path: root/net/tcptraceroute/Makefile
blob: 72d8f2ee358b3e8346e007e38737be6defe20688 (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
# Created by: jeff@cetlink.net
# $FreeBSD$

PORTNAME=   tcptraceroute
PORTVERSION=    1.4
PORTREVISION=   2
CATEGORIES= net
MASTER_SITES=   http://michael.toren.net/code/tcptraceroute/ \
        LOCAL/sunpoet

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Traceroute implementation using TCP packets

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

MAN8=   tcptraceroute.8

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

NO_STAGE=   yes
post-patch:
    @${REINPLACE_CMD} -e 's|libnet-config|${LIBNET_CONFIG}|' \
        ${WRKSRC}/${MAKEFILE}

post-install:
    @${CHMOD} u+s ${PREFIX}/sbin/tcptraceroute

.include <bsd.port.mk>