aboutsummaryrefslogtreecommitdiffstats
path: root/net/lft/Makefile
blob: 04cc3da9b68ea4ed3b5c3648447d9664a1853bd8 (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
35
# Created by: Marco P. Rodrigues <drkangel@drkangel.org>
# $FreeBSD$

PORTNAME=   lft
PORTVERSION=    3.77
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

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>