summaryrefslogtreecommitdiff
path: root/net/tcptraceroute-devel/Makefile
blob: 85a40f770c37fd48b7f87910fefe0fdf9c56014f (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
# New ports collection makefile for:   tcptraceroute
# Date created:        21 March 2002
# Whom:                jeff@cetlink.net
#
# $FreeBSD$
#

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

MAINTAINER=	sunpoet@sunpoet.net
COMMENT=	A traceroute implementation using TCP packets

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

MAN8=	tcptraceroute.8

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

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

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

.include <bsd.port.mk>