summaryrefslogtreecommitdiffstats
path: root/net/lft/Makefile
blob: 18b3568e8a3dcc451232fcd1c42e882580d0b92b (plain)
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
35
36
37
# Created by: Marco P. Rodrigues <drkangel@drkangel.org>
# $FreeBSD$

PORTNAME=	lft
PORTVERSION=	3.79
PORTEPOCH=	1
CATEGORIES=	net
MASTER_SITES=	http://pwhois.org/get/

MAINTAINER=	farrokhi@FreeBSD.org
COMMENT=	Layer 4 Traceroute program

LICENSE=	VOSTROM
LICENSE_NAME=	VOSTROM
LICENSE_FILE=	${WRKSRC}/COPYING
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror auto-accept

BROKEN_FreeBSD_12=	fails to compile: lft_types.h: pcap-int.h: No such file or directory

GNU_CONFIGURE=	yes

PLIST_FILES=	sbin/lft bin/whob man/man8/lft.8.gz man/man8/whob.8.gz
PORTDOCS=	CHANGELOG README TODO

OPTIONS_DEFINE=	DOCS

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/lft ${STAGEDIR}${PREFIX}/sbin
	${INSTALL_PROGRAM} ${WRKSRC}/whob ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/lft.8 ${STAGEDIR}${MANPREFIX}/man/man8
	${INSTALL_MAN} ${WRKSRC}/whob.8 ${STAGEDIR}${MANPREFIX}/man/man8

do-install-DOCS-on:
	${INSTALL} -d ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud