aboutsummaryrefslogtreecommitdiff
path: root/net/pathchar/Makefile
blob: 483507aa25a761f1b6e25a8697d847cf6d910f1e (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# ex:ts=8
# Ports collection makefile for:  pathchar
# Date created:			  7 November 1998
# Whom:				  Josh Gilliam <josh@quick.net>
#
# $FreeBSD$
#

PORTNAME=	pathchar
PORTVERSION=	a1
CATEGORIES=	net
MASTER_SITES=	ftp://ftp.ee.lbl.gov/pathchar/:lbl  \
		http://www.caida.org/tools/utilities/others/pathchar/:caida \
		http://sitka.triumf.ca/net/:sitka  \
		${MASTER_SITE_LOCAL:S/$/:local/}
MASTER_SITE_SUBDIR=	obrien/:local
DISTNAME=	pathchar-a1-freebsd-3.0
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:lbl pathcharnotes.html:caida,local \
		pathchar.8:local pathchar.mantxt:sitka,local

MAINTAINER=	nivo+kw+ports.bfa274@is-root.com
COMMENT=	LBNL Internet path characterization tool

ONLY_FOR_ARCHS=	i386
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
MAN8=		pathchar.8

.include <bsd.port.pre.mk>

.if ${PORTOBJFORMAT} == "aout"
DISTNAME=	pathchar-a0-freebsd-2.2
PORTVERSION=	a0
.endif

NO_BUILD=	yes
NO_WRKSUBDIR=	yes

pre-patch:
	@${CP} ${DISTDIR}/pathchar.8 ${WRKSRC}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/pathchar ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/pathchar.8 ${PREFIX}/man/man8
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/pathchar
	${INSTALL_MAN} ${FILESDIR}/README.pathchar \
		${DISTDIR}/pathcharnotes.html \
		${DISTDIR}/pathchar.mantxt \
		${PREFIX}/share/doc/pathchar
.endif

.include <bsd.port.post.mk>