mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# 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= ports@FreeBSD.org
|
|
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>
|